@tplc/wot 0.1.97 → 0.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.191...v0.1.98) (2025-09-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.4.192 ([53322b2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53322b29d232e378c8c8af0736e108f271ceb49a))
|
|
11
|
+
* **release:** 0.4.193 ([e80fe5f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e80fe5f95c13fb6e57c0766b637b07b92a0fd680))
|
|
12
|
+
* **release:** 0.4.194 ([6c186f4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6c186f4229085d833334a5ce5d1a42af33e850ac))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* 修改数据 ([dba6096](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dba60960ab21422e8fc48362c520ea30a7546ada))
|
|
18
|
+
* 兼容showTabbar ([e33c2d1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e33c2d10c602dd5b188dfeff0a60a70f21e8d9bb))
|
|
19
|
+
* 兼容跳转 ([13b1e44](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b1e4494dfdf2d13764fcc685b6f062353aa57a))
|
|
20
|
+
* 支持supportClickScroll ([1c0113f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1c0113f9574401a24a1482f92e242d2061a89362))
|
|
21
|
+
* 新增priceAlignLeft tag颜色 ([243a5d8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/243a5d8b2ca35d361d6437a1aa87ce5550f49ced))
|
|
22
|
+
* 补充部分文档 ([813e0f3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/813e0f36a61be48326e446c6ebbcab28102b9a33))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
26
|
+
|
|
27
|
+
* 修改文档错误 ([e2672ed](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e2672ed0f2f80c04731accd2ffbe12fb1224867a))
|
|
28
|
+
|
|
5
29
|
### [0.1.97](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.169...v0.1.97) (2025-07-26)
|
|
6
30
|
|
|
7
31
|
|
|
@@ -76,6 +76,15 @@ export const tabsProps = {
|
|
|
76
76
|
* 字体粗细
|
|
77
77
|
*/
|
|
78
78
|
itemFontWeight: makeStringProp('normal'),
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* 活动状态字体粗细
|
|
82
|
+
*/
|
|
83
|
+
activeFontWeight: makeStringProp('normal'),
|
|
84
|
+
/**
|
|
85
|
+
* 活动状态字体大小
|
|
86
|
+
*/
|
|
87
|
+
activeFontSize: makeStringProp(28),
|
|
79
88
|
}
|
|
80
89
|
|
|
81
90
|
export type TabsProps = ExtractPropTypes<typeof tabsProps>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
v-for="(item, index) in items"
|
|
22
22
|
:key="index"
|
|
23
23
|
:class="`wd-tabs__nav-item ${state.activeIndex === index ? 'is-active' : ''} ${item.disabled ? 'is-disabled' : ''}`"
|
|
24
|
-
:style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
|
|
24
|
+
:style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${state.activeIndex === index ? activeFontSize : itemFontSize}rpx;font-weight:${state.activeIndex === index ? activeFontWeight : itemFontWeight}`"
|
|
25
25
|
>
|
|
26
26
|
{{ item.title }}
|
|
27
27
|
</view>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
>
|
|
59
59
|
<view
|
|
60
60
|
:class="`wd-tabs__map-nav-btn ${state.activeIndex === index ? 'is-active' : ''} ${item.disabled ? 'is-disabled' : ''}`"
|
|
61
|
-
:style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
|
|
61
|
+
:style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${state.activeIndex === index ? activeFontSize : itemFontSize}rpx;font-weight:${state.activeIndex === index ? activeFontWeight : itemFontWeight}`"
|
|
62
62
|
>
|
|
63
63
|
{{ item.title }}
|
|
64
64
|
</view>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
@click="handleSelect(index)"
|
|
111
111
|
:key="index"
|
|
112
112
|
:class="`wd-tabs__nav-item ${state.activeIndex === index ? 'is-active' : ''} ${item.disabled ? 'is-disabled' : ''}`"
|
|
113
|
-
:style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
|
|
113
|
+
:style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${state.activeIndex === index ? activeFontSize : itemFontSize}rpx;font-weight:${state.activeIndex === index ? activeFontWeight : itemFontWeight}`"
|
|
114
114
|
>
|
|
115
115
|
{{ item.title }}
|
|
116
116
|
</view>
|
package/package.json
CHANGED
|
@@ -103,6 +103,20 @@ export declare const tabsProps: {
|
|
|
103
103
|
type: import('vue').PropType<string>
|
|
104
104
|
default: string
|
|
105
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* 活动状态字体粗细
|
|
108
|
+
*/
|
|
109
|
+
activeFontWeight: {
|
|
110
|
+
type: import('vue').PropType<string>
|
|
111
|
+
default: string
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* 活动状态字体大小
|
|
115
|
+
*/
|
|
116
|
+
activeFontSize: {
|
|
117
|
+
type: import('vue').PropType<number>
|
|
118
|
+
default: number
|
|
119
|
+
}
|
|
106
120
|
customStyle: {
|
|
107
121
|
type: import('vue').PropType<string>
|
|
108
122
|
default: string
|
|
@@ -55,6 +55,14 @@ declare const _default: __VLS_WithTemplateSlots<
|
|
|
55
55
|
type: import('vue').PropType<string>
|
|
56
56
|
default: string
|
|
57
57
|
}
|
|
58
|
+
activeFontWeight: {
|
|
59
|
+
type: import('vue').PropType<string>
|
|
60
|
+
default: string
|
|
61
|
+
}
|
|
62
|
+
activeFontSize: {
|
|
63
|
+
type: import('vue').PropType<number>
|
|
64
|
+
default: number
|
|
65
|
+
}
|
|
58
66
|
customStyle: {
|
|
59
67
|
type: import('vue').PropType<string>
|
|
60
68
|
default: string
|
|
@@ -138,6 +146,14 @@ declare const _default: __VLS_WithTemplateSlots<
|
|
|
138
146
|
type: import('vue').PropType<string>
|
|
139
147
|
default: string
|
|
140
148
|
}
|
|
149
|
+
activeFontWeight: {
|
|
150
|
+
type: import('vue').PropType<string>
|
|
151
|
+
default: string
|
|
152
|
+
}
|
|
153
|
+
activeFontSize: {
|
|
154
|
+
type: import('vue').PropType<number>
|
|
155
|
+
default: number
|
|
156
|
+
}
|
|
141
157
|
customStyle: {
|
|
142
158
|
type: import('vue').PropType<string>
|
|
143
159
|
default: string
|
|
@@ -169,6 +185,8 @@ declare const _default: __VLS_WithTemplateSlots<
|
|
|
169
185
|
animated: boolean
|
|
170
186
|
itemFontSize: number
|
|
171
187
|
itemFontWeight: string
|
|
188
|
+
activeFontWeight: string
|
|
189
|
+
activeFontSize: number
|
|
172
190
|
},
|
|
173
191
|
{}
|
|
174
192
|
>,
|