@tplc/business 0.4.146 → 0.4.148
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,28 @@
|
|
|
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.148](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.145...v0.4.148) (2025-07-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.1.88 ([f47874e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f47874e1458b5f12b71e00d02516adbec7414a4b))
|
|
11
|
+
* **release:** 0.1.89 ([824a5ff](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/824a5ff81ea247ecbf6fd1d977497cae13065d26))
|
|
12
|
+
* **release:** 0.1.90 ([c342dc2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c342dc21f623a05f0e07d1ffb4e13a3a48076106))
|
|
13
|
+
* **release:** 0.1.91 ([9c19e59](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9c19e59308adec5e871266f110b0bf4f1611bac9))
|
|
14
|
+
* **release:** 0.4.146 ([154b96c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/154b96c52995bffd4713977d2bf84630489c2163))
|
|
15
|
+
* **release:** 0.4.147 ([e7ad4a4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e7ad4a4740fc1b9c46fd0a8d6653f032bbf4c06b))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### ✨ Features | 新功能
|
|
19
|
+
|
|
20
|
+
* form 支持自定义 ([1a25d08](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1a25d087870cec8b1f5765a5bba60b1d445c5ea3))
|
|
21
|
+
* 修改tag ([e982d6f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e982d6f34507a65b2821362b4c25d7a06121ca55))
|
|
22
|
+
* 修改字段 ([9703fee](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9703feeb88641654891db3dfde0a16e76e5b64fe))
|
|
23
|
+
* 兼容form ([9f083af](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9f083af653c733047f153865aa69d9a33518e3d7))
|
|
24
|
+
|
|
25
|
+
### [0.4.147](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.91...v0.4.147) (2025-06-28)
|
|
26
|
+
|
|
5
27
|
### [0.4.146](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.88...v0.4.146) (2025-06-27)
|
|
6
28
|
|
|
7
29
|
### [0.4.145](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.137...v0.4.145) (2025-06-26)
|
|
@@ -111,11 +111,14 @@
|
|
|
111
111
|
v-for="item in getColumns(field.frontInputContent)"
|
|
112
112
|
:key="item"
|
|
113
113
|
:modelValue="item"
|
|
114
|
+
shape="square"
|
|
114
115
|
>
|
|
115
116
|
{{ item }}
|
|
116
117
|
</wd-checkbox>
|
|
117
118
|
<template v-if="field.frontInputTypeValue === '1'">
|
|
118
|
-
<wd-checkbox :modelValue="customField" key="custom"
|
|
119
|
+
<wd-checkbox :modelValue="customField" key="custom" shape="square">
|
|
120
|
+
其他
|
|
121
|
+
</wd-checkbox>
|
|
119
122
|
<view class="custom-input" v-if="form[field.field]?.includes(customField)">
|
|
120
123
|
<wd-input
|
|
121
124
|
:placeholder="`请输入自定义内容`"
|
|
@@ -132,6 +135,7 @@
|
|
|
132
135
|
v-model="form[field.field]"
|
|
133
136
|
v-bind="field.props"
|
|
134
137
|
shape="button"
|
|
138
|
+
custom-class="checkbox-group-button"
|
|
135
139
|
>
|
|
136
140
|
<wd-checkbox
|
|
137
141
|
v-for="item in getColumns(field.frontInputContent)"
|
|
@@ -141,7 +145,9 @@
|
|
|
141
145
|
{{ item }}
|
|
142
146
|
</wd-checkbox>
|
|
143
147
|
<template v-if="field.frontInputTypeValue === '1'">
|
|
144
|
-
<wd-checkbox :modelValue="customField" key="custom"
|
|
148
|
+
<wd-checkbox :modelValue="customField" key="custom" shape="square">
|
|
149
|
+
其他
|
|
150
|
+
</wd-checkbox>
|
|
145
151
|
<view class="custom-input" v-if="form[field.field]?.includes(customField)">
|
|
146
152
|
<wd-input
|
|
147
153
|
:placeholder="`请输入自定义内容`"
|
|
@@ -367,12 +373,19 @@ watch(
|
|
|
367
373
|
line-height: inherit !important;
|
|
368
374
|
padding: 0px !important;
|
|
369
375
|
margin: 0px !important;
|
|
376
|
+
.wd-radio__label {
|
|
377
|
+
margin-right: 8rpx;
|
|
378
|
+
max-width: 100% !important;
|
|
379
|
+
height: auto !important;
|
|
380
|
+
text-align: left !important;
|
|
381
|
+
white-space: break-spaces !important;
|
|
382
|
+
}
|
|
370
383
|
}
|
|
371
384
|
:deep(.wd-radio-group) {
|
|
372
385
|
text-align: left !important;
|
|
373
386
|
display: flex;
|
|
374
387
|
flex-wrap: wrap;
|
|
375
|
-
gap:
|
|
388
|
+
gap: 24rpx;
|
|
376
389
|
// flex-direction: column;
|
|
377
390
|
}
|
|
378
391
|
:deep(.wd-checkbox) {
|
|
@@ -380,6 +393,9 @@ watch(
|
|
|
380
393
|
padding: 0px !important;
|
|
381
394
|
margin: 0px !important;
|
|
382
395
|
}
|
|
396
|
+
:deep(.wd-checkbox.is-button-box) {
|
|
397
|
+
width: 32%;
|
|
398
|
+
}
|
|
383
399
|
:deep(.wd-checkbox-group) {
|
|
384
400
|
text-align: left !important;
|
|
385
401
|
display: flex;
|
|
@@ -401,22 +417,24 @@ watch(
|
|
|
401
417
|
}
|
|
402
418
|
|
|
403
419
|
.vertical {
|
|
404
|
-
:deep(.wd-radio-group) {
|
|
405
|
-
flex-direction: column !important;
|
|
406
|
-
}
|
|
407
420
|
:deep(.wd-checkbox-group) {
|
|
408
|
-
flex-direction: column
|
|
409
|
-
.is-button-box {
|
|
410
|
-
width: 100%;
|
|
411
|
-
box-sizing: border-box;
|
|
412
|
-
}
|
|
421
|
+
flex-direction: column;
|
|
413
422
|
.wd-checkbox__txt {
|
|
414
423
|
white-space: break-spaces;
|
|
415
424
|
}
|
|
425
|
+
.wd-checkbox {
|
|
426
|
+
display: flex;
|
|
427
|
+
}
|
|
428
|
+
.is-square {
|
|
429
|
+
margin-top: 10rpx;
|
|
430
|
+
}
|
|
416
431
|
.wd-checkbox__label {
|
|
417
|
-
|
|
432
|
+
flex: 1;
|
|
418
433
|
}
|
|
419
434
|
}
|
|
435
|
+
:deep(.checkbox-group-button) {
|
|
436
|
+
flex-direction: row;
|
|
437
|
+
}
|
|
420
438
|
}
|
|
421
439
|
|
|
422
440
|
.bottom-fixed {
|
|
@@ -340,7 +340,7 @@ const coverImgWidth = computed(() => {
|
|
|
340
340
|
|
|
341
341
|
<!-- 价格后缀 -->
|
|
342
342
|
<slot :value="value" v-else-if="prop === 'priceSuffix'" name="priceSuffix">
|
|
343
|
-
<view :class="className" :style="style" class="text-22rpx
|
|
343
|
+
<view :class="className" :style="style" class="text-22rpx">
|
|
344
344
|
{{ value }}
|
|
345
345
|
</view>
|
|
346
346
|
</slot>
|
|
@@ -254,9 +254,12 @@ const itemStyle = computed(() => {
|
|
|
254
254
|
<ItemValue :prop="propName" v-else />
|
|
255
255
|
</template>
|
|
256
256
|
</view>
|
|
257
|
-
<view
|
|
257
|
+
<view
|
|
258
|
+
class="flex gap-[4rpx] items-end justify-end"
|
|
259
|
+
v-if="priceVisible && isNumber(price)"
|
|
260
|
+
>
|
|
258
261
|
<ItemValue prop="priceUnit" />
|
|
259
|
-
<view class="flex items-
|
|
262
|
+
<view class="flex items-end justify-center gap-0.5">
|
|
260
263
|
<ItemValue prop="price" />
|
|
261
264
|
<ItemValue prop="priceSuffix" />
|
|
262
265
|
</view>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.148",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "0.1.
|
|
14
|
+
"@tplc/wot": "0.1.91"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|