collect.wxml 647 B

123456789101112131415161718
  1. <view class="container">
  2. <view class="no-collect" wx:if="{{collectList.length <= 0}}">
  3. <view class="c">
  4. <text>还没有收藏</text>
  5. </view>
  6. </view>
  7. <view class="collect-list" wx:else>
  8. <view class="item" bindtap="openGoods" bindtouchstart="touchStart" bindtouchend="touchEnd" wx:for="{{collectList}}" wx:key="id" data-index="{{index}}">
  9. <image class="img" src="{{item.picUrl}}"></image>
  10. <view class="info">
  11. <view class="name">{{item.name}}</view>
  12. <view class="subtitle">{{item.brief}}</view>
  13. <view class="price">¥{{item.retailPrice}}</view>
  14. </view>
  15. </view>
  16. </view>
  17. </view>