Commit d4f92406f718d9e713e9a1b36bc6be4557520c03

Authored by taiyuan
1 parent 5808c266

我的礼包暂无数据

packageA/pages/myGift/myGift.json
... ... @@ -4,6 +4,7 @@
4 4 "usingComponents": {
5 5 "warn": "/components/long_warn/long_warn",
6 6 "nav_b": "/components/nav_b/nav_b",
7   - "my_confirm": "/components/my_confirm/my_confirm"
  7 + "my_confirm": "/components/my_confirm/my_confirm",
  8 + "nodata": "/components/nodata/nodata"
8 9 }
9 10 }
10 11 \ No newline at end of file
... ...
packageA/pages/myGift/myGift.wxml
... ... @@ -48,6 +48,7 @@
48 48 </view>
49 49 </block>
50 50  
  51 + <nodata nodataContainer="t-c" wx:if="{{list.pageData.length == 0}}"></nodata>
51 52 <view class="noMore" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">—— 已经到底了 ——</view>
52 53 </view>
53 54 </view>
... ...