Authored by zhangxiaoru

店铺样式

@@ -32,22 +32,21 @@ @@ -32,22 +32,21 @@
32 } 32 }
33 33
34 .entry { 34 .entry {
35 - display: flex;  
36 - align-items: center;  
37 - justify-content: center;  
38 height: 45px; 35 height: 45px;
  36 + width: 170px;
39 font-size: 24px; 37 font-size: 24px;
40 - line-height: 60px; 38 + line-height: 45px;
41 color: #fff; 39 color: #fff;
42 background-color: #d0021b; 40 background-color: #d0021b;
43 - width: 170px;  
44 margin: 35px 53px; 41 margin: 35px 53px;
  42 + display: inline-block;
45 43
46 span { 44 span {
47 background-image: resolve("product/shop-entry.png"); 45 background-image: resolve("product/shop-entry.png");
  46 + background-repeat: no-repeat;
48 display: inline-block; 47 display: inline-block;
49 width: 14px; 48 width: 14px;
50 - height: 20px; 49 + height: 18px;
51 background-size: 100%; 50 background-size: 100%;
52 margin-left: 10px; 51 margin-left: 10px;
53 } 52 }
@@ -431,22 +431,21 @@ @@ -431,22 +431,21 @@
431 } 431 }
432 432
433 .entry { 433 .entry {
434 - display: flex;  
435 - align-items: center;  
436 - justify-content: center;  
437 height: 45px; 434 height: 45px;
  435 + width: 170px;
438 font-size: 24px; 436 font-size: 24px;
439 - line-height: 60px; 437 + line-height: 45px;
440 color: #fff; 438 color: #fff;
441 background-color: #d0021b; 439 background-color: #d0021b;
442 - width: 170px;  
443 margin: 35px 53px; 440 margin: 35px 53px;
  441 + display: inline-block;
444 442
445 span { 443 span {
446 background-image: resolve("product/shop-entry.png"); 444 background-image: resolve("product/shop-entry.png");
  445 + background-repeat: no-repeat;
447 display: inline-block; 446 display: inline-block;
448 width: 14px; 447 width: 14px;
449 - height: 20px; 448 + height: 18px;
450 background-size: 100%; 449 background-size: 100%;
451 margin-left: 10px; 450 margin-left: 10px;
452 } 451 }