@tplc/business 0.4.15 → 0.4.16
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,14 @@
|
|
|
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.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.73...v0.4.16) (2025-03-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* prodcut 单列也支持itemWidth ([216470d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/216470de894322367ad74054244cd7a4a0a72b74))
|
|
11
|
+
* 选中 ([9647c0b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9647c0b3f06a1479baa8c8877ca69e5adcc51c96))
|
|
12
|
+
|
|
5
13
|
### [0.4.15](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.14...v0.4.15) (2025-03-25)
|
|
6
14
|
|
|
7
15
|
### [0.4.14](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.13...v0.4.14) (2025-03-25)
|
|
@@ -142,7 +142,13 @@ defineExpose({
|
|
|
142
142
|
:custom-class="`${listType == 'horizontal' ? 'h-fit overflow-x-auto whitespace-nowrap flex items-stretch w-full' : ''}`"
|
|
143
143
|
>
|
|
144
144
|
<!-- 单列 -->
|
|
145
|
-
<view
|
|
145
|
+
<view
|
|
146
|
+
class="flex flex-col gap-2"
|
|
147
|
+
v-if="listType === 'list'"
|
|
148
|
+
:style="{
|
|
149
|
+
width: itemWidth ? `${itemWidth}rpx` : '100%',
|
|
150
|
+
}"
|
|
151
|
+
>
|
|
146
152
|
<lcb-action-view
|
|
147
153
|
v-for="(item, index) in renderList"
|
|
148
154
|
:key="`${item?.productId}:${index}`"
|
|
@@ -174,7 +180,13 @@ defineExpose({
|
|
|
174
180
|
</lcb-action-view>
|
|
175
181
|
</view>
|
|
176
182
|
<!-- 双列 -->
|
|
177
|
-
<view
|
|
183
|
+
<view
|
|
184
|
+
class="grid grid-cols-2 box-border gap-2"
|
|
185
|
+
v-else-if="listType === 'grid'"
|
|
186
|
+
:style="{
|
|
187
|
+
width: itemWidth ? `${itemWidth}rpx` : '100%',
|
|
188
|
+
}"
|
|
189
|
+
>
|
|
178
190
|
<lcb-action-view
|
|
179
191
|
v-for="(item, index) in renderList"
|
|
180
192
|
:key="`${item?.productId}:${index}`"
|
|
@@ -207,7 +219,13 @@ defineExpose({
|
|
|
207
219
|
</lcb-action-view>
|
|
208
220
|
</view>
|
|
209
221
|
|
|
210
|
-
<view
|
|
222
|
+
<view
|
|
223
|
+
class="lcb-product-waterfall p-0.5 !py-1"
|
|
224
|
+
v-else-if="listType === 'waterfall'"
|
|
225
|
+
:style="{
|
|
226
|
+
width: itemWidth ? `${itemWidth}rpx` : '100%',
|
|
227
|
+
}"
|
|
228
|
+
>
|
|
211
229
|
<u-waterfall :addTime="0" :modelValue="renderList" ref="uWaterfallRef">
|
|
212
230
|
<template #left="{ leftList: list }">
|
|
213
231
|
<view class="flex flex-col gap-3">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.16",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "0.1.
|
|
14
|
+
"@tplc/wot": "0.1.73"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|