From ac8c46154618371787f67958a2b34d3cd056bbe9 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Sat, 18 Jul 2026 08:58:52 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E4=BA=8C=E7=BA=A7=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=8C=89=E9=92=AE=E7=82=B9=E5=87=BB=E4=B8=80=E4=BC=9A?= =?UTF-8?q?=E8=83=BD=E5=88=87=E4=B8=80=E4=BC=9A=E4=B8=8D=E8=83=BD=E5=88=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components-diy/diy-category-item.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/components-diy/diy-category-item.vue b/components-diy/diy-category-item.vue index 44521b4..042f33b 100644 --- a/components-diy/diy-category-item.vue +++ b/components-diy/diy-category-item.vue @@ -2242,6 +2242,7 @@ export default { flex: 1; height: 0; transform: translateX(0px); + margin-top: -50rpx; } } @@ -2258,7 +2259,7 @@ export default { .screen-category { flex: 1; width: 0; - padding: 0 0 20rpx 0; + padding: 0 0 10rpx 0; white-space: nowrap; height: 60rpx; @@ -2268,7 +2269,7 @@ export default { background: #f5f5f5; color: #666; margin-right: 20rpx; - border-radius: 40rpx; + border-radius: 8rpx; &.selected { background-color: $base-color; @@ -2337,14 +2338,17 @@ export default { } .screen-category-4 .item { - background-color: #f2f2f2 !important; - padding: 10rpx 24rpx; + background-color: #fff !important; + padding: 16rpx 40rpx; line-height: 1; - font-size: $font-size-tag; + font-size: 28rpx; + border: 1rpx solid #eee; + border-radius: 12rpx !important; &.selected { - background-color: var(--main-color-shallow) !important; - color: var(--main-color); + background-color: $base-color !important; + color: #fff; + border-color: $base-color; } }