From 915424730f27445da2e8de13b62e77179cc1a15a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 17:07:39 +0800
Subject: [PATCH] fix: 关闭移动充值渠道,打开电信充值渠道
---
apps/taro/src/components/Tabs/ProTabs.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/apps/taro/src/components/Tabs/ProTabs.vue b/apps/taro/src/components/Tabs/ProTabs.vue
index b2c7c8c..8be9dc5 100644
--- a/apps/taro/src/components/Tabs/ProTabs.vue
+++ b/apps/taro/src/components/Tabs/ProTabs.vue
@@ -132,7 +132,7 @@
const titles: Ref<Title[]> = ref([]);
const renderTitles = (vnodes: VNode[]) => {
vnodes.forEach((vnode: VNode, index: number) => {
- let type = vnode.type;
+ let type = vnode?.type;
type = (type as any).name || type;
if (type === 'nut-tab-pane' || type === 'ProTabPane') {
let title = new Title();
@@ -461,8 +461,8 @@
width: auto;
margin-right: 78rpx;
flex-direction: column;
- font-size: 26rpx;
- color: boleGetCssVar('text-color', 'secondary');
+ font-size: 30rpx;
+ color: boleGetCssVar('text-color', 'regular');
align-items: center;
transition: all 0.3s ease;
min-width: 0;
@@ -473,14 +473,14 @@
}
.nut-tabs__titles-item__text {
- font-size: 28rpx;
+ font-size: 30rpx;
color: boleGetCssVar('text-color', 'regular');
line-height: 40rpx;
}
&.active {
- color: #222;
- font-weight: 700;
+ color: boleGetCssVar('color', 'primary');
+ font-weight: normal;
font-size: 30rpx;
.nut-tabs__sub-titles-item__text {
@@ -492,7 +492,7 @@
}
.nut-tabs__titles-item__text {
- color: boleGetCssVar('text-color', 'primary');
+ color: boleGetCssVar('color', 'primary');
}
}
@@ -507,7 +507,7 @@
.nut-tabs__titles-item__line {
// width: 100%;
background: boleGetCssVar('color', 'primary');
- bottom: 0;
+ bottom: 20rpx;
height: 4rpx;
max-width: 40rpx;
}
--
Gitblit v1.9.1