Commit fc300ec77cc80366c5a54f2f88b8d065d6eb077e
1 parent
2f12c345
首页技术支持自测问题整改、分类列表样式调整
Showing
3 changed files
with
25 additions
and
7 deletions
pages/goods/categoryList/categoryList.wxml
@@ -209,7 +209,7 @@ | @@ -209,7 +209,7 @@ | ||
209 | <!-- 品类--> | 209 | <!-- 品类--> |
210 | <block wx:if="{{is_show_pl}}"> | 210 | <block wx:if="{{is_show_pl}}"> |
211 | <block wx:if="{{select_classify_on!=220&&select_classify_on!=223&&is_level_three!=1}}"> | 211 | <block wx:if="{{select_classify_on!=220&&select_classify_on!=223&&is_level_three!=1}}"> |
212 | - <view> | 212 | + <view class="my-container"> |
213 | <view class="classify_name fs28 flex-space-between"data-pid="0"data-cid="{{cat_id}}" bindtap='select_more'> | 213 | <view class="classify_name fs28 flex-space-between"data-pid="0"data-cid="{{cat_id}}" bindtap='select_more'> |
214 | <view class="classify_title ellipsis-1">{{classify_name}}</view> | 214 | <view class="classify_title ellipsis-1">{{classify_name}}</view> |
215 | <view class="flex select_more" > | 215 | <view class="flex select_more" > |
@@ -220,7 +220,7 @@ | @@ -220,7 +220,7 @@ | ||
220 | <!-- 显示2级列表 --> | 220 | <!-- 显示2级列表 --> |
221 | <view class="classify_content-frame flex-wrap"> | 221 | <view class="classify_content-frame flex-wrap"> |
222 | <block wx:if="{{goodslist && goodslist.length>0}}"> | 222 | <block wx:if="{{goodslist && goodslist.length>0}}"> |
223 | - <block wx:for="{{goodslist}}" wx:for-item="goods"wx:for-index="indx"> | 223 | + <block wx:for="{{goodslist}}" wx:for-item="goods" wx:for-index="indx"> |
224 | <view class="type_img_frame t-c ib" data-cid="{{goods.items.id}}" data-pid="{{goods.items.parent_id}}" bindtap="go_cate"> | 224 | <view class="type_img_frame t-c ib" data-cid="{{goods.items.id}}" data-pid="{{goods.items.parent_id}}" bindtap="go_cate"> |
225 | <image class=" type_img" src="{{goods.items.icoimg==null||goods.items.icoimg==''?iurl+'/miniapp/images/no_cate_def.png':goods.items.icoimg}}"binderror="goods_bnerr" data-err="goodslist[{{index}}].logo"></image> | 225 | <image class=" type_img" src="{{goods.items.icoimg==null||goods.items.icoimg==''?iurl+'/miniapp/images/no_cate_def.png':goods.items.icoimg}}"binderror="goods_bnerr" data-err="goodslist[{{index}}].logo"></image> |
226 | <view class="brand_img_name fs24 ellipsis-1">{{goods.items.name}}</view> | 226 | <view class="brand_img_name fs24 ellipsis-1">{{goods.items.name}}</view> |
pages/goods/categoryList/categoryList.wxss
@@ -311,7 +311,6 @@ width: 60%; | @@ -311,7 +311,6 @@ width: 60%; | ||
311 | padding: 0 20rpx; | 311 | padding: 0 20rpx; |
312 | flex-wrap:wrap; | 312 | flex-wrap:wrap; |
313 | overflow-y:scroll; | 313 | overflow-y:scroll; |
314 | - padding-bottom: 118rpx; | ||
315 | } | 314 | } |
316 | .country_img-frame{ | 315 | .country_img-frame{ |
317 | width: 48%; | 316 | width: 48%; |
@@ -515,11 +514,29 @@ margin: auto; | @@ -515,11 +514,29 @@ margin: auto; | ||
515 | height: 110rpx; | 514 | height: 110rpx; |
516 | 515 | ||
517 | } | 516 | } |
517 | + | ||
518 | + | ||
519 | + .classify_content > view:last-of-type .classify_content-frame { | ||
520 | + padding-bottom: 100rpx; | ||
521 | + } | ||
522 | + | ||
523 | + .classify_content > view:only-child .classify_content-frame { | ||
524 | + padding-bottom: 0; | ||
525 | + } | ||
526 | + | ||
527 | + .classify_content > .classify_content-frame { | ||
528 | + padding-bottom: 118rpx; | ||
529 | + } | ||
530 | + | ||
518 | 531 | ||
519 | page { | 532 | page { |
520 | /* overflow-x: hidden; */ | 533 | /* overflow-x: hidden; */ |
521 | /* padding-bottom: 40rpx; */ | 534 | /* padding-bottom: 40rpx; */ |
522 | } | 535 | } |
536 | + | ||
537 | + /* .my-container { | ||
538 | + padding-bottom: 118rpx; | ||
539 | + } */ | ||
523 | 540 | ||
524 | /* 风格三商品列表样式引入 */ | 541 | /* 风格三商品列表样式引入 */ |
525 | @import "../goodsList/goodsList.wxss"; | 542 | @import "../goodsList/goodsList.wxss"; |
526 | \ No newline at end of file | 543 | \ No newline at end of file |
pages/index/index/index.wxml
@@ -392,10 +392,7 @@ | @@ -392,10 +392,7 @@ | ||
392 | <!--商品分组--> | 392 | <!--商品分组--> |
393 | <block wx:if="{{item.ename=='goodsGroup'}}"> | 393 | <block wx:if="{{item.ename=='goodsGroup'}}"> |
394 | <goodsGroup object="{{item.content}}"></goodsGroup> | 394 | <goodsGroup object="{{item.content}}"></goodsGroup> |
395 | - <!-- 技术支持 --> | ||
396 | - <view class="logo-container t-c"> | ||
397 | - <view class="flex ai_c fs24 jc-center pdv20 white"><image src="{{url + 'miniapp/images/luckDraw/logo.png?v=3'}}" class="logo" lazy-load></image>提供技术支持</view> | ||
398 | - </view> | 395 | + |
399 | </block> | 396 | </block> |
400 | <!--通知--> | 397 | <!--通知--> |
401 | <block wx:if="{{item.ename=='notice'}}"> | 398 | <block wx:if="{{item.ename=='notice'}}"> |
@@ -449,6 +446,10 @@ | @@ -449,6 +446,10 @@ | ||
449 | 446 | ||
450 | 447 | ||
451 | </block> | 448 | </block> |
449 | + <!-- 技术支持 --> | ||
450 | + <view class="logo-container t-c"> | ||
451 | + <view class="flex ai_c fs24 jc-center pdv20 white"><image src="{{url + 'miniapp/images/luckDraw/logo.png?v=3'}}" class="logo" lazy-load></image>提供技术支持</view> | ||
452 | + </view> | ||
452 | </view> | 453 | </view> |
453 | 454 | ||
454 | </block> | 455 | </block> |