@tplc/business 0.3.74 → 0.3.75

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.3.75](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.73...v0.3.75) (2025-03-10)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.3.73 ([67f4357](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/67f435737746cd78ebd35097a9871f4272fd451d))
11
+ * **release:** 0.3.74 ([980976a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/980976aa06262c1f21f84558ea64eb9b4306212c))
12
+
13
+
14
+ ### ✨ Features | 新功能
15
+
16
+ * 新增search ([437606d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/437606d1cb6d7fdacb9a4d7622c7e57ce02cb358))
17
+ * 新增物流 ([b5403b4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b5403b46bcd9b05dac85900fa7d0a50aa1071d20))
18
+
5
19
  ### [0.3.74](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.73...v0.3.74) (2025-03-09)
6
20
 
7
21
 
@@ -26,7 +26,7 @@
26
26
  ]"
27
27
  >
28
28
  <lcb-action-view
29
- v-for="item in items"
29
+ v-for="(item, index) in items"
30
30
  :key="item.title"
31
31
  v-bind="item.link"
32
32
  @click="onItemClick(item)"
@@ -38,7 +38,7 @@
38
38
  backgroundColor: itemBgColor,
39
39
  borderRadius: transformValueUnit(itemRadius),
40
40
  padding: `${transformValueUnit(itemVerticalPadding)} ${transformValueUnit(itemHorizontalPadding)}`,
41
- flexDirection: itemFlexMode,
41
+ flexDirection: styleGroup === 3 ? 'row' : itemFlexMode,
42
42
  gap: transformValueUnit(iconTextMargin),
43
43
  boxShadow:
44
44
  itemShadowColor && itemShadowSize
@@ -46,6 +46,9 @@
46
46
  : '',
47
47
  marginRight: styleGroup === 1 ? transformValueUnit(itemGap) : 0,
48
48
  }"
49
+ :class="{
50
+ divider: divider && index !== (items || []).length - 1 && styleGroup === 3,
51
+ }"
49
52
  >
50
53
  <view class="overflow-hidden">
51
54
  <wd-icon
@@ -76,7 +79,12 @@
76
79
  >
77
80
  {{ item[titleKey] }}
78
81
  </view>
79
- <wd-icon v-if="styleGroup === 3" name="chevron-right" size="22"></wd-icon>
82
+ <wd-icon
83
+ v-if="styleGroup === 3"
84
+ name="chevron-right"
85
+ :size="transformValueUnit(arrowSize)"
86
+ :color="arrowColor"
87
+ ></wd-icon>
80
88
  </view>
81
89
  </lcb-action-view>
82
90
  </view>
@@ -116,6 +124,9 @@ withDefaults(defineProps<LcbImgNavProps>(), {
116
124
  itemGap: 24,
117
125
  titleBottom: 40,
118
126
  textFontWeight: 400,
127
+ divider: true,
128
+ arrowSize: 44,
129
+ arrowColor: '#212121',
119
130
  })
120
131
  </script>
121
132
 
@@ -150,4 +161,8 @@ withDefaults(defineProps<LcbImgNavProps>(), {
150
161
  letter-spacing: 0;
151
162
  white-space: nowrap;
152
163
  }
164
+
165
+ .divider {
166
+ border-bottom: 1px solid #e5e5e5;
167
+ }
153
168
  </style>
@@ -24,6 +24,12 @@ export interface LcbImgNavProps extends LcbBlockProps {
24
24
  iconTextMargin?: number
25
25
  textFontWeight?: number
26
26
 
27
+ divider?: boolean
28
+ /** 箭头颜色 */
29
+ arrowColor?: string
30
+ /** 箭头大小 */
31
+ arrowSize?: number
32
+
27
33
  // 是否显示标题
28
34
  showTitle?: boolean
29
35
  title?: string
@@ -43,7 +43,7 @@
43
43
  alignSelf: moreVerticalAlign,
44
44
  }"
45
45
  >
46
- 更多
46
+ {{ moreText }}
47
47
  <wd-icon name="xiangyou" classPrefix="lcb" :size="transformValueUnit(moreFontSize)" />
48
48
  </view>
49
49
  </lcb-action-view>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.74",
3
+ "version": "0.3.75",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -18,6 +18,9 @@ declare const _default: import('vue').DefineComponent<
18
18
  itemGap: number
19
19
  titleBottom: number
20
20
  textFontWeight: number
21
+ divider: boolean
22
+ arrowSize: number
23
+ arrowColor: string
21
24
  }
22
25
  >,
23
26
  {},
@@ -51,6 +54,9 @@ declare const _default: import('vue').DefineComponent<
51
54
  itemGap: number
52
55
  titleBottom: number
53
56
  textFontWeight: number
57
+ divider: boolean
58
+ arrowSize: number
59
+ arrowColor: string
54
60
  }
55
61
  >
56
62
  >
@@ -67,6 +73,9 @@ declare const _default: import('vue').DefineComponent<
67
73
  iconRadius: number
68
74
  iconTextMargin: number
69
75
  textFontWeight: number
76
+ divider: boolean
77
+ arrowColor: string
78
+ arrowSize: number
70
79
  textSize: number
71
80
  urlKey: string
72
81
  titleKey: string
@@ -22,6 +22,11 @@ export interface LcbImgNavProps extends LcbBlockProps {
22
22
  /** 文字与图标距离 */
23
23
  iconTextMargin?: number
24
24
  textFontWeight?: number
25
+ divider?: boolean
26
+ /** 箭头颜色 */
27
+ arrowColor?: string
28
+ /** 箭头大小 */
29
+ arrowSize?: number
25
30
  showTitle?: boolean
26
31
  title?: string
27
32
  fontWeight?: number