@tplc/business 0.2.82 → 0.2.84
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 +31 -0
- package/components/lcb-img-nav/lcb-img-nav.vue +1 -0
- package/components/lcb-product/lcb-product.vue +12 -2
- package/components/lcb-vip/components/InfoDialog/index.vue +6 -1
- package/package.json +1 -1
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
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.2.84](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.83...v0.2.84) (2025-01-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 新增一层 ([1780d69](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1780d692aa9c0dba5cb7084ca16da266fb531e4b))
|
|
11
|
+
|
|
12
|
+
### [0.2.83](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.81...v0.2.83) (2025-01-10)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
16
|
+
|
|
17
|
+
* **release:** 0.2.82 ([6e2c692](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6e2c6928267d8b1e5a58dc4a323c86e77a5756dc))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
21
|
+
|
|
22
|
+
* 瀑布流同步引擎 ([16173be](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/16173be627260f74db0a6ccf7b9e44769769c4eb))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### ✨ Features | 新功能
|
|
26
|
+
|
|
27
|
+
* 提交area ([29d7fc2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d7fc2c17f26b918cb6f89a1048108dd945a446))
|
|
28
|
+
* 新增listtype ([ec37780](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ec377801ee384e1c2e8db587753d304cccb47f25))
|
|
29
|
+
* add area test ([36658f1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/36658f1cb910ddd6163d2708ea4e3ad1b3a459ce))
|
|
30
|
+
* 引擎构建支持本地sftp ([ae3a4a5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ae3a4a5a42e12593af54aa13073588f1c9468f5c))
|
|
31
|
+
* 新增dialog ([cd7b528](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cd7b528e5c27c4573331c833183226e88db5d1e1))
|
|
32
|
+
* 新增标签左线 ([2dcf22a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2dcf22a3c8e0d64c696db9a682bf83f374a108d7))
|
|
33
|
+
* 玩成基础拖拉拽 ([8c5f51e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8c5f51e992941b7a308ac769882212dffab38df2))
|
|
34
|
+
* 调整布局 ([c978183](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c9781838738d4b86976f28af4e3027c93659fc40))
|
|
35
|
+
|
|
5
36
|
### [0.2.82](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.80...v0.2.82) (2025-01-09)
|
|
6
37
|
|
|
7
38
|
|
|
@@ -48,6 +48,10 @@ watch(
|
|
|
48
48
|
const getData = async () => {
|
|
49
49
|
if (props.filterList) return
|
|
50
50
|
if (props.items?.length) {
|
|
51
|
+
if (props.listType === 'waterfall') {
|
|
52
|
+
renderList.value = []
|
|
53
|
+
uWaterfallRef.value?.clear?.()
|
|
54
|
+
}
|
|
51
55
|
const { data } = await uni.$lcb.http.post('/productInfo/filteredPage', {
|
|
52
56
|
productIdList: props.items.map((item) => item.productId),
|
|
53
57
|
productType: props.items[0].productType,
|
|
@@ -56,6 +60,7 @@ const getData = async () => {
|
|
|
56
60
|
renderList.value = data as Record<string, any>[]
|
|
57
61
|
} else {
|
|
58
62
|
renderList.value = []
|
|
63
|
+
uWaterfallRef.value?.clear?.()
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
|
|
@@ -71,6 +76,12 @@ watch(
|
|
|
71
76
|
},
|
|
72
77
|
{ immediate: true, deep: true },
|
|
73
78
|
)
|
|
79
|
+
watch(
|
|
80
|
+
() => props.listType,
|
|
81
|
+
() => {
|
|
82
|
+
getData()
|
|
83
|
+
},
|
|
84
|
+
)
|
|
74
85
|
const columnWidth = (screenWidth - 12 * (1 + props.column)) / 2
|
|
75
86
|
defineExpose({
|
|
76
87
|
clear: () => {
|
|
@@ -117,7 +128,7 @@ defineExpose({
|
|
|
117
128
|
</lcb-action-view>
|
|
118
129
|
</view>
|
|
119
130
|
<!-- 双列 -->
|
|
120
|
-
<view class="grid grid-cols-2 gap-2
|
|
131
|
+
<view class="grid grid-cols-2 box-border gap-2" v-else-if="listType === 'grid'">
|
|
121
132
|
<lcb-action-view
|
|
122
133
|
v-for="(item, index) in renderList"
|
|
123
134
|
:key="`${item?.productId}:${index}`"
|
|
@@ -295,7 +306,6 @@ defineExpose({
|
|
|
295
306
|
:deep(.u-waterfall) {
|
|
296
307
|
display: flex;
|
|
297
308
|
gap: 12px;
|
|
298
|
-
padding: 12px;
|
|
299
309
|
}
|
|
300
310
|
}
|
|
301
311
|
</style>
|
|
@@ -18,7 +18,11 @@
|
|
|
18
18
|
plain
|
|
19
19
|
custom-class="!rounded-10rpx !mt-4 "
|
|
20
20
|
@click="onDrawdown"
|
|
21
|
-
v-if="
|
|
21
|
+
v-if="
|
|
22
|
+
['voucher', 'cashVoucher'].includes(modelValue.userRightsType) &&
|
|
23
|
+
!hiddenDrawdown &&
|
|
24
|
+
currentLevelFlag
|
|
25
|
+
"
|
|
22
26
|
>
|
|
23
27
|
{{ translate('领取') }}
|
|
24
28
|
</wd-button>
|
|
@@ -35,6 +39,7 @@ const { translate } = useTranslate()
|
|
|
35
39
|
const show = ref(false)
|
|
36
40
|
defineProps<{
|
|
37
41
|
hiddenDrawdown?: boolean
|
|
42
|
+
currentLevelFlag?: boolean
|
|
38
43
|
}>()
|
|
39
44
|
const modelValue = defineModel<UserLevelRightsList>()
|
|
40
45
|
watch(
|
package/package.json
CHANGED