fixed bug in goods detail page
Showing
1 changed file
with
13 additions
and
11 deletions
@@ -252,20 +252,22 @@ $basicBtnC:#eb0313; | @@ -252,20 +252,22 @@ $basicBtnC:#eb0313; | ||
252 | width: pxToRem(53px); | 252 | width: pxToRem(53px); |
253 | height: pxToRem(32px); | 253 | height: pxToRem(32px); |
254 | } | 254 | } |
255 | - &:nth-child(3) .vip-img{ | ||
256 | - background: image-url('product/silver.png') no-repeat; | ||
257 | - } | ||
258 | - &:nth-child(2) .vip-img{ | ||
259 | - background: image-url('product/golden.png') no-repeat; | 255 | + &:nth-child(3) { |
256 | + text-align: right; | ||
257 | + .vip-img{ | ||
258 | + background: image-url('product/silver.png') no-repeat; | ||
259 | + } | ||
260 | } | 260 | } |
261 | - &:nth-child(1) .vip-img{ | ||
262 | - background: image-url('product/platinum.png') no-repeat; | 261 | + &:nth-child(2) { |
262 | + .vip-img{ | ||
263 | + background: image-url('product/golden.png') no-repeat; | ||
264 | + } | ||
263 | } | 265 | } |
264 | - &:first-child { | 266 | + &:nth-child(1) { |
265 | text-align: left; | 267 | text-align: left; |
266 | - } | ||
267 | - &:last-child { | ||
268 | - text-align: right; | 268 | + .vip-img{ |
269 | + background: image-url('product/platinum.png') no-repeat; | ||
270 | + } | ||
269 | } | 271 | } |
270 | } | 272 | } |
271 | } | 273 | } |
-
Please register or login to post a comment