@tplc/wot 0.1.81 β†’ 0.1.82

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,22 @@
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.82](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.69...v0.1.82) (2025-04-15)
6
+
7
+
8
+ ### πŸš€ Chore | ζž„ε»Ί/ε·₯程依衖/ε·₯ε…·
9
+
10
+ * **release:** 0.1.81 ([2eefeaa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2eefeaa58ed163bf48b072cf66c56768d33e5b34))
11
+ * **release:** 0.4.70 ([5c937e7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5c937e7cf7f8f6c7331a746f854548cfb331bd3d))
12
+ * **release:** 0.4.71 ([5994b47](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5994b473a5182bfef6741625020e0a50a235af69))
13
+ * **release:** 0.4.72 ([b60babe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b60babefcbb146371d3b79b46905f286cbf56b75))
14
+
15
+
16
+ ### ✨ Features | ζ–°εŠŸθƒ½
17
+
18
+ * θ°ƒζ•΄ζ΅‹θ―• ([987ae45](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/987ae45c379759df9b48f925e29f1f3be06a5de1))
19
+ * θ°ƒζ•΄ηΌ“ε­˜η­–η•₯ ([45900e3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/45900e3c2619ed2c5dadcfa49da3a98aa73d79f6))
20
+
5
21
  ### [0.1.81](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.68...v0.1.81) (2025-04-12)
6
22
 
7
23
 
@@ -72,6 +72,10 @@ export const tabsProps = {
72
72
  * 字体倧小
73
73
  */
74
74
  itemFontSize: makeStringProp(28),
75
+ /**
76
+ * 字体粗细
77
+ */
78
+ itemFontWeight: makeStringProp('normal'),
75
79
  }
76
80
 
77
81
  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`"
24
+ :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${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`"
61
+ :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${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`"
113
+ :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
114
114
  >
115
115
  {{ item.title }}
116
116
  </view>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "0.1.81",
4
+ "version": "0.1.82",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "ε›½ι™…εŒ–",
@@ -96,6 +96,13 @@ export declare const tabsProps: {
96
96
  type: import('vue').PropType<number>
97
97
  default: number
98
98
  }
99
+ /**
100
+ * 字体粗细
101
+ */
102
+ itemFontWeight: {
103
+ type: import('vue').PropType<string>
104
+ default: string
105
+ }
99
106
  customStyle: {
100
107
  type: import('vue').PropType<string>
101
108
  default: string
@@ -51,6 +51,10 @@ declare const _default: __VLS_WithTemplateSlots<
51
51
  type: import('vue').PropType<number>
52
52
  default: number
53
53
  }
54
+ itemFontWeight: {
55
+ type: import('vue').PropType<string>
56
+ default: string
57
+ }
54
58
  customStyle: {
55
59
  type: import('vue').PropType<string>
56
60
  default: string
@@ -130,6 +134,10 @@ declare const _default: __VLS_WithTemplateSlots<
130
134
  type: import('vue').PropType<number>
131
135
  default: number
132
136
  }
137
+ itemFontWeight: {
138
+ type: import('vue').PropType<string>
139
+ default: string
140
+ }
133
141
  customStyle: {
134
142
  type: import('vue').PropType<string>
135
143
  default: string
@@ -160,6 +168,7 @@ declare const _default: __VLS_WithTemplateSlots<
160
168
  swipeable: boolean
161
169
  animated: boolean
162
170
  itemFontSize: number
171
+ itemFontWeight: string
163
172
  },
164
173
  {}
165
174
  >,