@tplc/business 0.7.31 → 0.7.33
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 +54 -0
- package/components/lcb-action-view/components/PayPopup/index.vue +8 -10
- package/components/lcb-banner/lcb-banner.vue +15 -3
- package/components/lcb-banner/types.ts +2 -0
- package/components/lcb-product/components/ProductSkeleton/index.vue +0 -1
- package/components/lcb-product/components/SKeletonItem/index.vue +0 -1
- package/package.json +2 -2
- package/types/components/lcb-banner/types.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,60 @@
|
|
|
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.7.33](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.31...v0.7.33) (2025-12-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ♻️ Code Refactoring | 代码重构
|
|
9
|
+
|
|
10
|
+
* remove unused imports from ProductSkeleton and SkeletonItem components ([c04e392](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c04e392e5baa3d7739d96192c4604798db116723))
|
|
11
|
+
* remove unused type definitions and components from business package ([2bd79a4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2bd79a4c6c546a1c079ca4e291c73bd9d49a8f23))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
15
|
+
|
|
16
|
+
* **release:** 0.7.32 ([80cf1d3](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/80cf1d33766e510be6990e4f721448cab806f9ae))
|
|
17
|
+
* **release:** 1.0.17 ([f987a45](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f987a454c73379be440ffc75f8fd06d55da2632a))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### ✨ Features | 新功能
|
|
21
|
+
|
|
22
|
+
* add button type to SelectPicker and implement remote search functionality ([2e09dea](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2e09dea2be7087b925d732b0211641d2e1039424))
|
|
23
|
+
|
|
24
|
+
### [0.7.32](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.24...v0.7.32) (2025-12-27)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### ✨ Features | 新功能
|
|
28
|
+
|
|
29
|
+
* area ([33ad1e4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/33ad1e459d9b104d664a4aed33bcf08b52a0f02c))
|
|
30
|
+
* auto ([49e6f33](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/49e6f33f93fb07e165a22885fd9d7511e6e6f84a))
|
|
31
|
+
* 优化渲染 ([7ad9de0](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7ad9de0f1effd3ba99d341927ce71ae8de2deec6))
|
|
32
|
+
* 修复title ([d7035fb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d7035fbe2641b3aa4f172d204419decff18ed169))
|
|
33
|
+
* 修改兼容尺寸 ([9079ff7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9079ff74d88162468a3528b533f9492ca7c2dfaa))
|
|
34
|
+
* 修改尺寸 ([83ae159](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/83ae159dc058fa0486745149d45f19d7d3a5050a))
|
|
35
|
+
* 修改样式兼容 ([7b286d6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7b286d6a299da10f79d02b9565e6e681ce61c494))
|
|
36
|
+
* 兼容area ([3974374](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/39743742aa8426e34d0bd2b321c48e2b1ef2aa37))
|
|
37
|
+
* 兼容padding ([267de42](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/267de42fc3e2f539b5fa47bd8ef2389f8eb57207))
|
|
38
|
+
* 去掉异步 ([ee2e200](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ee2e2000d17f36ba049727aab365631b8652ab50))
|
|
39
|
+
* 新增优化版本 ([aac61bb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/aac61bbc06a90fc8ade33c8c1765f4df5d4ba37e))
|
|
40
|
+
* 暂时不用处理 ([5c15637](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/5c15637f45bb06a32c8e42a36b01ab98cf1d71a8))
|
|
41
|
+
* 样式调整 ([bd83b18](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/bd83b1815a283f7dcd602dc02ca7644e0c5f2d6d))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
45
|
+
|
|
46
|
+
* **release:** 0.7.25 ([0a110c9](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0a110c989454680daeb197fb654671b1b06a48b5))
|
|
47
|
+
* **release:** 0.7.26 ([75679b1](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/75679b1c1e654f92be0e58ee9925f497de417fe9))
|
|
48
|
+
* **release:** 0.7.27 ([3604f1a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3604f1a901a3be757e8c23921248c4fa8d10f5e3))
|
|
49
|
+
* **release:** 0.7.28 ([16adc1d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/16adc1d765b0db9fe16ea9e5522e5158f1369bb1))
|
|
50
|
+
* **release:** 0.7.29 ([3219783](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/321978338a41e79980adde7c5343a1bde98ce8ca))
|
|
51
|
+
* **release:** 0.7.30 ([3c70115](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3c70115037e2324cdd7543a289e5d879fc4487e9))
|
|
52
|
+
* **release:** 0.7.31 ([e7a3f7f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e7a3f7f192dbbe0b968d7ab8b492413fb8888368))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### ♻️ Code Refactoring | 代码重构
|
|
56
|
+
|
|
57
|
+
* remove unused imports from ProductSkeleton and SkeletonItem components ([c04e392](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c04e392e5baa3d7739d96192c4604798db116723))
|
|
58
|
+
|
|
5
59
|
### [0.7.31](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.30...v0.7.31) (2025-12-23)
|
|
6
60
|
|
|
7
61
|
### [0.7.30](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.29...v0.7.30) (2025-12-22)
|
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
<lcb-custom-content v-bind="dataInfo?.customContent" v-if="dataInfo?.customContent" />
|
|
12
12
|
<lcb-order-payment
|
|
13
13
|
v-model="form.payType"
|
|
14
|
+
v-model:payCardId="form.payCardId"
|
|
14
15
|
:data="dataInfo?.commitPagePaymentMethod"
|
|
15
16
|
@onWalletPriceChange="onWalletPriceChange"
|
|
16
17
|
v-if="dataInfo?.commitPagePaymentMethod"
|
|
17
18
|
/>
|
|
18
|
-
<view class="flex gap-5 mt-4">
|
|
19
|
+
<view class="flex gap-5 mt-4 justify-center items-center">
|
|
19
20
|
<wd-button plain @click="onCancel">取消</wd-button>
|
|
20
21
|
<wd-button @click="pay" type="primary">支付</wd-button>
|
|
21
22
|
</view>
|
|
@@ -39,6 +40,7 @@ defineOptions({
|
|
|
39
40
|
const form = ref({
|
|
40
41
|
payType: '',
|
|
41
42
|
useWalletPrice: 84,
|
|
43
|
+
payCardId: '',
|
|
42
44
|
toStoreFlag: false,
|
|
43
45
|
walletAccountId: '' as string | undefined,
|
|
44
46
|
})
|
|
@@ -51,17 +53,14 @@ const [pay] = usePay(() =>
|
|
|
51
53
|
)
|
|
52
54
|
|
|
53
55
|
watch(
|
|
54
|
-
() => form.value?.payType,
|
|
55
|
-
(
|
|
56
|
-
if (
|
|
57
|
-
if (
|
|
56
|
+
() => [form.value?.payType, form.value?.payCardId],
|
|
57
|
+
([newPayType]) => {
|
|
58
|
+
if (newPayType) {
|
|
59
|
+
if (newPayType === 'toStore') {
|
|
58
60
|
form.value.toStoreFlag = true
|
|
59
|
-
|
|
60
|
-
} else if (val !== 'wechat') {
|
|
61
|
-
form.value.walletAccountId = val
|
|
61
|
+
} else if (newPayType !== 'wechat') {
|
|
62
62
|
form.value.toStoreFlag = false
|
|
63
63
|
} else {
|
|
64
|
-
form.value.walletAccountId = undefined
|
|
65
64
|
form.value.toStoreFlag = false
|
|
66
65
|
}
|
|
67
66
|
}
|
|
@@ -91,7 +90,6 @@ watch(
|
|
|
91
90
|
props.requestInfo.requestUrl,
|
|
92
91
|
props.requestInfo.requestParams,
|
|
93
92
|
)) as any
|
|
94
|
-
// form.value.payType = data.commitPagePaymentMethod.find((v) => v.defaultChecked)?.type
|
|
95
93
|
dataInfo.value = data
|
|
96
94
|
}
|
|
97
95
|
},
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
'full-screen-flow': fullBannerFlow,
|
|
7
7
|
'full-screen-swiper': (fullScreenBackground || fullBannerFlow) && !height,
|
|
8
8
|
}"
|
|
9
|
-
:style="
|
|
10
|
-
filter: fullScreenBackground ? `blur(${Math.min(scrollTop / 100, 10)}px)` : 'none',
|
|
11
|
-
}"
|
|
9
|
+
:style="swiperNavStyle"
|
|
12
10
|
@touchstart="handleTouchStart"
|
|
13
11
|
@touchmove="handleTouchMove"
|
|
14
12
|
@touchend="handleTouchEnd"
|
|
@@ -165,7 +163,21 @@ onPageScroll((e) => {
|
|
|
165
163
|
}
|
|
166
164
|
}
|
|
167
165
|
})
|
|
166
|
+
const swiperNavStyle = computed(() => {
|
|
167
|
+
const style: Record<string, string> = {
|
|
168
|
+
filter: props.fullScreenBackground ? `blur(${Math.min(scrollTop.value / 100, 10)}px)` : 'none',
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
if (props.dotColor) {
|
|
172
|
+
style['--wot-swiper-nav-dot-color'] = props.dotColor
|
|
173
|
+
}
|
|
168
174
|
|
|
175
|
+
if (props.dotActiveColor) {
|
|
176
|
+
style['--wot-swiper-nav-dot-active-color'] = props.dotActiveColor
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
return style
|
|
180
|
+
})
|
|
169
181
|
// Touch event handlers
|
|
170
182
|
const handleTouchStart = (e: TouchEvent) => {
|
|
171
183
|
// 并且当前banner在顶部
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.33",
|
|
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": "1.0.
|
|
14
|
+
"@tplc/wot": "1.0.17"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|