Commit eb312836e0c7284429af728d005e3cce56119331

Authored by taiyuan
1 parent dce80cdc

商品列表、首页样式修改

components/goods_list/goods_list.wxss
@@ -87,7 +87,8 @@ @@ -87,7 +87,8 @@
87 .goods_name { 87 .goods_name {
88 height: 62rpx; 88 height: 62rpx;
89 /* margin-top: 6rpx; */ 89 /* margin-top: 6rpx; */
90 - line-height: 30rpx; 90 + line-height: 1.2;
  91 + margin-bottom: 10rpx;
91 } 92 }
92 93
93 .hang { 94 .hang {
pages/index/index/index.wxml
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <view class="search-img"> 33 <view class="search-img">
34 <image class="wh100" src="{{url}}/miniapp/images/search.png"></image> 34 <image class="wh100" src="{{url}}/miniapp/images/search.png"></image>
35 </view> 35 </view>
36 - <input bindfocus="jumpSearch" class="search-cont" placeholder="搜索商品" type="text"/> 36 + <input bindtap="jumpSearch" class="search-cont" placeholder="搜索商品" type="text" disabled/>
37 </view> 37 </view>
38 <view class="classify-frame t-c" bindtap="getScancode"> 38 <view class="classify-frame t-c" bindtap="getScancode">
39 <image class="classify-img" src="{{url}}/miniapp/images/scanning.png"></image> 39 <image class="classify-img" src="{{url}}/miniapp/images/scanning.png"></image>
@@ -146,7 +146,7 @@ @@ -146,7 +146,7 @@
146 146
147 <!--秒杀--> 147 <!--秒杀-->
148 <view class="seckill" wx:if="{{saleGoods!=null && pindGoods.length!=0 }}"> 148 <view class="seckill" wx:if="{{saleGoods!=null && pindGoods.length!=0 }}">
149 - <navigator url="/pages/activity/seckill_list/seckill_list"> 149 + <navigator url="/pages/activity/seckill_list/seckill_list" hover-class="none">
150 <view class="seckill-time"> 150 <view class="seckill-time">
151 <view class="classname flex ai_c"> 151 <view class="classname flex ai_c">
152 <image class="clock-img" src="{{url}}/miniapp/images/clock.png"></image> 152 <image class="clock-img" src="{{url}}/miniapp/images/clock.png"></image>
@@ -219,7 +219,7 @@ @@ -219,7 +219,7 @@
219 </view> 219 </view>
220 220
221 <view class="kill-cont"> 221 <view class="kill-cont">
222 - <navigator class="goods-name ellipsis-2" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}&title={{aitem.goods_name}}"> 222 + <navigator class="goods-name ellipsis-2" url="/pages/goods/goodsInfo/goodsInfo?goods_id={{item.goods_id}}&title={{aitem.goods_name}}" hover-class="none">
223 {{aitem.title}} 223 {{aitem.title}}
224 224
225 </navigator> 225 </navigator>
pages/index/index/index.wxss
@@ -406,7 +406,7 @@ @@ -406,7 +406,7 @@
406 .nav { 406 .nav {
407 padding: 0 10rpx; 407 padding: 0 10rpx;
408 box-sizing: border-box; 408 box-sizing: border-box;
409 - flex: 1; 409 + /* flex: 1; */
410 } 410 }
411 411
412 .p_swiper .un_line { 412 .p_swiper .un_line {