@tplc/business 0.4.129 → 0.4.131
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 +15 -0
- package/components/lcb-list/types.ts +4 -0
- package/components/lcb-product-item/lcb-product-item.vue +12 -2
- package/components/lcb-product-item/types.ts +4 -0
- package/package.json +1 -1
- package/types/components/lcb-list/lcb-list.vue.d.ts +4 -0
- package/types/components/lcb-list/types.d.ts +4 -0
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +12 -0
- package/types/components/lcb-product-item/types.d.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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.131](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.130...v0.4.131) (2025-06-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* version ([3088428](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3088428b0dc76797651d51d050d264497f125df6))
|
|
11
|
+
|
|
12
|
+
### [0.4.130](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.129...v0.4.130) (2025-06-17)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* 新增product 上下内间距 ([38c0a45](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/38c0a45eec20cf178a20efbbb5fdb81288a808cf))
|
|
18
|
+
* 新增卡片样式 ([e626818](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e62681866d4cac8344d7cbcd19cd3facd0d49611))
|
|
19
|
+
|
|
5
20
|
### [0.4.129](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.127...v0.4.129) (2025-06-17)
|
|
6
21
|
|
|
7
22
|
|
|
@@ -25,6 +25,10 @@ export interface LcbListProps extends LcbBlockProps {
|
|
|
25
25
|
borderMode?: 'full' | 'content'
|
|
26
26
|
itemVerticalPadding?: number
|
|
27
27
|
itemHorizontalPadding?: number
|
|
28
|
+
itemContentPt?: number
|
|
29
|
+
itemContentPr?: number
|
|
30
|
+
itemContentPb?: number
|
|
31
|
+
itemContentPl?: number
|
|
28
32
|
}
|
|
29
33
|
export interface Option {
|
|
30
34
|
label: string
|
|
@@ -55,6 +55,10 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
|
|
|
55
55
|
blurSize: 5,
|
|
56
56
|
itemVerticalPadding: 0,
|
|
57
57
|
itemHorizontalPadding: 0,
|
|
58
|
+
itemContentPt: 0,
|
|
59
|
+
itemContentPr: 0,
|
|
60
|
+
itemContentPb: 10,
|
|
61
|
+
itemContentPl: 0,
|
|
58
62
|
})
|
|
59
63
|
const attrs = useAttrs() as Record<string, any>
|
|
60
64
|
provide('lcb-product-item-props', props)
|
|
@@ -155,11 +159,17 @@ const itemStyle = computed(() => {
|
|
|
155
159
|
</template>
|
|
156
160
|
</ItemValue>
|
|
157
161
|
<view
|
|
158
|
-
class="flex flex-col flex-1 text-26rpx overflow-hidden relative"
|
|
162
|
+
class="flex flex-col flex-1 text-26rpx overflow-hidden relative box-border"
|
|
159
163
|
:class="{
|
|
160
164
|
grayscale: attrs.rightBottomFlag,
|
|
161
165
|
}"
|
|
162
|
-
:style="
|
|
166
|
+
:style="{
|
|
167
|
+
...(props.borderMode === 'content' ? borderStyle : {}),
|
|
168
|
+
paddingTop: transformValueUnit(props.itemContentPt),
|
|
169
|
+
paddingRight: transformValueUnit(props.itemContentPr),
|
|
170
|
+
paddingBottom: transformValueUnit(props.itemContentPb),
|
|
171
|
+
paddingLeft: transformValueUnit(props.itemContentPl),
|
|
172
|
+
}"
|
|
163
173
|
>
|
|
164
174
|
<slot name="contentSection" />
|
|
165
175
|
<view class="flex flex-col gap-[5px] overflow-hidden">
|
|
@@ -131,4 +131,8 @@ export interface LcbProductItemProps {
|
|
|
131
131
|
borderMode?: 'full' | 'content'
|
|
132
132
|
itemVerticalPadding?: number
|
|
133
133
|
itemHorizontalPadding?: number
|
|
134
|
+
itemContentPt?: number
|
|
135
|
+
itemContentPr?: number
|
|
136
|
+
itemContentPb?: number
|
|
137
|
+
itemContentPl?: number
|
|
134
138
|
}
|
package/package.json
CHANGED
|
@@ -76,6 +76,10 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
76
76
|
layoutType: 'vertical' | 'horizontal'
|
|
77
77
|
itemWidth: number
|
|
78
78
|
borderMode: 'full' | 'content'
|
|
79
|
+
itemContentPt: number
|
|
80
|
+
itemContentPr: number
|
|
81
|
+
itemContentPb: number
|
|
82
|
+
itemContentPl: number
|
|
79
83
|
},
|
|
80
84
|
{}
|
|
81
85
|
>
|
|
@@ -23,6 +23,10 @@ export interface LcbListProps extends LcbBlockProps {
|
|
|
23
23
|
borderMode?: 'full' | 'content'
|
|
24
24
|
itemVerticalPadding?: number
|
|
25
25
|
itemHorizontalPadding?: number
|
|
26
|
+
itemContentPt?: number
|
|
27
|
+
itemContentPr?: number
|
|
28
|
+
itemContentPb?: number
|
|
29
|
+
itemContentPl?: number
|
|
26
30
|
}
|
|
27
31
|
export interface Option {
|
|
28
32
|
label: string
|
|
@@ -111,6 +111,10 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
111
111
|
blurSize: number
|
|
112
112
|
itemVerticalPadding: number
|
|
113
113
|
itemHorizontalPadding: number
|
|
114
|
+
itemContentPt: number
|
|
115
|
+
itemContentPr: number
|
|
116
|
+
itemContentPb: number
|
|
117
|
+
itemContentPl: number
|
|
114
118
|
}
|
|
115
119
|
>,
|
|
116
120
|
{},
|
|
@@ -168,6 +172,10 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
168
172
|
blurSize: number
|
|
169
173
|
itemVerticalPadding: number
|
|
170
174
|
itemHorizontalPadding: number
|
|
175
|
+
itemContentPt: number
|
|
176
|
+
itemContentPr: number
|
|
177
|
+
itemContentPb: number
|
|
178
|
+
itemContentPl: number
|
|
171
179
|
}
|
|
172
180
|
>
|
|
173
181
|
>
|
|
@@ -181,6 +189,10 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
181
189
|
itemHorizontalPadding: number
|
|
182
190
|
titleLineClamp: number
|
|
183
191
|
layoutType: 'vertical' | 'horizontal'
|
|
192
|
+
itemContentPt: number
|
|
193
|
+
itemContentPr: number
|
|
194
|
+
itemContentPb: number
|
|
195
|
+
itemContentPl: number
|
|
184
196
|
priceUnit: any
|
|
185
197
|
scribePriceUnit: any
|
|
186
198
|
tagOverflowWrap: boolean
|
|
@@ -124,4 +124,8 @@ export interface LcbProductItemProps {
|
|
|
124
124
|
borderMode?: 'full' | 'content'
|
|
125
125
|
itemVerticalPadding?: number
|
|
126
126
|
itemHorizontalPadding?: number
|
|
127
|
+
itemContentPt?: number
|
|
128
|
+
itemContentPr?: number
|
|
129
|
+
itemContentPb?: number
|
|
130
|
+
itemContentPl?: number
|
|
127
131
|
}
|