@tplc/business 0.4.127 → 0.4.129

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,31 @@
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.129](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.127...v0.4.129) (2025-06-17)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.4.128 ([85a4bd7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/85a4bd7877408669d4ab44be9243e2bf4112094d))
11
+
12
+
13
+ ### 🐛 Bug Fixes | Bug 修复
14
+
15
+ * pruduct border ([40232e2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/40232e2fe4f2240d2f0b44691e280d33f411184e))
16
+
17
+ ### [0.4.128](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.126...v0.4.128) (2025-06-15)
18
+
19
+
20
+ ### ✨ Features | 新功能
21
+
22
+ * 修改card问题 ([f64c8a7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f64c8a7caf4450862f60c366ac333336ae6d5827))
23
+ * 修改图片地址 ([e713149](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e7131493ade2f760285c81e87242fce5ccdf02ac))
24
+
25
+
26
+ ### 🚀 Chore | 构建/工程依赖/工具
27
+
28
+ * **release:** 0.4.127 ([ac4edba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ac4edbafabd30501a6bb7e339d245f05516c20dc))
29
+
5
30
  ### [0.4.127](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.120...v0.4.127) (2025-06-13)
6
31
 
7
32
 
@@ -23,6 +23,8 @@ export interface LcbListProps extends LcbBlockProps {
23
23
  borderWidth?: number
24
24
  borderColor?: string
25
25
  borderMode?: 'full' | 'content'
26
+ itemVerticalPadding?: number
27
+ itemHorizontalPadding?: number
26
28
  }
27
29
  export interface Option {
28
30
  label: string
@@ -43,4 +43,6 @@ export interface LcbProductProps extends LcbBlockProps {
43
43
  borderWidth?: number
44
44
  borderColor?: string
45
45
  borderMode?: 'full' | 'content'
46
+ itemVerticalPadding?: number
47
+ itemHorizontalPadding?: number
46
48
  }
@@ -53,6 +53,8 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
53
53
  shadowSize: 1,
54
54
  shadowColor: '#D6D7DA',
55
55
  blurSize: 5,
56
+ itemVerticalPadding: 0,
57
+ itemHorizontalPadding: 0,
56
58
  })
57
59
  const attrs = useAttrs() as Record<string, any>
58
60
  provide('lcb-product-item-props', props)
@@ -114,7 +116,7 @@ const itemStyle = computed(() => {
114
116
  ...(props.borderMode === 'full' && attrs.listType === 'list' && !attrs.isLast
115
117
  ? borderStyle.value
116
118
  : {}),
117
- padding: '24rpx',
119
+ padding: `${transformValueUnit(props.itemVerticalPadding)} ${transformValueUnit(props.itemHorizontalPadding)}`,
118
120
  }
119
121
  })
120
122
  </script>
@@ -124,7 +126,7 @@ const itemStyle = computed(() => {
124
126
  <view
125
127
  v-if="layoutType === 'horizontal'"
126
128
  :class="className"
127
- class="flex flex-col gap-1 px-2 bg-white relative overflow-clip"
129
+ class="flex flex-col gap-1 px-2 bg-white relative overflow-clip box-border"
128
130
  :style="itemStyle"
129
131
  >
130
132
  <slot name="itemSection" />
@@ -278,7 +280,7 @@ const itemStyle = computed(() => {
278
280
  <!-- 竖向布局 -->
279
281
  <view
280
282
  v-if="layoutType === 'vertical'"
281
- class="flex bg-white relative overflow-hidden"
283
+ class="flex bg-white relative overflow-hidden box-border"
282
284
  :class="className"
283
285
  :style="itemStyle"
284
286
  >
@@ -129,4 +129,6 @@ export interface LcbProductItemProps {
129
129
  borderWidth?: number
130
130
  borderColor?: string
131
131
  borderMode?: 'full' | 'content'
132
+ itemVerticalPadding?: number
133
+ itemHorizontalPadding?: number
132
134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.127",
3
+ "version": "0.4.129",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -65,6 +65,8 @@ declare const __VLS_component: import('vue').DefineComponent<
65
65
  imageHeight: number
66
66
  dynamicScope: string
67
67
  border: boolean
68
+ itemVerticalPadding: number
69
+ itemHorizontalPadding: number
68
70
  listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
69
71
  pageFilterType: string
70
72
  pageListProps: import('./components/FilterList/type').PageListProps
@@ -21,6 +21,8 @@ export interface LcbListProps extends LcbBlockProps {
21
21
  borderWidth?: number
22
22
  borderColor?: string
23
23
  borderMode?: 'full' | 'content'
24
+ itemVerticalPadding?: number
25
+ itemHorizontalPadding?: number
24
26
  }
25
27
  export interface Option {
26
28
  label: string
@@ -39,4 +39,6 @@ export interface LcbProductProps extends LcbBlockProps {
39
39
  borderWidth?: number
40
40
  borderColor?: string
41
41
  borderMode?: 'full' | 'content'
42
+ itemVerticalPadding?: number
43
+ itemHorizontalPadding?: number
42
44
  }
@@ -109,6 +109,8 @@ declare const __VLS_component: import('vue').DefineComponent<
109
109
  shadowSize: number
110
110
  shadowColor: string
111
111
  blurSize: number
112
+ itemVerticalPadding: number
113
+ itemHorizontalPadding: number
112
114
  }
113
115
  >,
114
116
  {},
@@ -164,6 +166,8 @@ declare const __VLS_component: import('vue').DefineComponent<
164
166
  shadowSize: number
165
167
  shadowColor: string
166
168
  blurSize: number
169
+ itemVerticalPadding: number
170
+ itemHorizontalPadding: number
167
171
  }
168
172
  >
169
173
  >
@@ -173,6 +177,8 @@ declare const __VLS_component: import('vue').DefineComponent<
173
177
  shadowSize: number
174
178
  blurSize: number
175
179
  borderRadius: number
180
+ itemVerticalPadding: number
181
+ itemHorizontalPadding: number
176
182
  titleLineClamp: number
177
183
  layoutType: 'vertical' | 'horizontal'
178
184
  priceUnit: any
@@ -122,4 +122,6 @@ export interface LcbProductItemProps {
122
122
  borderWidth?: number
123
123
  borderColor?: string
124
124
  borderMode?: 'full' | 'content'
125
+ itemVerticalPadding?: number
126
+ itemHorizontalPadding?: number
125
127
  }