@tplc/business 0.3.64 → 0.3.65

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,13 @@
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.3.65](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.64...v0.3.65) (2025-02-28)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 字体颜色大小 ([2906705](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2906705c1e8a789d599107ec832eff215baff90f))
11
+
5
12
  ### [0.3.64](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.63...v0.3.64) (2025-02-28)
6
13
 
7
14
 
@@ -66,6 +66,12 @@ const handleClick = (index: number) => {
66
66
  current.value = index === current.value ? -1 : index
67
67
  try {
68
68
  const params = JSON.parse(props.items?.[index]?.name)
69
+ if (index === current.value) {
70
+ Object.keys(params).forEach((key) => {
71
+ form!.value[key] = undefined
72
+ })
73
+ return
74
+ }
69
75
  form!.value = {
70
76
  ...form!.value,
71
77
  ...params,
@@ -71,6 +71,7 @@
71
71
  :style="{
72
72
  fontSize: transformValueUnit(textSize),
73
73
  color: textColor,
74
+ fontWeight: textFontWeight,
74
75
  }"
75
76
  >
76
77
  {{ item[titleKey] }}
@@ -114,6 +115,7 @@ withDefaults(defineProps<LcbImgNavProps>(), {
114
115
  itemFlexMode: 'column',
115
116
  itemGap: 24,
116
117
  titleBottom: 40,
118
+ textFontWeight: 400,
117
119
  })
118
120
  </script>
119
121
 
@@ -22,6 +22,7 @@ export interface LcbImgNavProps extends LcbBlockProps {
22
22
  iconRadius?: number
23
23
  /** 文字与图标距离 */
24
24
  iconTextMargin?: number
25
+ textFontWeight?: number
25
26
 
26
27
  // 是否显示标题
27
28
  showTitle?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.64",
3
+ "version": "0.3.65",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -17,6 +17,7 @@ declare const _default: import('vue').DefineComponent<
17
17
  itemFlexMode: string
18
18
  itemGap: number
19
19
  titleBottom: number
20
+ textFontWeight: number
20
21
  }
21
22
  >,
22
23
  {},
@@ -49,6 +50,7 @@ declare const _default: import('vue').DefineComponent<
49
50
  itemFlexMode: string
50
51
  itemGap: number
51
52
  titleBottom: number
53
+ textFontWeight: number
52
54
  }
53
55
  >
54
56
  >
@@ -64,6 +66,7 @@ declare const _default: import('vue').DefineComponent<
64
66
  pictureDistribution: 3 | 4 | 5
65
67
  iconRadius: number
66
68
  iconTextMargin: number
69
+ textFontWeight: number
67
70
  textSize: number
68
71
  urlKey: string
69
72
  titleKey: string
@@ -21,6 +21,7 @@ export interface LcbImgNavProps extends LcbBlockProps {
21
21
  iconRadius?: number
22
22
  /** 文字与图标距离 */
23
23
  iconTextMargin?: number
24
+ textFontWeight?: number
24
25
  showTitle?: boolean
25
26
  title?: string
26
27
  fontWeight?: number