@tplc/business 0.4.200 → 0.4.201

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,23 @@
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.201](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.4.195...v0.4.201) (2025-09-28)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.4.196 ([c7c1a13](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c7c1a130bc26b271280bcf19f8b4949fd773bc5b))
11
+ * **release:** 0.4.197 ([429c906](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/429c90628fa1c64696d8586f906f938cb2ff3363))
12
+ * **release:** 0.4.198 ([1966d27](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/1966d27bdfda3840bfb573cb5073c1148e85dd2d))
13
+ * **release:** 0.4.199 ([214449b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/214449b823499bd37a5ba542ef79b4268e0cf7d7))
14
+ * **release:** 0.4.200 ([e003377](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e0033779a16d9bf0da645d8c8be603064efbe58d))
15
+
16
+
17
+ ### ✨ Features | 新功能
18
+
19
+ * tabs 支持修改字体粗细 大小 ([e82aae2](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e82aae25719dcd3e00d57a1116f7a18f1d3de915))
20
+ * 支持 ([de0836a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/de0836a947e8afdffd087dabe3f1aea24a04e83c))
21
+
5
22
  ### [0.4.200](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.4.199...v0.4.200) (2025-09-27)
6
23
 
7
24
  ### [0.4.199](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.4.198...v0.4.199) (2025-09-27)
@@ -7,17 +7,17 @@
7
7
  }"
8
8
  >
9
9
  <view class="title">支付</view>
10
- <view class="p-3">
10
+ <view class="p-3 gap-3 flex flex-col">
11
11
  <lcb-custom-content v-bind="dataInfo?.customContent" v-if="dataInfo?.customContent" />
12
12
  <OrderPayment
13
13
  v-model="form.payType"
14
14
  :data="dataInfo?.commitPagePaymentMethod"
15
15
  @onWalletPriceChange="onWalletPriceChange"
16
16
  />
17
- </view>
18
- <view class="flex gap-5 mt-8">
19
- <wd-button plain @click="onCancel">取消</wd-button>
20
- <wd-button @click="pay" type="primary">支付</wd-button>
17
+ <view class="flex gap-5 mt-4">
18
+ <wd-button plain @click="onCancel">取消</wd-button>
19
+ <wd-button @click="pay" type="primary">支付</wd-button>
20
+ </view>
21
21
  </view>
22
22
  </view>
23
23
  </wd-popup>
@@ -28,7 +28,7 @@ import usePay from '../../../../hooks/usePay'
28
28
  import { ref, watch } from 'vue'
29
29
  const form = ref({
30
30
  payType: '',
31
- useWalletPrice: 0,
31
+ useWalletPrice: 84,
32
32
  })
33
33
 
34
34
  const [pay] = usePay(() =>
@@ -57,10 +57,11 @@ watch(
57
57
  () => show.value,
58
58
  async (newVal) => {
59
59
  if (newVal) {
60
- const data = (await uni.$lcb.http.post(
60
+ const { data } = (await uni.$lcb.http.post(
61
61
  props.requestInfo.requestUrl,
62
62
  props.requestInfo.requestParams,
63
63
  )) as any
64
+ form.value.payType = data.commitPagePaymentMethod.find((v) => v.defaultChecked)?.type
64
65
  dataInfo.value = data
65
66
  }
66
67
  },
@@ -52,6 +52,12 @@
52
52
  </view>
53
53
  </view>
54
54
  </wd-popup>
55
+ <PayPopup
56
+ v-model="showPay"
57
+ :requestInfo="requestInfo"
58
+ :submitRequestInfo="submitRequestInfo"
59
+ v-if="[144].includes(getJumpType(jumpType)) && showPay"
60
+ />
55
61
  <SharePopup v-model="showPoster" :params="requestParam" />
56
62
  </template>
57
63
 
@@ -64,6 +70,7 @@ import SharePopup from '../lcb-nav/SharePopup/index.vue'
64
70
  import { useTranslate } from '@tplc/wot'
65
71
  import { PAGE_PROVIDE_KEY, USER_BASIC_INFO } from '../../constants'
66
72
  import { getTemplateMessageList, TemplateMessage } from '../../api/user'
73
+ import PayPopup from './components/PayPopup/index.vue'
67
74
  const { translate } = useTranslate()
68
75
  defineOptions({
69
76
  name: 'LcbActionView',
@@ -78,6 +85,7 @@ const props = defineProps<LcbActionViewProps>()
78
85
  const basicInfo = inject(USER_BASIC_INFO, {}) as unknown as Ref<Record<string, any>>
79
86
  const pageInfo = inject(PAGE_PROVIDE_KEY) as unknown as Ref<Record<string, any>>
80
87
  const showPoster = ref(false)
88
+ const showPay = ref(false)
81
89
  const emits = defineEmits<{
82
90
  (e: 'phone', value: { detail: { errMsg: string; encryptedData: string; iv: string } }): void
83
91
  (e: 'avatar', value: string): void
@@ -295,6 +303,9 @@ const onActionClick = async () => {
295
303
  })
296
304
  }
297
305
  break
306
+ case 144:
307
+ showPay.value = true
308
+ break
298
309
  default:
299
310
  emits('click', props)
300
311
  break
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.200",
3
+ "version": "0.4.201",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],