coupon_news.wxml 1.52 KB
<!--pages/taocan/coupon_news.wxml 用户端--我的--卡券-->
<wxs src="../../utils/util.wxs" module="util" />
<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" wx:if="{{item.recharge_name}}">{{item.recharge_name}}</view>
				</view>
				<view class="font24r font-bold text1" wx:if="{{item.sellername}}">{{item.sellername}}</view>
				<view class="font24r font-bold text1" wx:if="{{item.order_no}}">{{item.order_no}}</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')}}-{{util.unixtoTime(item.etime,'YYYY-MM-DD')}}</view>
		</view>
	</block>
</scroll-view>
<view class="card-used flex-cc bg-white gray-font font32r">
	<view class="wananchi">
		关注<text>周到安排</text>公众号,及时获取更多优惠信息
	</view>
	<view class="more" style="margin-left: 20rpx;"></view>
</view>
<menu></menu>
<service></service>