Commit 44ee24969028f14e9173fe69c812ee4b23cec26c

Authored by 王强
1 parent 23a4f581

添加“热销商品”描述信息

src/components/goodsItem_2/goodsItem_2.less
@@ -67,7 +67,8 @@ @@ -67,7 +67,8 @@
67 margin-top: 2px; 67 margin-top: 2px;
68 text-align: center; 68 text-align: center;
69 color: #999999; 69 color: #999999;
70 - font-size: 24px; 70 + font-size: 24px;
  71 + height: 34px;
71 white-space: nowrap; 72 white-space: nowrap;
72 text-overflow: ellipsis; 73 text-overflow: ellipsis;
73 overflow: hidden; 74 overflow: hidden;
src/components/goodsItem_2/goodsItem_2.vue
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 <div class="price">{{item.price}}</div> 13 <div class="price">{{item.price}}</div>
14 </div> 14 </div>
15 <div class="ads" v-if="pid == '2'"> 15 <div class="ads" v-if="pid == '2'">
16 - 爆卖1000件 16 + {{item.ads || ""}}
17 </div> 17 </div>
18 </div> 18 </div>
19 </div> 19 </div>