@tplc/business 0.4.19 → 0.4.20

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.4.20](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.19...v0.4.20) (2025-03-26)
6
+
5
7
  ### [0.4.19](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.16...v0.4.19) (2025-03-26)
6
8
 
7
9
 
@@ -124,8 +124,17 @@ watch(
124
124
  () => {
125
125
  setHistoryCity(modelValue.value)
126
126
  show.value = false
127
+ },
128
+ )
129
+
130
+ watch(
131
+ () => modelValue.value,
132
+ () => {
127
133
  uni.$emit('lcb-city-select-change', modelValue.value)
128
134
  },
135
+ {
136
+ immediate: true,
137
+ },
129
138
  )
130
139
 
131
140
  watch(
@@ -19,10 +19,12 @@
19
19
  :key="index"
20
20
  @click="handleSelect(item)"
21
21
  >
22
- <img
22
+ <wd-img
23
23
  :src="item.productTypeIcon"
24
24
  v-if="item.productTypeIcon"
25
- class="mt-0.5 mr-2 w-3.5 h-auto"
25
+ height="auto"
26
+ width="28rpx"
27
+ custom-class="mt-1 mr-2"
26
28
  mode="widthFix"
27
29
  />
28
30
  <view class="w-full">
@@ -37,11 +39,13 @@
37
39
  {{ textPart.text }}
38
40
  </text>
39
41
  </view>
40
- <img
42
+ <wd-img
41
43
  :src="item.titleIcon"
42
44
  v-if="item.titleIcon"
43
- class="ml-1 w-3 h-auto"
44
- mode="widthFix"
45
+ height="24rpx"
46
+ width="24rpx"
47
+ custom-class="ml-1"
48
+ mode="aspectFill"
45
49
  />
46
50
  </view>
47
51
  <view v-if="item.price">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],