| | |
| | | <image src="/pages/subComponents/static/emptyCart.png" mode="aspectFit"></image> |
| | | <view class="empty-tips"> |
| | | 空空如也 |
| | | <navigator class="navigator" url="/pages/tabbar/home/index" open-type="switchTab">随便逛逛></navigator> |
| | | <navigator class="navigator" url="/pages/commodity-square/commoditySquare" open-type="navigate">随便逛逛></navigator> |
| | | </view> |
| | | </view> |
| | | <!-- 店铺商品信息 --> |
| | |
| | | */ |
| | | onShow() { |
| | | this.deleteShow ? (this.deleteShow = false) : true; |
| | | if (this.$refs.swiperAction) { |
| | | this.$refs.swiperAction.forEach((item, index) => { |
| | | item.show = false; |
| | | }); |
| | | this.getCardData(); |
| | | // if (this.$refs.swiperAction) { |
| | | // this.$refs.swiperAction.forEach((item, index) => { |
| | | // item.show = false; |
| | | // }); |
| | | // this.getCardData(); |
| | | // } else { |
| | | // this.getCardData(); |
| | | // } |
| | | |
| | | this.getCardData(); |
| | | } else { |
| | | this.getCardData(); |
| | | } |
| | | }, |
| | | methods: { |
| | | /** |