提交 bba65984 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

fix: list、cell组件改名

上级 601ceda6
......@@ -4,9 +4,9 @@
<image class="banner-img" :src="banner.cover"></image>
<text class="banner-title">{{ banner.title }}</text>
</view>
<list class="uni-list" refresher-enabled=true @refresherrefresh="onRefresherrefresh"
<list-view class="uni-list" refresher-enabled=true @refresherrefresh="onRefresherrefresh"
:refresher-triggered="refresherTriggered">
<cell v-for="(value, index) in listData" :key="index">
<list-item v-for="(value, index) in listData" :key="index">
<view class="uni-list-cell" hover-class="uni-list-cell-hover" @click="goDetail(value)">
<view class="uni-media-list">
<image class="uni-media-list-logo" :src="value.cover"></image>
......@@ -19,8 +19,8 @@
</view>
</view>
</view>
</cell>
</list>
</list-item>
</list-view>
</view>
</template>
......
<template>
<view style="width: 100%;height: 100%;">
<list class="uni-list" refresher-enabled=true @refresherrefresh="onRefresherrefresh"
<list-view class="uni-list" refresher-enabled=true @refresherrefresh="onRefresherrefresh"
:refresher-triggered="refresherTriggered">
<cell v-for="(value, index) in listData" :key="index">
<list-item v-for="(value, index) in listData" :key="index">
<view class="uni-list-cell" hover-class="uni-list-cell-hover" @click="goDetail(value)">
<view class="uni-media-list">
<image class="uni-media-list-logo" :src="value.img"></image>
......@@ -14,8 +14,8 @@
</view>
</view>
</view>
</cell>
</list>
</list-item>
</list-view>
</view>
</template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册