Commit f67f871b9ddcacda55a1a9133a286bef9608e8e0
1 parent
4a845ead
分类列表样式修改
Showing
1 changed file
with
34 additions
and
23 deletions
pages/goods/categoryList/categoryList.wxss
| 1 | /*---nyf 2018-9-7---*/ | 1 | /*---nyf 2018-9-7---*/ |
| 2 | 2 | ||
| 3 | -page{height: 100%; background: #fff;} | 3 | +page{height: 100%; background: #fff !important;} |
| 4 | .top_view{ width: 100%;background: #fff;} | 4 | .top_view{ width: 100%;background: #fff;} |
| 5 | 5 | ||
| 6 | .swiper-tab{ | 6 | .swiper-tab{ |
| @@ -30,11 +30,14 @@ swiper{ | @@ -30,11 +30,14 @@ swiper{ | ||
| 30 | 30 | ||
| 31 | /*--搜索--*/ | 31 | /*--搜索--*/ |
| 32 | .search-box { | 32 | .search-box { |
| 33 | - width: 100%; | ||
| 34 | - height: 88rpx; | ||
| 35 | - z-index: 10; | 33 | + width: 100% !important; |
| 34 | + height: 88rpx !important; | ||
| 35 | + z-index: 10 !important; | ||
| 36 | + border-radius: 0 !important; | ||
| 36 | /*-background: linear-gradient(rgba(0,0,0,.2),rgba(255,255,255,0));-*/ | 37 | /*-background: linear-gradient(rgba(0,0,0,.2),rgba(255,255,255,0));-*/ |
| 37 | - background: #f2f2f2; | 38 | + background: #f2f2f2 !important; |
| 39 | + padding: 0 !important; | ||
| 40 | + font-size: medium !important; | ||
| 38 | } | 41 | } |
| 39 | 42 | ||
| 40 | .logo { | 43 | .logo { |
| @@ -208,7 +211,7 @@ margin-top: 8rpx; | @@ -208,7 +211,7 @@ margin-top: 8rpx; | ||
| 208 | background-color: #f2f2f2; | 211 | background-color: #f2f2f2; |
| 209 | } | 212 | } |
| 210 | .project_height{ | 213 | .project_height{ |
| 211 | - height: 90%; | 214 | + height: 100%; |
| 212 | 215 | ||
| 213 | } | 216 | } |
| 214 | .project_type{ | 217 | .project_type{ |
| @@ -292,14 +295,14 @@ width: 60%; | @@ -292,14 +295,14 @@ width: 60%; | ||
| 292 | 295 | ||
| 293 | } | 296 | } |
| 294 | .classify_name{ | 297 | .classify_name{ |
| 295 | - width: 90%; | ||
| 296 | - margin: auto; | 298 | + /* width: 90%; |
| 299 | + margin: auto; */ | ||
| 297 | height: 70rpx; | 300 | height: 70rpx; |
| 298 | border-bottom: 1rpx solid #f5f6f6; | 301 | border-bottom: 1rpx solid #f5f6f6; |
| 299 | - line-height: 85rpx; | ||
| 300 | - font-weight: 600; | ||
| 301 | - | ||
| 302 | - | 302 | + line-height: 70rpx; |
| 303 | + font-weight: 600; | ||
| 304 | + padding-left: 20rpx; | ||
| 305 | + padding-right: 20rpx; | ||
| 303 | } | 306 | } |
| 304 | .classify_content{ | 307 | .classify_content{ |
| 305 | width: 100% | 308 | width: 100% |
| @@ -425,7 +428,7 @@ margin: auto; | @@ -425,7 +428,7 @@ margin: auto; | ||
| 425 | 428 | ||
| 426 | .no_child_lev{width: 100%; text-align: center; color: #adadad; padding-top: 30rpx} | 429 | .no_child_lev{width: 100%; text-align: center; color: #adadad; padding-top: 30rpx} |
| 427 | .classify_title { | 430 | .classify_title { |
| 428 | - width: 80%; | 431 | + /* width: 80%; */ |
| 429 | } | 432 | } |
| 430 | 433 | ||
| 431 | .brand_img_name {color: #666;} | 434 | .brand_img_name {color: #666;} |
| @@ -521,22 +524,30 @@ margin: auto; | @@ -521,22 +524,30 @@ margin: auto; | ||
| 521 | } | 524 | } |
| 522 | 525 | ||
| 523 | .classify_content > view:only-child .classify_content-frame { | 526 | .classify_content > view:only-child .classify_content-frame { |
| 524 | - padding-bottom: 0; | 527 | + /* padding-bottom: 0; */ |
| 525 | } | 528 | } |
| 526 | 529 | ||
| 527 | .classify_content > .classify_content-frame { | 530 | .classify_content > .classify_content-frame { |
| 528 | padding-bottom: 118rpx; | 531 | padding-bottom: 118rpx; |
| 529 | } | 532 | } |
| 530 | - | ||
| 531 | - | ||
| 532 | - page { | ||
| 533 | - /* overflow-x: hidden; */ | ||
| 534 | - /* padding-bottom: 40rpx; */ | ||
| 535 | - } | ||
| 536 | 533 | ||
| 537 | - /* .my-container { | ||
| 538 | - padding-bottom: 118rpx; | ||
| 539 | - } */ | 534 | + .img-wrap { |
| 535 | + width: 180rpx !important; | ||
| 536 | + height: 180rpx !important; | ||
| 537 | + } | ||
| 538 | + | ||
| 539 | + .rmb::before { | ||
| 540 | + content: '¥'; | ||
| 541 | + font-size: 24rpx; | ||
| 542 | + } | ||
| 543 | + | ||
| 544 | + | ||
| 545 | + .item-cont .title { | ||
| 546 | + margin-bottom: 0 !important; | ||
| 547 | + } | ||
| 548 | + | ||
| 549 | + | ||
| 550 | + | ||
| 540 | 551 | ||
| 541 | /* 风格三商品列表样式引入 */ | 552 | /* 风格三商品列表样式引入 */ |
| 542 | @import "../goodsList/goodsList.wxss"; | 553 | @import "../goodsList/goodsList.wxss"; |
| 543 | \ No newline at end of file | 554 | \ No newline at end of file |