fixed bug in goods detail page
Showing
1 changed file
with
9 additions
and
7 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{ | 255 | + &:nth-child(3) { |
256 | + text-align: right; | ||
257 | + .vip-img{ | ||
256 | background: image-url('product/silver.png') no-repeat; | 258 | background: image-url('product/silver.png') no-repeat; |
257 | } | 259 | } |
258 | - &:nth-child(2) .vip-img{ | 260 | + } |
261 | + &:nth-child(2) { | ||
262 | + .vip-img{ | ||
259 | background: image-url('product/golden.png') no-repeat; | 263 | background: image-url('product/golden.png') no-repeat; |
260 | } | 264 | } |
261 | - &:nth-child(1) .vip-img{ | ||
262 | - background: image-url('product/platinum.png') no-repeat; | ||
263 | } | 265 | } |
264 | - &:first-child { | 266 | + &:nth-child(1) { |
265 | text-align: left; | 267 | text-align: left; |
268 | + .vip-img{ | ||
269 | + background: image-url('product/platinum.png') no-repeat; | ||
266 | } | 270 | } |
267 | - &:last-child { | ||
268 | - text-align: right; | ||
269 | } | 271 | } |
270 | } | 272 | } |
271 | } | 273 | } |
-
Please register or login to post a comment