@tplc/business 0.7.4 → 0.7.5
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 +24 -0
- package/components/lcb-nav/AddressCommunity/index.vue +11 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.89...v0.7.5) (2025-12-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.5.88 ([147ff6e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/147ff6e104f27f92690da8df5aca80e628fa9ed3))
|
|
11
|
+
* **release:** 0.5.89 ([414fcce](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/414fcce2d291ecfb1526eaf19512d745370f9893))
|
|
12
|
+
* **release:** 0.5.90 ([8965a49](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8965a49098b6e87bf49c496160b37efbcc369a1c))
|
|
13
|
+
* **release:** 0.5.91 ([c618ab3](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c618ab3e525bdc0faa81d69b64c5d560183fdb3d))
|
|
14
|
+
* **release:** 0.5.91 ([682a08c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/682a08cbd4be990feeaac7fe4dc9b7c4494acafd))
|
|
15
|
+
* **release:** 0.7.1 ([dc26746](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/dc26746c5e35bbca6e4becc9463dd63a85c18635))
|
|
16
|
+
* **release:** 0.7.2 ([0f3050c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0f3050cc048955e83c1fc3af62dcbb2959785792))
|
|
17
|
+
* **release:** 0.7.3 ([5912bfd](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/5912bfdea30fa0c6a29ab9016f0e21bce040d135))
|
|
18
|
+
* **release:** 0.7.4 ([aeb4b94](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/aeb4b9483077e8796cece772c6f3e0f690b7d9d9))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### ✨ Features | 新功能
|
|
22
|
+
|
|
23
|
+
* 地址切换修改 ([ef8042b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ef8042b422e59cc12090a80665504fbc17d65257))
|
|
24
|
+
* 支持切换模式 ([2983347](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2983347d57b86c5cb99e0a7a93550c438bbd829c))
|
|
25
|
+
* 更新版本 ([71a7e8a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/71a7e8ab13cc71ae43c0e6152df26a55a6faa996))
|
|
26
|
+
* 更新版本 ([0fce71c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0fce71ccbb8387302b003f93b0108f98b1b0273e))
|
|
27
|
+
* 调整hover 才显示 ([59d3fac](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/59d3faca5f780005d1868bc6681a2cdc59c5d3c5))
|
|
28
|
+
|
|
5
29
|
### [0.7.4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.3...v0.7.4) (2025-12-12)
|
|
6
30
|
|
|
7
31
|
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
<script setup lang="ts">
|
|
26
26
|
import { ref, watch, computed } from 'vue'
|
|
27
27
|
import { AddressCommunityProps } from '../types'
|
|
28
|
+
import { getCurrentPage } from '../../../utils/utils'
|
|
28
29
|
defineOptions({
|
|
29
30
|
name: 'AddressCommunity',
|
|
30
31
|
options: {
|
|
@@ -85,7 +86,15 @@ watch(
|
|
|
85
86
|
)
|
|
86
87
|
|
|
87
88
|
const handleChange = (e: any) => {
|
|
88
|
-
|
|
89
|
+
if (props.switchType === 'merchant') {
|
|
90
|
+
// 刷新当前页面
|
|
91
|
+
uni.$emit('refreshSchemaPage', {
|
|
92
|
+
pageDecorationId: e.selectedItem.addressId,
|
|
93
|
+
pageId: getCurrentPage().pageId,
|
|
94
|
+
})
|
|
95
|
+
} else {
|
|
96
|
+
uni.$lcb.constantsStore?.()?.setAddressId(e.selectedItem.addressId, props.switchType)
|
|
97
|
+
}
|
|
89
98
|
}
|
|
90
99
|
|
|
91
100
|
const onChooseAddress = () => {
|
|
@@ -93,7 +102,7 @@ const onChooseAddress = () => {
|
|
|
93
102
|
if (props.switchType === 'address') {
|
|
94
103
|
uni.$lcb.navigateTo(`/pages-sub/index/store`)
|
|
95
104
|
} else if (props.switchType === 'merchant') {
|
|
96
|
-
uni.$lcb.navigateTo(`/pages-sub/index/merchant?
|
|
105
|
+
uni.$lcb.navigateTo(`/pages-sub/index/merchant?pageId=${getCurrentPage().pageId}`)
|
|
97
106
|
}
|
|
98
107
|
}
|
|
99
108
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
7
7
|
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
10
|
+
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
11
|
+
"release-major": "standard-version --release-as major ",
|
|
12
|
+
"release-minor": "standard-version --release-as minor",
|
|
13
|
+
"release-patch": "standard-version --release-as patch ",
|
|
14
|
+
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
15
|
+
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
16
|
+
},
|
|
8
17
|
"publishConfig": {
|
|
9
18
|
"access": "public",
|
|
10
19
|
"registry": "https://registry.npmjs.org/"
|
|
11
20
|
},
|
|
12
21
|
"peerDependencies": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
22
|
+
"@tplc/wot": "workspace:*",
|
|
23
|
+
"vue": ">=3.2.47"
|
|
15
24
|
},
|
|
16
25
|
"engines": {
|
|
17
26
|
"node": ">=18",
|
|
@@ -24,14 +33,5 @@
|
|
|
24
33
|
},
|
|
25
34
|
"devDependencies": {
|
|
26
35
|
"standard-version": "^9.5.0"
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
30
|
-
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
31
|
-
"release-major": "standard-version --release-as major ",
|
|
32
|
-
"release-minor": "standard-version --release-as minor",
|
|
33
|
-
"release-patch": "standard-version --release-as patch ",
|
|
34
|
-
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
35
|
-
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|