coupon_news.wxml 1.33 KB
<!--pages/taocan/coupon_news.wxml 用户端--我的--卡券-->
<nav>优惠券</nav>
<scroll-view class="list" style="height:{{contentHeight}}px;padding-bottom: 140rpx;" bindscrolltolower="getnext" scroll-y>
	<block wx:for="{{list}}">
		<view class="card 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">
					<view class="smooth font-siny font32r">{{item.sellername}}</view>
				</view>
				<view class="font24r font-bold text1">{{item.aname}}</view>
				<view class="font24r font-bold text1">NO.01774420230223150306</view>
			</view>
			<button class="flex-cc card-info font30r font-bold smooth" style="color:{{mark=='canuse' ? '#F05522' : '#999999'}};">{{mark=='used' ? (item.status==1 ? '已使用' : '已过期') : '去使用'}}</button>
			<view class="{{mark=='canuse' ? 'orange-font' : 'gray-font'}} font24r texts smooth">有效时间:{{util.unixtoTime(item.stime,'YYYY.MM.DD HH:II')}}-{{util.unixtoTime(item.etime,'YYYY.MM.DD HH:II')}}</view>
		</view>
	</block>
</scroll-view>
<view class="card-used flex-cc bg-white gray-font font32r" bindtap="toused">查看卡券历史记录<view class="more" style="margin-left: 20rpx;"></view>
</view>
<menu></menu>
<service></service>