@tplc/business 0.4.146 → 0.4.147

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.147](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.91...v0.4.147) (2025-06-28)
6
+
5
7
  ### [0.4.146](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.88...v0.4.146) (2025-06-27)
6
8
 
7
9
  ### [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">其他</wd-checkbox>
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">其他</wd-checkbox>
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: 8rpx;
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 !important;
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
- height: auto !important;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.146",
3
+ "version": "0.4.147",
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.88"
14
+ "@tplc/wot": "0.1.91"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",