From bf7c8c05a57b22b60cb0c1f58e492a623c3ee2f5 Mon Sep 17 00:00:00 2001 From: "952108534@qq.com" <952108534@qq.com> Date: Wed, 19 Jan 2022 11:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=A0=B7=E5=BC=8F=E7=BB=86?= =?UTF-8?q?=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc-busness/assets/css/global.less | 8 ++++-- rc-busness/assets/css/product-list.less | 8 ++++++ rc-busness/assets/css/search.less | 37 ++++++++++++------------- 3 files changed, 31 insertions(+), 22 deletions(-) diff --git a/rc-busness/assets/css/global.less b/rc-busness/assets/css/global.less index edefb690..b65b75ee 100644 --- a/rc-busness/assets/css/global.less +++ b/rc-busness/assets/css/global.less @@ -378,12 +378,15 @@ img, picture { } .ts-scrollable{ li{ - // width: 4.125rem; + width: 6rem; + overflow: hidden; padding: 0 0.62rem; height: 1.625rem; margin-left: .5rem; font-size:.75rem; - line-height: 1.375rem; + text-overflow:ellipsis; + white-space:nowrap; + line-height: 1.625rem; } &::-webkit-scrollbar{ display:none; @@ -395,6 +398,7 @@ img, picture { /* pc端 */ @media screen and (min-width: 769px) { + /deep/.van-tabs__wrap { max-width: 768px; diff --git a/rc-busness/assets/css/product-list.less b/rc-busness/assets/css/product-list.less index cf1e3bef..ff328e24 100644 --- a/rc-busness/assets/css/product-list.less +++ b/rc-busness/assets/css/product-list.less @@ -9,10 +9,18 @@ ul li ol li em strong i { //rc-main start margin-top:.23rem; .usersearch { + .ts-scrollable-container{ + h2{ + font-weight: bold; + color: #333333; + } + } + margin: 0 auto; overflow: hidden; } + //rc-main end } diff --git a/rc-busness/assets/css/search.less b/rc-busness/assets/css/search.less index 27cce00e..4bb952bb 100644 --- a/rc-busness/assets/css/search.less +++ b/rc-busness/assets/css/search.less @@ -19,6 +19,13 @@ ul li ol li em strong i { margin: 0 auto; overflow: hidden; margin-top: 20px; + .ts-scrollable-container{ + h2{ + font-weight: bold; + color: #333333; + +} +} .rc-padding--md{ padding: 0; } @@ -129,8 +136,9 @@ strong{ color: #333333; margin-top: 1.5rem; h2{ - font-size: 18px; + font-size: 16px; font-weight: bold; + color: #333333; } span { font-size: 14px; @@ -189,7 +197,6 @@ justify-content: center; margin-left: 1rem; color: #999999; img { -width: 1.5rem; height: 1rem; } span { @@ -220,7 +227,7 @@ margin-left: 0.18rem; } .ts-scrollable-container{ - margin-top: 0.93rem; + margin-top: 1rem; } } @@ -236,6 +243,7 @@ margin-left: 0.18rem; } h2{ margin-left: 0; + font-weight: bold; } } @@ -278,19 +286,6 @@ border-radius: 100px; bottom: 0; left: 0; z-index: 9; - ol li{ - background: none; - width: 7.87rem; - height: 2.25rem; - background: #FFFFFF; - border-radius: 6.25rem; - background: none; - display: flex; - align-items: center; - justify-content: center; - margin-left: 1rem; - } - } .rc-bottoma{ @@ -392,6 +387,7 @@ border-radius: 100px; display: flex; align-items: center; width: 6%; + color: #333333; } .ts-scrollable{ // overflow-y: hidden; @@ -501,9 +497,9 @@ margin-left: 8px; color: #333333; margin-top: 12px; h2 { - font-size: 18px; + font-size: 26px; + font-weight: bold; color: #333333; - margin-left: 12px; } span { font-size: 14px; @@ -648,9 +644,10 @@ border-radius: 30px; } .rc-product { h2 { - font-size: 18px; + font-size: 26px; + font-weight: bold; color: #333333; - margin-left: 12px; + } } .rc-productcat {