guessLike.wxml 1.2 KB

123456789101112131415161718192021222324
  1. <view class="guess-item">
  2. <view class="guess">猜你喜欢</view>
  3. <view class="guess-scroll flex_item" scrollX="{{true}}">
  4. <view bindtap="__e" class="scroll-list" data-event-opts="{{[ [ 'tap',[ [ 'navToDetailPage',['$0'],[ [ ['goodList','',__i0__] ] ] ] ] ] ]}}" wx:for="{{goodList}}" wx:for-index="__i0__" wx:for-item="ls">
  5. <view class="scoll-img">
  6. <image src="{{ls.image}}"></image>
  7. </view>
  8. <view class="scoll-name ellipsis">{{ls.store_name}}</view>
  9. <view class="price-list flex">
  10. <view class="tpl">
  11. <view class="red-price">¥<text>{{ls.price}}</text>
  12. </view>
  13. <view class="grey-price">{{'¥'+ls.ot_price}}</view>
  14. </view>
  15. <view catchtap="__e" class="img position-relative" data-event-opts="{{[ [ 'tap',[ [ 'Addcar',['$0'],[ [ ['goodList','',__i0__] ] ] ] ] ] ]}}">
  16. <image src="/static/img/img13.png"></image>
  17. <view class="corner" wx:if="{{ls.cart_num>0}}">
  18. <text>{{ls.cart_num}}</text>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>