Blame view

apps/home/views/action/coupons.hbs 598 Bytes
zzzzzzz authored
1 2 3 4 5
<div class="yoho-page my-coupon-page">
	<div class="employ">
		<span class="active">未使用</span>
		<span>已使用</span>
	</div>
zzzzzzz authored
6 7 8 9 10 11 12
	<div id="employ" class="coupon-list">
		{{#if list}}
		{{#list}}
		<div class="employ-main">
			<span>{{money}}</span>
			<p class="coupon-name">{{coupon_name}}</p>
			<p>有效期:{{couponValidity}}</p>
沈志敏 authored
13
			{{#if ../used}}
zzzzzzz authored
14 15 16 17 18 19 20 21 22 23 24 25 26 27
				<i></i>
			{{/if}}
		</div>
		{{/list}}

		{{else}}
		<div class="null">
			<i></i>
			<p>您还没有优惠券!</p>
			<a href="/product/new">随便逛逛</a>
		</div>

		{{/if}}
	</div>
沈志敏 authored
28
	<div id="employ2" class="coupon-list">
zzzzzzz authored
29
</div>