提交 083d7f5f 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

long-list-page 示例 list-item 添加 type 属性启用复用

(cherry picked from commit d332f6c9)
上级 2458a75e
<template>
<list-view ref="listView" :id=id class="list" :rebound="false" :scroll-y="true" :custom-nested-scroll="true"
@scrolltolower="loadData(null)" associative-container="nested-scroll-view">
<list-item class="list-item" v-for="(item, _) in dataList" :key="item.plugin_id">
<list-item class="list-item" v-for="(item, _) in dataList" :key="item.plugin_id" type="10">
<view class="list-item-icon">
<image class="list-item-icon-image" :src="item.plugin_img_link"></image>
</view>
......@@ -22,7 +22,7 @@
<text class="author">{{item.author_name}}</text>
</view>
</view>
</list-item>
</list-item type="20">
<list-item class="loading">
<uni-loading :loading="loading" color="#999" :text="loadingText"></uni-loading>
</list-item>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册