Showing
5 changed files
with
16 additions
and
9 deletions
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | <p class="good-tag sale-tag">SALE</p> | 13 | <p class="good-tag sale-tag">SALE</p> |
14 | {{/ is_discount}} | 14 | {{/ is_discount}} |
15 | {{# is_yohood}} | 15 | {{# is_yohood}} |
16 | - <div class="good-tag new-tag">NEW</div> | 16 | + <p class="good-tag new-festival-tag">新品节</p> |
17 | {{/ is_yohood}} | 17 | {{/ is_yohood}} |
18 | {{# is_limited}} | 18 | {{# is_limited}} |
19 | <p class="good-tag limit-tag">限量商品</p> | 19 | <p class="good-tag limit-tag">限量商品</p> |
@@ -11,9 +11,9 @@ | @@ -11,9 +11,9 @@ | ||
11 | {{# isDiscount}} | 11 | {{# isDiscount}} |
12 | <p class="good-tag sale-tag">SALE</p> | 12 | <p class="good-tag sale-tag">SALE</p> |
13 | {{/ isDiscount}} | 13 | {{/ isDiscount}} |
14 | - {{# isYohoood}} | ||
15 | - <p class="good-tag new-tag">NEW</p> | ||
16 | - {{/ isYohoood}} | 14 | + {{# isYohood}} |
15 | + <p class="good-tag new-festival-tag">新品节</p> | ||
16 | + {{/ isYohood}} | ||
17 | {{# isLimited}} | 17 | {{# isLimited}} |
18 | <p class="good-tag limit-tag">限量商品</p> | 18 | <p class="good-tag limit-tag">限量商品</p> |
19 | {{/ isLimited}} | 19 | {{/ isLimited}} |
public/img/product/new-festival.png
0 → 100644
2.84 KB
@@ -43,9 +43,12 @@ | @@ -43,9 +43,12 @@ | ||
43 | } | 43 | } |
44 | 44 | ||
45 | .new-festival-tag { | 45 | .new-festival-tag { |
46 | - width: 90px; | ||
47 | - background-color: #000; | ||
48 | - color: #fff; | 46 | + color: #000; |
47 | + width: 100px; | ||
48 | + background-image: resolve("product/new-festival.png"); | ||
49 | + background-repeat: no-repeat; | ||
50 | + background-color: #fff; | ||
51 | + background-size: 100px 28px; | ||
49 | } | 52 | } |
50 | 53 | ||
51 | .limit-tag { | 54 | .limit-tag { |
@@ -156,8 +156,12 @@ $basicBtnC: #eb0313; | @@ -156,8 +156,12 @@ $basicBtnC: #eb0313; | ||
156 | } | 156 | } |
157 | 157 | ||
158 | .new-festival-tag { | 158 | .new-festival-tag { |
159 | - background-color: #000; | ||
160 | - color: #fff; | 159 | + color: #000; |
160 | + width: 120px; | ||
161 | + background-image: resolve("product/new-festival.png"); | ||
162 | + background-repeat: no-repeat; | ||
163 | + background-color: #fff; | ||
164 | + background-size: 120px 38px; | ||
161 | } | 165 | } |
162 | 166 | ||
163 | .yohood-tag { | 167 | .yohood-tag { |
-
Please register or login to post a comment