@tplc/business 0.4.41 → 0.4.43

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,43 @@
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.43](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.42...v0.4.43) (2025-03-31)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 修改默认定位 ([de955ed](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/de955ed48add18b9224404217a6adaac3424c347))
11
+
12
+ ### [0.4.42](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.38...v0.4.42) (2025-03-31)
13
+
14
+
15
+ ### 🚀 Chore | 构建/工程依赖/工具
16
+
17
+ * **release:** 0.4.39 ([630918a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/630918a141566b6ebb94900f00c9f213586f1f50))
18
+ * **release:** 0.4.40 ([ebca848](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ebca848bf53a1805f580987b1cde4505d191cc6f))
19
+ * **release:** 0.4.41 ([d9a4289](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d9a4289bd35067631c17608c2404e5c3c0bf3834))
20
+
21
+
22
+ ### 🐛 Bug Fixes | Bug 修复
23
+
24
+ * 修改form 图片连接错误 ([da24213](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/da242135f2626d8e275ad1ed63c0dd5c7846d4dc))
25
+
26
+
27
+ ### ✨ Features | 新功能
28
+
29
+ * copy 新增数据 ([0c4b648](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0c4b648f09a69205a706da51f03a89f451c0a58c))
30
+ * form 同步 ([b0327eb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b0327eb6cd1057698400d54a34270996f89e1f9a))
31
+ * tag颜色 ([5bae6b4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5bae6b4a57dc19c954c949784eca217e4b2080d8))
32
+ * 动态数据跳转 ([0c0cbc9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0c0cbc94c0cee42bd4d4f7940c991a5e1cad6c0a))
33
+ * 复制组件 ([e41ef9f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e41ef9f4a5bd2fb352b7692786467b2577a15fdd))
34
+ * 支持copy ([b60e945](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b60e94517d30ace677f4cbd46f44fb4f92d193b4))
35
+ * 支持修改确认文案 ([7412dd3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7412dd3d7dd9ef5cf90867005fcc01d93aa9b8ee))
36
+ * 新增copy ([a5a5d34](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a5a5d34d6904b9536d23fd75114ef1123e44a846))
37
+ * 新增rate颜色 ([93539fe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93539fe8c1bf3235a856717b70980efad916ea79))
38
+ * 新增数据 ([d2e3aea](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2e3aea2bb0bbd1d4a9fb79e243070e2ae2753de))
39
+ * 日期颜色支持白色 ([08044aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/08044aa5af832e3916b4399c140b57c59e970723))
40
+ * 星级配置 ([30ccc30](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/30ccc30da8a56f45f247b56e0743ccf4827ed898))
41
+
5
42
  ### [0.4.41](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.40...v0.4.41) (2025-03-31)
6
43
 
7
44
  ### [0.4.40](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.39...v0.4.40) (2025-03-31)
@@ -143,6 +143,7 @@ const value = computed(() => {
143
143
  'inline text-[32rpx] font-bold',
144
144
  `line-clamp-${itemProps.titleLineClamp}`,
145
145
  ]"
146
+ class="mr-1"
146
147
  :style="style"
147
148
  :value="value"
148
149
  >
@@ -151,14 +152,14 @@ const value = computed(() => {
151
152
  </slot>
152
153
 
153
154
  <slot :value="value" v-if="prop === 'level' && value && Number(value)" name="level">
154
- <view :class="className" :style="style" class="inline relative ml-1">
155
+ <view :class="className" :style="style" class="inline relative flex items-center">
155
156
  <wd-rate
156
157
  :model-value="Number(value)"
157
158
  :num="Number(value)"
158
159
  readonly
159
- size="22rpx"
160
- active-color="var(--wot-color-theme)"
161
- custom-class="!v-inherit text-22rpx"
160
+ :size="style.fontSize ?? '22rpx'"
161
+ :active-color="style?.color ?? 'var(--wot-color-theme)'"
162
+ custom-class="!v-inherit"
162
163
  />
163
164
  </view>
164
165
  </slot>
@@ -240,7 +241,7 @@ const value = computed(() => {
240
241
  :key="tag"
241
242
  :custom-class="`!text-22rpx ${className}`"
242
243
  :style="style"
243
- :color="itemProps?.tagContentColor ?? '#434D96'"
244
+ :color="itemProps?.tagContentColor ?? 'var(--primary-color)'"
244
245
  :bg-color="itemProps?.tagBgColor"
245
246
  :plain="itemProps?.tagPlain ?? true"
246
247
  :mark="itemProps?.tagMark ?? false"
@@ -10,5 +10,5 @@ export interface UserLocation {
10
10
  haveNotTip: string
11
11
  showName: string
12
12
  }
13
- export const getUserLocation = (data: { userLongitude: string; userLatitude: string }) =>
13
+ export const getUserLocation = (data?: { userLongitude: string; userLatitude: string }) =>
14
14
  uni.$lcb.http.post<UserLocation>('/address/userLocation', data)
@@ -70,7 +70,13 @@ const useLocation = () => {
70
70
  },
71
71
  fail: function (res) {
72
72
  console.log('获取位置信息失败:', res)
73
- locationIng.value = false
73
+ getUserLocation()
74
+ .then((res) => {
75
+ currentLocation.value = res.data
76
+ })
77
+ .finally(() => {
78
+ locationIng.value = false
79
+ })
74
80
  },
75
81
  })
76
82
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.41",
3
+ "version": "0.4.43",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -10,7 +10,7 @@ export interface UserLocation {
10
10
  haveNotTip: string
11
11
  showName: string
12
12
  }
13
- export declare const getUserLocation: (data: {
13
+ export declare const getUserLocation: (data?: {
14
14
  userLongitude: string
15
15
  userLatitude: string
16
16
  }) => Promise<import('../action').IResData<UserLocation>>