@tplc/business 0.7.7 → 0.7.9

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,20 @@
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.9](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.8...v0.7.9) (2025-12-13)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 支持切喊 ([4b3bde8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/4b3bde83e45d5cd6893e23459dd281acb496e09c))
11
+
12
+ ### [0.7.8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.7...v0.7.8) (2025-12-13)
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * 更新数据 ([e018f0d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e018f0d589eebe0b7903ba8d1a5bf44bce09c415))
18
+
5
19
  ### [0.7.7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.6...v0.7.7) (2025-12-13)
6
20
 
7
21
  ### [0.7.6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.5...v0.7.6) (2025-12-13)
@@ -39,7 +39,7 @@ const props = withDefaults(defineProps<AddressCommunityProps>(), {
39
39
  color: '#000',
40
40
  fontSize: 28,
41
41
  width: 240,
42
- mode: 'normal',
42
+ mode: 'menu',
43
43
  popupWidth: 240,
44
44
  switchType: 'address',
45
45
  })
@@ -104,6 +104,7 @@ const handleChange = (e: any) => {
104
104
  uni.$emit('refreshSchemaPage', {
105
105
  pageDecorationId: e.selectedItem.pageDecorationId,
106
106
  pageId: getCurrentPage().pageId,
107
+ mode: props.mode,
107
108
  })
108
109
  } else {
109
110
  uni.$lcb.constantsStore?.()?.setAddressId(e.selectedItem.addressId, props.switchType)
@@ -25,7 +25,16 @@
25
25
  >
26
26
  <!-- 左边布局 -->
27
27
  <view class="navbar-left z-1">
28
- <AddressCommunity v-if="showAddressCommunity" v-bind="addressCommunityProps" />
28
+ <AddressCommunity
29
+ v-if="showAddressCommunity || pageInfo.frontConfig?.chooseFlag"
30
+ v-bind="{
31
+ ...addressCommunityProps,
32
+ switchType: pageInfo.frontConfig?.chooseFlag
33
+ ? 'merchant'
34
+ : addressCommunityProps?.switchType,
35
+ mode: pageInfo.frontConfig?.mode || addressCommunityProps?.mode,
36
+ }"
37
+ />
29
38
  <view
30
39
  v-if="(styleGroup === 3 || moreThanTwoPages() || !canBack) && capsuleList.length"
31
40
  class="navbar-capsule flex justify-center items-center"
@@ -248,7 +257,6 @@ const canBack = computed(() => {
248
257
  })
249
258
 
250
259
  const pageInfo = inject(PAGE_PROVIDE_KEY) as Ref<Record<string, any>>
251
-
252
260
  const capsuleList = computed(() => {
253
261
  const list: ICapsule[] = []
254
262
  if (canBack.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.7",
3
+ "version": "0.7.9",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],