@tplc/business 0.4.88 → 0.4.90

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,20 @@
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.4.90](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.89...v0.4.90) (2025-05-04)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * notsyle ([a188815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a1888152e522c59a96d0ee54e091bd1ea75222b6))
11
+
12
+ ### [0.4.89](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.88...v0.4.89) (2025-05-04)
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * nav 支持动态参数 ([996d6e7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/996d6e762bdf73c65a6fa4f27146f0982cd63c74))
18
+
5
19
  ### [0.4.88](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.87...v0.4.88) (2025-05-04)
6
20
 
7
21
 
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <template v-if="mode === 'noParent'">{{ innerValue }}</template>
2
+ <template v-if="mode === 'noStyle'">{{ innerValue }}</template>
3
3
  <view
4
4
  class="w-full h-full"
5
5
  :style="{
@@ -4,7 +4,7 @@ import { LcbBlockProps } from '../lcb-block/types'
4
4
  export interface LcbButtonProps extends LcbBlockProps {
5
5
  text: string
6
6
  action?: LcbActionViewProps
7
- mode: 'image' | 'text' | 'noParent'
7
+ mode: 'image' | 'text' | 'noStyle'
8
8
  url?: string
9
9
  imageWidth?: number
10
10
  imageHeight?: number
@@ -15,7 +15,7 @@
15
15
  fontWeight: fontWeight,
16
16
  }"
17
17
  >
18
- <lcb-button mode="noParent" :text="title" :keyFromUser="keyFromUser" />
18
+ <lcb-button mode="noStyle" :text="title" :keyFromUser="keyFromUser" />
19
19
  </view>
20
20
  </view>
21
21
  <view class="images" v-else>
@@ -31,7 +31,7 @@
31
31
  borderRadius: transformValueUnit(lineWidth / 2),
32
32
  }"
33
33
  />
34
- {{ title }}
34
+ <lcb-button mode="noStyle" :text="title" :keyFromUser="titleKeyFromUser" />
35
35
  </view>
36
36
  <view
37
37
  class="ml-3"
@@ -42,7 +42,7 @@
42
42
  alignSelf: hintVerticalAlign,
43
43
  }"
44
44
  >
45
- {{ hint }}
45
+ <lcb-button mode="noStyle" :text="hint" :keyFromUser="hintKeyFromUser" />
46
46
  </view>
47
47
  <view
48
48
  v-if="moreText"
@@ -53,7 +53,7 @@
53
53
  alignSelf: moreVerticalAlign,
54
54
  }"
55
55
  >
56
- {{ moreText }}
56
+ <lcb-button mode="noStyle" :text="moreText" :keyFromUser="moreKeyFromUser" />
57
57
  <wd-icon name="xiangyou" classPrefix="lcb" :size="transformValueUnit(moreFontSize)" />
58
58
  </view>
59
59
  </lcb-action-view>
@@ -6,6 +6,7 @@ export interface LcbTitleProps
6
6
  Omit<LcbIconProps, 'color' | 'customStyle' | 'size'> {
7
7
  /** 副标题 */
8
8
  title: string
9
+ titleKeyFromUser?: string
9
10
  fontWeight?: number
10
11
  action?: LcbActionViewProps
11
12
  justify?:
@@ -16,6 +17,7 @@ export interface LcbTitleProps
16
17
  | 'justify-around'
17
18
 
18
19
  hint?: string
20
+ hintKeyFromUser?: string
19
21
  hintColor?: string
20
22
  hintFontSize?: number
21
23
  hintVerticalAlign?: 'end' | 'center'
@@ -28,6 +30,7 @@ export interface LcbTitleProps
28
30
  moreFontSize?: number
29
31
  moreText?: string
30
32
  moreVerticalAlign?: 'end' | 'center'
33
+ moreKeyFromUser?: string
31
34
  iconColor?: string
32
35
  iconRight?: number
33
36
  iconSize?: number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.88",
3
+ "version": "0.4.90",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -3,7 +3,7 @@ import { LcbBlockProps } from '../lcb-block/types'
3
3
  export interface LcbButtonProps extends LcbBlockProps {
4
4
  text: string
5
5
  action?: LcbActionViewProps
6
- mode: 'image' | 'text' | 'noParent'
6
+ mode: 'image' | 'text' | 'noStyle'
7
7
  url?: string
8
8
  imageWidth?: number
9
9
  imageHeight?: number
@@ -6,6 +6,7 @@ export interface LcbTitleProps
6
6
  Omit<LcbIconProps, 'color' | 'customStyle' | 'size'> {
7
7
  /** 副标题 */
8
8
  title: string
9
+ titleKeyFromUser?: string
9
10
  fontWeight?: number
10
11
  action?: LcbActionViewProps
11
12
  justify?:
@@ -15,6 +16,7 @@ export interface LcbTitleProps
15
16
  | 'justify-between'
16
17
  | 'justify-around'
17
18
  hint?: string
19
+ hintKeyFromUser?: string
18
20
  hintColor?: string
19
21
  hintFontSize?: number
20
22
  hintVerticalAlign?: 'end' | 'center'
@@ -26,6 +28,7 @@ export interface LcbTitleProps
26
28
  moreFontSize?: number
27
29
  moreText?: string
28
30
  moreVerticalAlign?: 'end' | 'center'
31
+ moreKeyFromUser?: string
29
32
  iconColor?: string
30
33
  iconRight?: number
31
34
  iconSize?: number