Authored by 郭成尧

is_overdue_soon

... ... @@ -44,6 +44,7 @@
{{/isEqualOr}}
</div>
</div>
<span class="top-tip"></span>
</div>
{{/each}}
{{/ usableCouponsList}}
... ... @@ -69,6 +70,9 @@
<p class="time">{{coupon_validity}}</p>
</div>
</div>
{{#isEqualOr is_overdue_soon 'Y'}}
<span class="top-tip"></span>
{{/isEqualOr}}
</div>
{{/each}}
{{/ unusableCouponsList}}
... ...
... ... @@ -42,7 +42,9 @@
<span class="tip"></span>
</div>
<button class="use-now">立即使用</button>
{{#isEqualOr is_overdue_soon 'Y'}}
<span class="top-tip"></span>
{{/isEqualOr}}
</div>
<ul class="coupon-intro hide">
{{#notes}}
... ...
... ... @@ -101,6 +101,7 @@ body {
width: 710px;
height: 200px;
margin-bottom: 20px;
position: relative;
.coupon-left {
width: 200px;
... ... @@ -182,6 +183,16 @@ body {
color: #b0b0b0;
}
}
.top-tip {
width: 84px;
height: 84px;
background-image: resolve("home/coupon/top-tip@2x.png");
background-size: 100% 100%;
position: absolute;
top: 0;
right: 0;
}
}
.no-support-selected {
... ...