Commit 792332be8f416a78cec63bdb5538c8a37c3711b1
1 parent
3a61c5b4
优化分页控件
Showing
2 changed files
with
5 additions
and
6 deletions
pages/goods/categoryList/categoryList.js
pages/goods/categoryList/categoryList.wxml
... | ... | @@ -461,13 +461,12 @@ |
461 | 461 | </view> |
462 | 462 | <view class="no-data" wx:if="{{msgStatus == true}}"> |
463 | 463 | <image class="cart-image" src="{{iurl}}/miniapp/images/cart-null.png"></image> |
464 | - <view class="no-data-title">该类别暂无推荐商品 {{countDownNum}} 秒后自动跳到下一个类别</view> | |
464 | + | |
465 | + <view wx:if="{{msgStatus == true && lastMsg == false}}" class="no-data-title">该类别暂无推荐商品 {{countDownNum}} 秒后自动跳到下一个类别</view> | |
466 | + <view wx:elif="{{lastMsg == true && msgStatus == true}}" class="no-data-title">该类别暂无推荐商品</view> | |
465 | 467 | <!-- <navigator class="lookat" openType="switchTab" url="/pages/index/index/index"> 去逛逛 </navigator> --> |
466 | 468 | </view> |
467 | - <view class="no-data" wx:if="{{lastMsg == true}}"> | |
468 | - <image class="cart-image" src="{{iurl}}/miniapp/images/cart-null.png"></image> | |
469 | - <view class="no-data-title">该类别暂无推荐商品</view> | |
470 | - </view> | |
469 | + | |
471 | 470 | </scroll-view> |
472 | 471 | <!-- /goodslist --> |
473 | 472 | </view> | ... | ... |