@tplc/business 0.2.80 → 0.2.83
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 +50 -0
- package/components/lcb-img-nav/lcb-img-nav.vue +1 -0
- package/components/lcb-product/lcb-product.vue +13 -3
- package/components/lcb-title/lcb-title.vue +21 -1
- package/components/lcb-title/types.ts +1 -0
- package/components/lcb-vip/components/InfoDialog/index.vue +6 -1
- package/package.json +1 -1
- package/types/components/lcb-title/lcb-title.vue.d.ts +3 -0
- package/types/components/lcb-title/types.d.ts +1 -0
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
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.83](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.81...v0.2.83) (2025-01-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.2.82 ([6e2c692](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6e2c6928267d8b1e5a58dc4a323c86e77a5756dc))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
14
|
+
|
|
15
|
+
* 瀑布流同步引擎 ([16173be](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/16173be627260f74db0a6ccf7b9e44769769c4eb))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### ✨ Features | 新功能
|
|
19
|
+
|
|
20
|
+
* 提交area ([29d7fc2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d7fc2c17f26b918cb6f89a1048108dd945a446))
|
|
21
|
+
* 新增listtype ([ec37780](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ec377801ee384e1c2e8db587753d304cccb47f25))
|
|
22
|
+
* add area test ([36658f1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/36658f1cb910ddd6163d2708ea4e3ad1b3a459ce))
|
|
23
|
+
* 引擎构建支持本地sftp ([ae3a4a5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ae3a4a5a42e12593af54aa13073588f1c9468f5c))
|
|
24
|
+
* 新增dialog ([cd7b528](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cd7b528e5c27c4573331c833183226e88db5d1e1))
|
|
25
|
+
* 新增标签左线 ([2dcf22a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2dcf22a3c8e0d64c696db9a682bf83f374a108d7))
|
|
26
|
+
* 玩成基础拖拉拽 ([8c5f51e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8c5f51e992941b7a308ac769882212dffab38df2))
|
|
27
|
+
* 调整布局 ([c978183](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c9781838738d4b86976f28af4e3027c93659fc40))
|
|
28
|
+
|
|
29
|
+
### [0.2.82](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.80...v0.2.82) (2025-01-09)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
33
|
+
|
|
34
|
+
* **release:** 0.2.81 ([0cbe3db](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cbe3dbdb94242830fe0587f276944c2d15bbcb8))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### ✨ Features | 新功能
|
|
38
|
+
|
|
39
|
+
* product 支持调整布局 ([d836ffc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d836ffcba2415c137e7956a18e6ee954e53bbdb4))
|
|
40
|
+
* 新增标签左线 ([2dcf22a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2dcf22a3c8e0d64c696db9a682bf83f374a108d7))
|
|
41
|
+
|
|
42
|
+
### [0.2.81](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.79...v0.2.81) (2025-01-08)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
46
|
+
|
|
47
|
+
* **release:** 0.2.80 ([b282465](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b2824652912725873b76bd8c138bc96e82151b28))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### ✨ Features | 新功能
|
|
51
|
+
|
|
52
|
+
* level判断 ([c2beddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c2beddd0a181d3b60281bdfddec7f70357668a7f))
|
|
53
|
+
* product 支持调整布局 ([d836ffc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d836ffcba2415c137e7956a18e6ee954e53bbdb4))
|
|
54
|
+
|
|
5
55
|
### [0.2.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.78...v0.2.80) (2025-01-08)
|
|
6
56
|
|
|
7
57
|
|
|
@@ -48,14 +48,19 @@ watch(
|
|
|
48
48
|
const getData = async () => {
|
|
49
49
|
if (props.filterList) return
|
|
50
50
|
if (props.items?.length) {
|
|
51
|
-
|
|
51
|
+
if (props.listType === 'waterfall') {
|
|
52
|
+
renderList.value = []
|
|
53
|
+
uWaterfallRef.value?.clear?.()
|
|
54
|
+
}
|
|
52
55
|
const { data } = await uni.$lcb.http.post('/productInfo/filteredPage', {
|
|
53
56
|
productIdList: props.items.map((item) => item.productId),
|
|
54
57
|
productType: props.items[0].productType,
|
|
58
|
+
listType: props.listType,
|
|
55
59
|
})
|
|
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>
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
:style="{
|
|
10
10
|
fontWeight,
|
|
11
11
|
}"
|
|
12
|
+
:class="{
|
|
13
|
+
'title-line': showTitleLine,
|
|
14
|
+
}"
|
|
12
15
|
>
|
|
13
16
|
{{ title }}
|
|
14
17
|
</view>
|
|
@@ -63,6 +66,23 @@ withDefaults(defineProps<LcbTitleProps>(), {
|
|
|
63
66
|
hintFontSize: 24,
|
|
64
67
|
hintColor: '#666',
|
|
65
68
|
hintVerticalAlign: 'end',
|
|
69
|
+
showTitleLine: false,
|
|
66
70
|
})
|
|
67
71
|
</script>
|
|
68
|
-
<style lang="scss" scoped
|
|
72
|
+
<style lang="scss" scoped>
|
|
73
|
+
@import '@tplc/wot/components/common/abstracts/variable';
|
|
74
|
+
.title-line {
|
|
75
|
+
position: relative;
|
|
76
|
+
padding-left: 10rpx !important;
|
|
77
|
+
&::after {
|
|
78
|
+
content: '';
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 5%;
|
|
81
|
+
left: 0;
|
|
82
|
+
border-radius: 4rpx;
|
|
83
|
+
width: 6rpx;
|
|
84
|
+
height: 90%;
|
|
85
|
+
background-color: $-color-theme;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
</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
|
@@ -15,6 +15,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
15
15
|
hintFontSize: number
|
|
16
16
|
hintColor: string
|
|
17
17
|
hintVerticalAlign: string
|
|
18
|
+
showTitleLine: boolean
|
|
18
19
|
}
|
|
19
20
|
>,
|
|
20
21
|
{},
|
|
@@ -43,6 +44,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
43
44
|
hintFontSize: number
|
|
44
45
|
hintColor: string
|
|
45
46
|
hintVerticalAlign: string
|
|
47
|
+
showTitleLine: boolean
|
|
46
48
|
}
|
|
47
49
|
>
|
|
48
50
|
>
|
|
@@ -62,6 +64,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
62
64
|
hintColor: string
|
|
63
65
|
hintFontSize: number
|
|
64
66
|
hintVerticalAlign: 'end' | 'center'
|
|
67
|
+
showTitleLine: boolean
|
|
65
68
|
moreColor: string
|
|
66
69
|
moreFontSize: number
|
|
67
70
|
moreVerticalAlign: 'end' | 'center'
|