coupon.wxml
1.09 KB
<wxs src="../../utils/util.wxs" module="util" />
<view class="card flex-ll bg-white {{mark}}" bindtap="todetail" data-id="{{item.aid}}">
<view class="flex-vl {{mark=='canuse' ? 'orange-font' : 'gray-font'}} card-main {{mark}}" style="justify-content:space-between;">
<view class="seller-info flex-ll">
<image class="seller-image" src="{{item.seller_image}}"></image>
<view class="smooth font-siny font24r">{{item.sellername}}</view>
</view>
<view class="font34r font-bold">{{item.aname}}</view>
<view class="{{mark=='canuse' ? 'orange-font' : 'gray-font'}} font24r smooth">有效时间:{{util.unixtoTime(item.stime,'YYYY.MM.DD HH:II')}}-{{util.unixtoTime(item.etime,'YYYY.MM.DD HH:II')}}</view>
</view>
<view class="flex-cc card-info font30r font-bold smooth" style="color:{{mark=='canuse' ? '#F05522' : '#999999'}};">{{mark=='used' ? (item.status==1 ? '已使用' : '已过期') : '去使用'}}</view>
<view class="circle-pos flex-vl" style="justify-content:space-between;">
<view class="circle circle-bottom bg-white"></view>
<view class="circle circle-top bg-white"></view>
</view>
</view>