@tplc/business 0.7.7 → 0.7.8

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,13 @@
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.8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.7...v0.7.8) (2025-12-13)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 更新数据 ([e018f0d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e018f0d589eebe0b7903ba8d1a5bf44bce09c415))
11
+
5
12
  ### [0.7.7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.6...v0.7.7) (2025-12-13)
6
13
 
7
14
  ### [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
  })
@@ -25,7 +25,14 @@
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.chooseFlag"
30
+ v-bind="{
31
+ ...addressCommunityProps,
32
+ switchType:
33
+ addressCommunityProps?.switchType || pageInfo.chooseFlag ? 'merchant' : 'address',
34
+ }"
35
+ />
29
36
  <view
30
37
  v-if="(styleGroup === 3 || moreThanTwoPages() || !canBack) && capsuleList.length"
31
38
  class="navbar-capsule flex justify-center items-center"
@@ -248,7 +255,6 @@ const canBack = computed(() => {
248
255
  })
249
256
 
250
257
  const pageInfo = inject(PAGE_PROVIDE_KEY) as Ref<Record<string, any>>
251
-
252
258
  const capsuleList = computed(() => {
253
259
  const list: ICapsule[] = []
254
260
  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.8",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],