From 9d9506c66e64f8c06e2a3458143a23a60c619943 Mon Sep 17 00:00:00 2001 From: king <2229249788@qq.com> Date: Thu, 14 Sep 2023 16:59:49 +0800 Subject: [PATCH] =?UTF-8?q?2.=E4=BF=AE=E6=94=B9tab=E7=9A=84backMode?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 ++-- src/components/tabs/tabs.scss | 4 ++-- src/components/tabs/tabs.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env b/.env index 3852d45..86e2b46 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ -TARO_APP_API=https://yjx.dev.yaojiankang.top -#TARO_APP_API=https://mooc.yaojiankang.top +#TARO_APP_API=https://yjx.dev.yaojiankang.top +TARO_APP_API=https://mooc.yaojiankang.top #TARO_APP_API=https://shopfix.yaojiankang.top #TARO_APP_API=https://playedu.yaojiankang.top TARO_APP_LGOIN=true diff --git a/src/components/tabs/tabs.scss b/src/components/tabs/tabs.scss index 3433214..dd2ab64 100644 --- a/src/components/tabs/tabs.scss +++ b/src/components/tabs/tabs.scss @@ -4,12 +4,12 @@ border-radius: 24rpx; .tabs-item { - padding: 8rpx 20rpx !important; + padding: 8rpx !important; } .current { background: #FFF; - border-radius: 18rpx; + border-radius: 25rpx !important; background-clip: content-box; &:after { diff --git a/src/components/tabs/tabs.tsx b/src/components/tabs/tabs.tsx index 0348c7b..4b768c1 100644 --- a/src/components/tabs/tabs.tsx +++ b/src/components/tabs/tabs.tsx @@ -50,7 +50,7 @@ const Tabs: FC = (opt) => { return ( - + {opt.tabList.map((d, index) =>