From 11f66a9f601f6ea89176a0eeeeca1874b5d85e12 Mon Sep 17 00:00:00 2001 From: lwh <2679599887@qq.com> Date: Sun, 6 Aug 2023 16:39:33 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E4=BF=AE=E6=94=B9=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/filter-popup/index.wxss | 8 ++++---- components/filter/index.js | 2 +- components/filter/index.wxss | 2 +- .../components/c-sidebar/c-sidebar-item/index.wxss | 4 ++-- pages/goods/category/index.js | 1 - pages/goods/details/components/buy-bar/index.wxss | 6 +++--- .../details/components/goods-specs-popup/index.wxss | 10 +++++----- pages/goods/details/index.wxss | 8 ++++---- style/theme.wxss | 6 ++++++ 9 files changed, 26 insertions(+), 21 deletions(-) diff --git a/components/filter-popup/index.wxss b/components/filter-popup/index.wxss index a206a82..5d89125 100644 --- a/components/filter-popup/index.wxss +++ b/components/filter-popup/index.wxss @@ -21,19 +21,19 @@ } .btn-reset { - color: #fa4126; + color: #1989fa; background: rgba(255, 255, 255, 1); position: relative; - border: 1rpx solid #fa4126; + border: 1rpx solid #1989fa; border-radius: 84rpx 0 0 84rpx; } .btn-confirm { border-radius: 0 84rpx 84rpx 0; - border: 1rpx solid #fa4126; + border: 1rpx solid #1989fa; } .btn-confirm { color: #fff; - background: #fa4126; + background: #1989fa; } diff --git a/components/filter/index.js b/components/filter/index.js index 7c873ee..1dbb907 100644 --- a/components/filter/index.js +++ b/components/filter/index.js @@ -44,7 +44,7 @@ Component({ }, color: { type: String, - value: '#FA550F', + value: '#1989fa', }, }, diff --git a/components/filter/index.wxss b/components/filter/index.wxss index 97728f9..32177f4 100644 --- a/components/filter/index.wxss +++ b/components/filter/index.wxss @@ -46,5 +46,5 @@ } .filter-left-content .filter-active-item { - color: #fa550f; + color: #1989fa; } diff --git a/pages/goods/category/components/goods-category/components/c-sidebar/c-sidebar-item/index.wxss b/pages/goods/category/components/goods-category/components/c-sidebar/c-sidebar-item/index.wxss index 28d50dc..64a26d9 100644 --- a/pages/goods/category/components/goods-category/components/c-sidebar/c-sidebar-item/index.wxss +++ b/pages/goods/category/components/goods-category/components/c-sidebar/c-sidebar-item/index.wxss @@ -18,7 +18,7 @@ position: absolute; width: 6rpx; height: 48rpx; - background-color: #fa4126; + background-color: #1989fa; left: 0; top: 50%; transform: translate(0, -50%); @@ -38,7 +38,7 @@ .c-sidebar-item.active .c-sidebar-item__text { background-color: white; border-radius: 36rpx; - color: #fa4126; + color: #1989fa; } .text-overflow { diff --git a/pages/goods/category/index.js b/pages/goods/category/index.js index 3fddf3e..f69812b 100644 --- a/pages/goods/category/index.js +++ b/pages/goods/category/index.js @@ -18,7 +18,6 @@ Page({ this.getTabBar().init(); }, onChange(e) { - console.log(e.detail.item.groupId,'asdasd'); wx.navigateTo({ url: '/pages/goods/list/index?goodsCategoryGuid=' + e.detail.item.groupId, }); diff --git a/pages/goods/details/components/buy-bar/index.wxss b/pages/goods/details/components/buy-bar/index.wxss index 44e8ad0..a296fd8 100644 --- a/pages/goods/details/components/buy-bar/index.wxss +++ b/pages/goods/details/components/buy-bar/index.wxss @@ -79,13 +79,13 @@ } .bar-separately { - background: #ffece9; - color: #fa4126; + background: #faf4f4; + color: #1989fa; border-radius: 40rpx 0 0 40rpx; } .bar-buy { - background-color: #fa4126; + background-color: #1989fa; border-radius: 0rpx 40rpx 40rpx 0rpx; } diff --git a/pages/goods/details/components/goods-specs-popup/index.wxss b/pages/goods/details/components/goods-specs-popup/index.wxss index a7374ce..7898c0c 100644 --- a/pages/goods/details/components/goods-specs-popup/index.wxss +++ b/pages/goods/details/components/goods-specs-popup/index.wxss @@ -98,8 +98,8 @@ .popup-sku-group-container .popup-sku-row .popup-sku-row__item.popup-sku-row__item--active { - border: 2rpx solid #fa4126; - color: #fa4126; + border: 2rpx solid #1989fa; + color: #1989fa; background: rgba(255, 95, 21, 0.04); } @@ -260,7 +260,7 @@ .popup-sku-actions .sku-operate .sku-operate-addCart { background-color: #ffece9; - color: #fa4126; + color: #1989fa; border-radius: 48rpx 0 0 48rpx; } @@ -270,7 +270,7 @@ } .popup-sku-actions .sku-operate .sku-operate-buyNow { - background-color: #fa4126; + background-color: #1989fa; border-radius: 0 48rpx 48rpx 0; } @@ -291,7 +291,7 @@ height: 80rpx; text-align: center; line-height: 88rpx; - background-color: #fa4126; + background-color: #1989fa; } .popup-container .single-confirm-btn.disabled { diff --git a/pages/goods/details/index.wxss b/pages/goods/details/index.wxss index 7df83a4..7e0a4da 100644 --- a/pages/goods/details/index.wxss +++ b/pages/goods/details/index.wxss @@ -73,8 +73,8 @@ page { } .goods-detail-page .goods-info .goods-activity .tags-container .goods-activity-tag { - background: #ffece9; - color: #fa4126; + background: #faeeec; + color: #1989fa; font-size: 24rpx; margin-right: 16rpx; padding: 4rpx 8rpx; @@ -85,7 +85,7 @@ page { display: flex; justify-content: center; align-items: center; - color: #fa4126; + color: #1989fa; font-size: 24rpx; padding-right: 32rpx; } @@ -419,7 +419,7 @@ page { .shop-right-button { margin-top: 20rpx; padding: 15rpx 20rpx; - background-color: rgb(251, 48, 44); + background-color: #1989fa; border-radius: 50rpx; color: white; font-size: 25rpx; diff --git a/style/theme.wxss b/style/theme.wxss index 12b0e07..b83897f 100644 --- a/style/theme.wxss +++ b/style/theme.wxss @@ -52,6 +52,12 @@ --td-button-primary-text-color: #1989fa; } +.t-side-bar{ + --td-side-bar-bg-color: #1989fa; + --td-side-bar-active-color: #1989fa; + --td-side-bar-disabled-color: #1989fa; +} + .dialog__button-confirm { color: #1989fa !important; }