Commit eb312836e0c7284429af728d005e3cce56119331

Authored by taiyuan
1 parent dce80cdc

商品列表、首页样式修改

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