@tplc/business 0.7.32 → 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 CHANGED
@@ -2,6 +2,25 @@
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
+
5
24
  ### [0.7.32](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.24...v0.7.32) (2025-12-27)
6
25
 
7
26
 
@@ -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
- (val) => {
56
- if (val) {
57
- if (val === 'toStore') {
56
+ () => [form.value?.payType, form.value?.payCardId],
57
+ ([newPayType]) => {
58
+ if (newPayType) {
59
+ if (newPayType === 'toStore') {
58
60
  form.value.toStoreFlag = true
59
- form.value.walletAccountId = undefined
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.32",
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.16"
14
+ "@tplc/wot": "1.0.17"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",