Showing
3 changed files
with
17 additions
and
0 deletions
@@ -44,6 +44,7 @@ | @@ -44,6 +44,7 @@ | ||
44 | {{/isEqualOr}} | 44 | {{/isEqualOr}} |
45 | </div> | 45 | </div> |
46 | </div> | 46 | </div> |
47 | + <span class="top-tip"></span> | ||
47 | </div> | 48 | </div> |
48 | {{/each}} | 49 | {{/each}} |
49 | {{/ usableCouponsList}} | 50 | {{/ usableCouponsList}} |
@@ -69,6 +70,9 @@ | @@ -69,6 +70,9 @@ | ||
69 | <p class="time">{{coupon_validity}}</p> | 70 | <p class="time">{{coupon_validity}}</p> |
70 | </div> | 71 | </div> |
71 | </div> | 72 | </div> |
73 | + {{#isEqualOr is_overdue_soon 'Y'}} | ||
74 | + <span class="top-tip"></span> | ||
75 | + {{/isEqualOr}} | ||
72 | </div> | 76 | </div> |
73 | {{/each}} | 77 | {{/each}} |
74 | {{/ unusableCouponsList}} | 78 | {{/ unusableCouponsList}} |
@@ -42,7 +42,9 @@ | @@ -42,7 +42,9 @@ | ||
42 | <span class="tip"></span> | 42 | <span class="tip"></span> |
43 | </div> | 43 | </div> |
44 | <button class="use-now">立即使用</button> | 44 | <button class="use-now">立即使用</button> |
45 | + {{#isEqualOr is_overdue_soon 'Y'}} | ||
45 | <span class="top-tip"></span> | 46 | <span class="top-tip"></span> |
47 | + {{/isEqualOr}} | ||
46 | </div> | 48 | </div> |
47 | <ul class="coupon-intro hide"> | 49 | <ul class="coupon-intro hide"> |
48 | {{#notes}} | 50 | {{#notes}} |
@@ -101,6 +101,7 @@ body { | @@ -101,6 +101,7 @@ body { | ||
101 | width: 710px; | 101 | width: 710px; |
102 | height: 200px; | 102 | height: 200px; |
103 | margin-bottom: 20px; | 103 | margin-bottom: 20px; |
104 | + position: relative; | ||
104 | 105 | ||
105 | .coupon-left { | 106 | .coupon-left { |
106 | width: 200px; | 107 | width: 200px; |
@@ -182,6 +183,16 @@ body { | @@ -182,6 +183,16 @@ body { | ||
182 | color: #b0b0b0; | 183 | color: #b0b0b0; |
183 | } | 184 | } |
184 | } | 185 | } |
186 | + | ||
187 | + .top-tip { | ||
188 | + width: 84px; | ||
189 | + height: 84px; | ||
190 | + background-image: resolve("home/coupon/top-tip@2x.png"); | ||
191 | + background-size: 100% 100%; | ||
192 | + position: absolute; | ||
193 | + top: 0; | ||
194 | + right: 0; | ||
195 | + } | ||
185 | } | 196 | } |
186 | 197 | ||
187 | .no-support-selected { | 198 | .no-support-selected { |
-
Please register or login to post a comment