|
@@ -46,19 +46,17 @@
|
|
|
class="goods-list"
|
|
|
hidden="{{active === '1'}}">
|
|
|
<goods-item-normal
|
|
|
- wx:for="{{listData}}"
|
|
|
- wx:key="id"
|
|
|
- item="{{item}}"/>
|
|
|
-</view>
|
|
|
+ listData="{{listData}}"/>
|
|
|
<!-- 无数据 -->
|
|
|
-<view class="list-bitmap" wx:if="{{finished && listData.length < 1 && active === '2'}}">
|
|
|
- <image src="../../image/common/bitmap.png"></image>
|
|
|
- <text>暂无数据</text>
|
|
|
-</view>
|
|
|
-<view class="pullup-wrapper" wx:if="{{!isRefresh && active === '2'}}">
|
|
|
- <van-loading
|
|
|
- wx:if="{{!finished}}"
|
|
|
- size="24px"
|
|
|
- type="spinner">加载中...
|
|
|
- </van-loading>
|
|
|
+ <view class="list-bitmap" wx:if="{{finished && listData.length < 1 && active === '2'}}">
|
|
|
+ <image src="../../image/common/bitmap.png"></image>
|
|
|
+ <text>暂无数据</text>
|
|
|
+ </view>
|
|
|
+ <view class="pullup-wrapper" wx:if="{{!isRefresh && active === '2'}}">
|
|
|
+ <van-loading
|
|
|
+ wx:if="{{!finished}}"
|
|
|
+ size="24px"
|
|
|
+ type="spinner">加载中...
|
|
|
+ </van-loading>
|
|
|
+ </view>
|
|
|
</view>
|