Authored by zzzzzzz

修改样式,去掉banner边框

@@ -17,9 +17,9 @@ @@ -17,9 +17,9 @@
17 </li> 17 </li>
18 {{/data}} 18 {{/data}}
19 </ul> 19 </ul>
20 - {{/if}}  
21 - <div class="swiper-pagination">  
22 - <div class="pagination-inner"> 20 + <div class="swiper-pagination">
  21 + <div class="pagination-inner">
  22 + </div>
23 </div> 23 </div>
24 - </div> 24 + {{/if}}
25 </div> 25 </div>
1 .banner-center { 1 .banner-center {
2 position: relative; 2 position: relative;
3 height: 200px; 3 height: 200px;
4 - border-bottom: 1px solid #e0e0e0;  
5 overflow: hidden; 4 overflow: hidden;
6 5
7 img { 6 img {
@@ -47,7 +46,6 @@ @@ -47,7 +46,6 @@
47 background: #fff; 46 background: #fff;
48 width: 100%; 47 width: 100%;
49 height: 200px; 48 height: 200px;
50 - border-top: 1px solid #e0e0e0;  
51 overflow: hidden; 49 overflow: hidden;
52 50
53 .banner-list { 51 .banner-list {
@@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
10 } 10 }
11 11
12 &-goods-list { 12 &-goods-list {
13 - height: 330px;  
14 width: 100%; 13 width: 100%;
15 overflow-x: scroll; 14 overflow-x: scroll;
16 overflow-y: hidden; 15 overflow-y: hidden;
@@ -39,28 +38,30 @@ @@ -39,28 +38,30 @@
39 38
40 .goods-info { 39 .goods-info {
41 position: relative; 40 position: relative;
42 - height: 84px;  
43 - width: 100%; 41 + height: 168px;
  42 + width: 200%;
44 background: #fff; 43 background: #fff;
45 - padding: 12px 0 10px 10px; 44 + padding: 24px 0 20px 20px;
  45 + transform: scale(0.5);
  46 + transform-origin: 0 0 0;
46 47
47 .price { 48 .price {
48 color: #444; 49 color: #444;
49 - font-size: 20px; 50 + font-size: 40px;
50 line-height: 1; 51 line-height: 1;
51 } 52 }
52 53
53 .view-num { 54 .view-num {
54 color: #b0b0b0; 55 color: #b0b0b0;
55 - font-size: 15px;  
56 - margin-top: 10px; 56 + font-size: 30px;
  57 + margin-top: 20px;
57 line-height: 1; 58 line-height: 1;
58 } 59 }
59 60
60 .view-status { 61 .view-status {
61 color: #b0b0b0; 62 color: #b0b0b0;
62 - font-size: 15px;  
63 - margin-top: 7px; 63 + font-size: 30px;
  64 + margin-top: 14px;
64 line-height: 1; 65 line-height: 1;
65 } 66 }
66 67
@@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
3 position: relative; 3 position: relative;
4 background: #fff; 4 background: #fff;
5 -webkit-overflow-scrolling: touch; 5 -webkit-overflow-scrolling: touch;
  6 +
6 7
7 &-banner { 8 &-banner {
8 height: 200px; 9 height: 200px;
@@ -11,7 +12,6 @@ @@ -11,7 +12,6 @@
11 } 12 }
12 13
13 &-goods-list { 14 &-goods-list {
14 - height: 330px;  
15 width: 100%; 15 width: 100%;
16 overflow-x: scroll; 16 overflow-x: scroll;
17 overflow-y: hidden; 17 overflow-y: hidden;
@@ -40,31 +40,33 @@ @@ -40,31 +40,33 @@
40 40
41 .goods-info { 41 .goods-info {
42 position: relative; 42 position: relative;
43 - height: 84px;  
44 - width: 100%; 43 + height: 168px;
  44 + width: 200%;
45 background: #fff; 45 background: #fff;
46 - padding: 14px 0 10px 10px; 46 + padding: 28px 0 20px 20px;
  47 + transform: scale(0.5);
  48 + transform-origin: 0 0 0;
47 49
48 .vip-price { 50 .vip-price {
49 display: none; 51 display: none;
50 color: #d0021b; 52 color: #d0021b;
51 - font-size: 20px; 53 + font-size: 40px;
52 line-height: 1; 54 line-height: 1;
53 } 55 }
54 56
55 .sale-price { 57 .sale-price {
56 color: #b0b0b0; 58 color: #b0b0b0;
57 - font-size: 15px;  
58 - line-height: 20px; 59 + font-size: 30px;
  60 + line-height: 40px;
59 text-decoration: line-through; 61 text-decoration: line-through;
60 - margin-top: 12px; 62 + margin-top: 24px;
61 } 63 }
62 64
63 .vip-icon { 65 .vip-icon {
64 display: inline-block; 66 display: inline-block;
65 - height: 20px;  
66 - width: 50px;  
67 - margin-left: 8px; 67 + height: 40px;
  68 + width: 100px;
  69 + margin-left: 16px;
68 vertical-align: middle; 70 vertical-align: middle;
69 background: resolve('channel/vip.png'); 71 background: resolve('channel/vip.png');
70 background-size: 100% 100%; 72 background-size: 100% 100%;