@cloudbase/weda-ui-mp 3.7.5 → 3.7.6

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.
@@ -60,7 +60,14 @@
60
60
  border: none;
61
61
  }
62
62
 
63
- .wd-form--vertical-left .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
63
+ .wd-form .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
64
+ padding: 0;
65
+ }
66
+ .wd-form.wd-pc-form .wd-form-obj-root .wd-form-obj > div > .wd-form-item {
67
+ padding-top: 0;
68
+ margin-top: calc(var(--wd-space-base) * 2.5);
69
+ }
70
+ .wd-form.wd-form--weui .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
64
71
  padding: 0;
65
72
  }
66
73
 
@@ -60,7 +60,14 @@
60
60
  border: none;
61
61
  }
62
62
 
63
- .wd-form--vertical-left .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
63
+ .wd-form .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
64
+ padding: 0;
65
+ }
66
+ .wd-form.wd-pc-form .wd-form-obj-root .wd-form-obj > div > .wd-form-item {
67
+ padding-top: 0;
68
+ margin-top: calc(var(--wd-space-base) * 2.5);
69
+ }
70
+ .wd-form.wd-form--weui .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
64
71
  padding: 0;
65
72
  }
66
73
 
@@ -544,6 +544,10 @@ Component({
544
544
 
545
545
  const readValue = `${toShow}${getPercentUnit(format)}`;
546
546
 
547
+ if (this.data.isInit) {
548
+ this.setData({ isInit: false });
549
+ }
550
+
547
551
  // 避免和focus逻辑冲突,延后一个任务执行赋值
548
552
  // eslint-disable-next-line rulesdir/no-timer
549
553
  setTimeout(() => {
@@ -551,7 +555,6 @@ Component({
551
555
  readValue,
552
556
  realValue: toReal,
553
557
  showValue: toShow,
554
- isInit: false,
555
558
  });
556
559
  }, 0);
557
560
  },
@@ -46,6 +46,7 @@
46
46
  width: 100%;
47
47
  text-align: right;
48
48
  color: var(--wd-form-textarea-label-color);
49
+ margin-top: auto;
49
50
  }
50
51
  .wd-form-textarea-wrap__input {
51
52
  max-height: var(--wd-form-textarea-group-max-height);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "miniprogram": "./",
4
4
  "packageManager": "yarn@3.0.2",
5
5
  "dependencies": {},
6
- "version": "3.7.5",
6
+ "version": "3.7.6",
7
7
  "main": "./",
8
8
  "publishConfig": {
9
9
  "access": "public"