@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 +25 -0
- package/components/lcb-list/types.ts +2 -0
- package/components/lcb-product/types.ts +2 -0
- package/components/lcb-product-item/lcb-product-item.vue +5 -3
- package/components/lcb-product-item/types.ts +2 -0
- package/package.json +1 -1
- package/types/components/lcb-list/lcb-list.vue.d.ts +2 -0
- package/types/components/lcb-list/types.d.ts +2 -0
- package/types/components/lcb-product/types.d.ts +2 -0
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +6 -0
- package/types/components/lcb-product-item/types.d.ts +2 -0
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
|
|
|
@@ -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:
|
|
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
|
>
|
package/package.json
CHANGED
|
@@ -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
|
|
@@ -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
|