@tplc/business 0.5.81 → 0.5.82

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,8 @@
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.5.82](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.12...v0.5.82) (2025-12-06)
6
+
5
7
  ### [0.5.81](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.80...v0.5.81) (2025-12-06)
6
8
 
7
9
 
@@ -23,52 +23,54 @@
23
23
  >
24
24
  <slot />
25
25
  </button>
26
- <wd-popup
27
- v-model="show"
28
- :safe-area-inset-bottom="position === 'bottom'"
29
- closable
30
- :position="position"
31
- root-portal
32
- v-if="['14', '141'].includes(getJumpType(jumpType)) && show"
33
- :custom-class="position === 'bottom' ? '!rounded-t-20rpx' : '!rounded-20rpx'"
34
- >
35
- <view
36
- class="popup-view"
37
- :style="{
38
- width: position === 'bottom' ? '100vw' : '90vw',
39
- }"
26
+ <view class="absolute">
27
+ <wd-popup
28
+ v-model="show"
29
+ :safe-area-inset-bottom="position === 'bottom'"
30
+ closable
31
+ :position="position"
32
+ root-portal
33
+ v-if="['14', '141'].includes(getJumpType(jumpType)) && show"
34
+ :custom-class="position === 'bottom' ? '!rounded-t-20rpx' : '!rounded-20rpx'"
40
35
  >
41
- <view class="title" v-if="title">
42
- {{ title }}
43
- </view>
44
- <view class="p-3 max-h-50vh overflow-y-auto" v-if="content">
45
- <lcb-rich-text :content="content" />
46
- </view>
47
36
  <view
48
- v-if="getJumpType(jumpType) === '141'"
49
- class="pt-6 pb-5 box-border flex-col-center gap-3"
37
+ class="popup-view"
38
+ :style="{
39
+ width: position === 'bottom' ? '100vw' : '90vw',
40
+ }"
50
41
  >
51
- <wd-qr-code :value="jumpUrl" :canvas-id="`id_${jumpUrl}`" :size="160" />
52
- <view class="flex items-center justify-center gap-2">
53
- <view class="text-3.5">{{ jumpUrl }}</view>
54
- <!-- 复制 -->
55
- <wd-button type="text" @click="onCopy(jumpUrl)">{{ translate('复制') }}</wd-button>
42
+ <view class="title" v-if="title">
43
+ {{ title }}
44
+ </view>
45
+ <view class="p-3 max-h-50vh overflow-y-auto" v-if="content">
46
+ <lcb-rich-text :content="content" />
47
+ </view>
48
+ <view
49
+ v-if="getJumpType(jumpType) === '141'"
50
+ class="pt-6 pb-5 box-border flex-col-center gap-3"
51
+ >
52
+ <wd-qr-code :value="jumpUrl" :canvas-id="`id_${jumpUrl}`" :size="160" />
53
+ <view class="flex items-center justify-center gap-2">
54
+ <view class="text-3.5">{{ jumpUrl }}</view>
55
+ <!-- 复制 -->
56
+ <wd-button type="text" @click="onCopy(jumpUrl)">{{ translate('复制') }}</wd-button>
57
+ </view>
56
58
  </view>
57
59
  </view>
58
- </view>
59
- </wd-popup>
60
- <PayPopup
61
- v-model="showPay"
62
- :requestInfo="requestInfo"
63
- :submitRequestInfo="submitRequestInfo"
64
- v-if="['144'].includes(getJumpType(jumpType)) && showPay && requestInfo && submitRequestInfo"
65
- />
66
- <SharePopup v-model="showPoster" :params="requestParam" />
67
- <CustomPopup
68
- v-model="showCustomPopup"
69
- v-if="['145'].includes(getJumpType(jumpType)) && showCustomPopup"
70
- :jumpUrl="jumpUrl"
71
- />
60
+ </wd-popup>
61
+ <PayPopup
62
+ v-model="showPay"
63
+ :requestInfo="requestInfo"
64
+ :submitRequestInfo="submitRequestInfo"
65
+ v-if="['144'].includes(getJumpType(jumpType)) && showPay && requestInfo && submitRequestInfo"
66
+ />
67
+ <SharePopup v-model="showPoster" :params="requestParam" />
68
+ <CustomPopup
69
+ v-model="showCustomPopup"
70
+ v-if="['145'].includes(getJumpType(jumpType)) && showCustomPopup"
71
+ :jumpUrl="jumpUrl"
72
+ />
73
+ </view>
72
74
  </template>
73
75
 
74
76
  <script setup lang="ts">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.81",
3
+ "version": "0.5.82",
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.7"
14
+ "@tplc/wot": "1.0.12"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",