index.wxml 1.2 KB

123456789101112131415161718192021
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class='collectionGoods' wx:if="{{collectProductList.length}}">
  3. <navigator url='/pages/goods_details/index?id={{item.pid}}' hover-class='none' class='item acea-row row-between-wrapper' wx:for="{{collectProductList}}">
  4. <view class='pictrue'><image src='{{item.image}}'></image></view>
  5. <view class='text acea-row row-column-between'>
  6. <view class='name line1'>{{item.store_name}}</view>
  7. <view class='acea-row row-between-wrapper'>
  8. <view class='money font-color'>¥{{item.price}}</view>
  9. <view class='delete' data-id='{{item.pid}}' data-index='{{index}}' catchtap ='delCollection'>删除</view>
  10. </view>
  11. </view>
  12. </navigator>
  13. <view class='loadingicon acea-row row-center-wrapper'>
  14. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  15. </view>
  16. </view>
  17. <view class='noCommodity' wx:elif="{{!collectProductList.length && page > 1}}">
  18. <view class='pictrue'><image src='/images/noCollection.png'></image></view>
  19. <recommend host_product="{{host_product}}"></recommend>
  20. </view>
  21. <authorize bind:onLoadFun='onLoadFun'></authorize>