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 | 209 | <!-- 品类--> |
| 210 | 210 | <block wx:if="{{is_show_pl}}"> |
| 211 | 211 | <block wx:if="{{select_classify_on!=220&&select_classify_on!=223&&is_level_three!=1}}"> |
| 212 | - <view> | |
| 212 | + <view class="my-container"> | |
| 213 | 213 | <view class="classify_name fs28 flex-space-between"data-pid="0"data-cid="{{cat_id}}" bindtap='select_more'> |
| 214 | 214 | <view class="classify_title ellipsis-1">{{classify_name}}</view> |
| 215 | 215 | <view class="flex select_more" > |
| ... | ... | @@ -220,7 +220,7 @@ |
| 220 | 220 | <!-- 显示2级列表 --> |
| 221 | 221 | <view class="classify_content-frame flex-wrap"> |
| 222 | 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 | 224 | <view class="type_img_frame t-c ib" data-cid="{{goods.items.id}}" data-pid="{{goods.items.parent_id}}" bindtap="go_cate"> |
| 225 | 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 | 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 | 311 | padding: 0 20rpx; |
| 312 | 312 | flex-wrap:wrap; |
| 313 | 313 | overflow-y:scroll; |
| 314 | - padding-bottom: 118rpx; | |
| 315 | 314 | } |
| 316 | 315 | .country_img-frame{ |
| 317 | 316 | width: 48%; |
| ... | ... | @@ -515,11 +514,29 @@ margin: auto; |
| 515 | 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 | 532 | page { |
| 520 | 533 | /* overflow-x: hidden; */ |
| 521 | 534 | /* padding-bottom: 40rpx; */ |
| 522 | 535 | } |
| 536 | + | |
| 537 | + /* .my-container { | |
| 538 | + padding-bottom: 118rpx; | |
| 539 | + } */ | |
| 523 | 540 | |
| 524 | 541 | /* 风格三商品列表样式引入 */ |
| 525 | 542 | @import "../goodsList/goodsList.wxss"; |
| 526 | 543 | \ No newline at end of file | ... | ... |
pages/index/index/index.wxml
| ... | ... | @@ -392,10 +392,7 @@ |
| 392 | 392 | <!--商品分组--> |
| 393 | 393 | <block wx:if="{{item.ename=='goodsGroup'}}"> |
| 394 | 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 | 396 | </block> |
| 400 | 397 | <!--通知--> |
| 401 | 398 | <block wx:if="{{item.ename=='notice'}}"> |
| ... | ... | @@ -449,6 +446,10 @@ |
| 449 | 446 | |
| 450 | 447 | |
| 451 | 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 | 453 | </view> |
| 453 | 454 | |
| 454 | 455 | </block> | ... | ... |