my-wallet.wxml
1.4 KB
<!--pages/my/my-wallet/my-wallet.wxml-->
<view class="list-box">
<view class="bg">
<!-- // (0全部,2待拼成,3人数不足未拼成,4已拼成,5已取消,6已完成,7已评价,8已拼成(活动未结束),9删除-->
<view class="no-data" wx:if="{{list.length===0}}">钱包是空的~</view>
<view class="list-item {{item.type === 1?'change-bg':''}} {{item.status === 6?'change-bg-end':''}}"
wx:for="{{list}}" wx:key="index" data-id="{{item.id}}" bindtap="goDetail">
<image src="../../../images/end-flag@2x.png" wx:if="{{item.status === 6}}" class="flag-img"></image>
<view class="detail {{item.status === 6?'change-color':''}}">
<view class="area">
<text class="addr">{{item.addr}}</text>
<text>{{item.userName}}</text>
</view>
<view class="time">
<text>时间:{{item.time}}</text>
</view>
<view class="address">
<text class="addr">地址:{{item.address}}</text>
<text>{{item.number}}人</text>
</view>
</view>
<view class="code">
<image src="../../../images/wallet-icon.png"></image>
</view>
<view class="name">{{item.type === 1?'活动票':'饭票'}}</view>
</view>
</view>
</view>