| 123456789101112131415161718192021222324252627282930313233 |
- <view class="footprint-container">
- <van-empty wx:if="{{ !footprintList.length }}" image="/static/images/empty_goods.png" description="您最近还没有足迹哦" />
- <view wx:else class="content">
- <view class="title jhx_bg0 acea-row row-middle row-right">
- <view wx:if="{{ !isEdit }}" bindtap="toggleEdit">编辑</view>
- <block wx:else>
- <view class="del-btn" bindtap="deleteFootprint">删除</view>
- <view bindtap="toggleEdit">取消</view>
- </block>
- </view>
- <scroll-view class="footprint-scroll" scroll-y refresher-enabled refresher-triggered="{{ loading }}" bindrefresherrefresh="pullDownRefresh">
- <van-checkbox-group wx:for="{{ footprintList }}" wx:for-item="footprint" wx:key="index" value="{{ selectList }}" bind:change="selectFootprint">
- <view class="date">{{ footprint.date }}</view>
- <van-checkbox custom-class="item jhx_bg0 {{ !isEdit ? 'no-radio' : '' }}" wx:for="{{ footprint.list }}" wx:key="{{ item.footPrintId }}" name="{{ item.footPrintId }}" icon-size="16" checked-color="#D32D2F" data-id="{{ item.id }}" bindtap="toDetail">
- <view class="acea-row row-between-wrapper">
- <image class="pic" src="{{ item.picUrl[0] }}" />
- <view class="right acea-row row-column row-between">
- <view class="name line1 line2">{{ item.name }}</view>
- <view class="acea-row row-between row-bottom">
- <view class="price"><text>¥</text>{{ item.retailPrice }}</view>
- <van-icon name="./meizhuang.png" size="24" />
- </view>
- </view>
- </view>
- </van-checkbox>
- </van-checkbox-group>
- <view class="no-more">- 到底啦,仅显示近7天的记录哦 —</view>
- </scroll-view>
- </view>
- </view>
|