favorites.wxml 1.0 KB

1234567891011121314151617181920
  1. <view class="container">
  2. <empty bind:__l="__l" vueId="5fe94590-1" wx:if="{{favoriteList.length<1}}"></empty>
  3. <view bindtap="__e" class="favorites flex" data-event-opts="{{[ [ 'tap',[ [ 'toproduct',['$0'],[ [ ['favoriteList','',__i0__,'pid'] ] ] ] ] ] ]}}" wx:for="{{favoriteList}}" wx:for-index="__i0__" wx:for-item="ls">
  4. <view class="favorites_img">
  5. <image src="{{ls.image}}"></image>
  6. </view>
  7. <view class="favorites_list">
  8. <view class="favorites_name">{{ls.store_name}}</view>
  9. <view class="favorites_peice flex">
  10. <view>
  11. <text>{{'¥'+ls.price}}</text>
  12. </view>
  13. <view catchtap="__e" class="icon_del" data-event-opts="{{[ [ 'tap',[ [ 'del',['$0'],[ [ ['favoriteList','',__i0__,'pid'] ] ] ] ] ] ]}}" hidden="{{!delshow}}">
  14. <text class="iconfont icondelete"></text>
  15. <text>取消</text>
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>