|
|
<div class="coupon-content">
|
|
|
<div class="swiper-wrapper">
|
|
|
{{#if shopCouponsOne}}
|
|
|
{{#each shopCoupons}}
|
|
|
<div class="swiper-slide coupon-big" data-id = "{{id}}">
|
|
|
{{#if shopCouponsOne}}
|
|
|
{{#each shopCoupons}}
|
|
|
<div class="coupon-center coupon-big" data-id = "{{id}}">
|
|
|
<div class='coupon-left'>
|
|
|
<span class="coupon-left-price">
|
|
|
<span class="coupon-sign">¥</span>
|
|
|
<span class="coupon-price">{{money}}</span>
|
|
|
</span>
|
|
|
<span class="coupon-left-name">
|
|
|
{{name}}
|
|
|
</span>
|
|
|
</div>
|
|
|
{{#if status}}
|
|
|
<div class='coupon-right receive-btn'>
|
|
|
立即领取
|
|
|
</div>
|
|
|
{{^}}
|
|
|
<div class='coupon-right receive-btn'>
|
|
|
已领取
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
</div><!--/coupon-big-->
|
|
|
{{/each}}
|
|
|
{{^}}
|
|
|
{{#each shopCoupons}}
|
|
|
<div class="coupon-center coupon-small" data-id = "{{id}}">
|
|
|
<div class='coupon-left'>
|
|
|
<span class="coupon-left-price">
|
|
|
<span class="coupon-sign">¥</span>
|
|
|
<span class="coupon-price">{{money}}</span>
|
|
|
</span>
|
|
|
<span class="coupon-left-name">
|
|
|
{{name}}
|
|
|
</span>
|
|
|
<span class="coupon-left-price">
|
|
|
<span class="coupon-sign">¥</span>
|
|
|
<span class="coupon-price">{{money}}</span>
|
|
|
</span>
|
|
|
<span class="coupon-left-name">
|
|
|
{{name}}
|
|
|
</span>
|
|
|
</div>
|
|
|
{{#if status}}
|
|
|
<div class='coupon-right receive-btn'>
|
...
|
...
|
@@ -21,31 +42,6 @@ |
|
|
已领取
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
</div><!--/coupon-big-->
|
|
|
{{/each}}
|
|
|
{{^}}
|
|
|
{{#each shopCoupons}}
|
|
|
<div class="swiper-slide coupon-small" data-id = "{{id}}">
|
|
|
<div class='coupon-left'>
|
|
|
<span class="coupon-left-price">
|
|
|
<span class="coupon-sign">¥</span>
|
|
|
<span class="coupon-price">{{money}}</span>
|
|
|
</span>
|
|
|
<span class="coupon-left-name">
|
|
|
{{name}}
|
|
|
</span>
|
|
|
</div>
|
|
|
{{#if status}}
|
|
|
<div class='coupon-right receive-btn'>
|
|
|
立即领取
|
|
|
</div>
|
|
|
{{^}}
|
|
|
<div class='coupon-right receive-btn'>
|
|
|
已领取
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
</div><!--/coupon-small-->
|
|
|
{{/each}}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
</div> |
|
|
\ No newline at end of file |
|
|
</div><!--/coupon-small-->
|
|
|
{{/each}}
|
|
|
{{/if}} |
...
|
...
|
|