Authored by uedxwg

'文字超长修改'

@@ -39,17 +39,18 @@ @@ -39,17 +39,18 @@
39 39
40 .thumb { 40 .thumb {
41 float: left; 41 float: left;
42 - width: 80rem / $pxConvertRem; 42 + width: 100rem / $pxConvertRem;
43 } 43 }
44 44
45 .text-info { 45 .text-info {
46 - position: absolute;  
47 height: auto; 46 height: auto;
48 - left: pxToRem(95px);  
49 - top:50%;  
50 - transform: translateY(-50%);  
51 .name { 47 .name {
52 font-size: 28rem / $pxConvertRem; 48 font-size: 28rem / $pxConvertRem;
  49 + height: 74rem / $pxConvertRem;
  50 + overflow: hidden;
  51 + display: -webkit-box;
  52 + -webkit-line-clamp: 2;
  53 + -webkit-box-orient: vertical;
53 } 54 }
54 55
55 .price{ 56 .price{
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 {{/if}} 11 {{/if}}
12 {{#if isEmptyCart}} 12 {{#if isEmptyCart}}
13 <div class="cart-zero"> 13 <div class="cart-zero">
14 - <i class="iconfont">&#xe62c</i> 14 + <i class="iconfont">&#xe640;</i>
15 <p>您的购物车暂无商品</p> 15 <p>您的购物车暂无商品</p>
16 <a href="/product/new">随便逛逛</a> 16 <a href="/product/new">随便逛逛</a>
17 </div> 17 </div>
@@ -16,8 +16,8 @@ @@ -16,8 +16,8 @@
16 <a href="/cart/index/gift?cartType={{cartType}}"> 16 <a href="/cart/index/gift?cartType={{cartType}}">
17 <span class="iconfont">&#xe620;</span> 17 <span class="iconfont">&#xe620;</span>
18 赠品 18 赠品
19 - <span class="count">{{count}}</span>  
20 <span class="iconfont icon-right-arrow">&#xe614;</span> 19 <span class="iconfont icon-right-arrow">&#xe614;</span>
  20 + <span class="count">{{count}}</span>
21 </a> 21 </a>
22 </li> 22 </li>
23 {{/ freebie}} 23 {{/ freebie}}
@@ -26,8 +26,8 @@ @@ -26,8 +26,8 @@
26 <a href="/cart/index/advanceBuy?cartType={{cartType}}"> 26 <a href="/cart/index/advanceBuy?cartType={{cartType}}">
27 <span class="iconfont">&#xe61b;</span> 27 <span class="iconfont">&#xe61b;</span>
28 加价购 28 加价购
29 - <span class="count">{{advanceBuyCount}}</span>  
30 <span class="iconfont icon-right-arrow">&#xe614;</span> 29 <span class="iconfont icon-right-arrow">&#xe614;</span>
  30 + <span class="count">{{advanceBuyCount}}</span>
31 </a> 31 </a>
32 </li> 32 </li>
33 {{/if}} 33 {{/if}}