footprint.wxml 1.0 KB

12345678910111213141516171819202122
  1. <view class="container">
  2. <view class="no-footprint" wx:if="{{footprintList.length <= 0}}">
  3. <view class="c">
  4. <text>没有浏览足迹</text>
  5. </view>
  6. </view>
  7. <view class="footprint" wx:if="{{footprintList.length > 0}}">
  8. <view class="day-item" wx:for="{{footprintList}}" wx:key="*this" wx:for-index="index">
  9. <view class="day-hd" wx:if="{{item.length > 0}}">{{item[0].addDate}}</view>
  10. <view class="day-list" wx:if="{{item.length > 0}}">
  11. <view class="item" data-index="{{index}}" data-iindex="{{iindex}}" bindtouchstart="touchStart" bindtouchend="touchEnd" bindtap="deleteItem" wx:for="{{item}}" wx:for-index="iindex" wx:for-item="iitem" wx:key="id">
  12. <image class="img" src="{{iitem.picUrl}}"></image>
  13. <view class="info">
  14. <view class="name">{{iitem.name}}</view>
  15. <view class="subtitle">{{iitem.brief}}</view>
  16. <view class="price">¥{{iitem.retailPrice}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </view>