Commit d4f92406f718d9e713e9a1b36bc6be4557520c03
1 parent
5808c266
我的礼包暂无数据
Showing
2 changed files
with
3 additions
and
1 deletions
packageA/pages/myGift/myGift.json
@@ -4,6 +4,7 @@ | @@ -4,6 +4,7 @@ | ||
4 | "usingComponents": { | 4 | "usingComponents": { |
5 | "warn": "/components/long_warn/long_warn", | 5 | "warn": "/components/long_warn/long_warn", |
6 | "nav_b": "/components/nav_b/nav_b", | 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 | \ No newline at end of file | 11 | \ No newline at end of file |
packageA/pages/myGift/myGift.wxml
@@ -48,6 +48,7 @@ | @@ -48,6 +48,7 @@ | ||
48 | </view> | 48 | </view> |
49 | </block> | 49 | </block> |
50 | 50 | ||
51 | + <nodata nodataContainer="t-c" wx:if="{{list.pageData.length == 0}}"></nodata> | ||
51 | <view class="noMore" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">—— 已经到底了 ——</view> | 52 | <view class="noMore" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">—— 已经到底了 ——</view> |
52 | </view> | 53 | </view> |
53 | </view> | 54 | </view> |