@xtdev/xt-miniprogram-ui 1.2.38 → 1.2.39

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.
@@ -51,6 +51,14 @@ Component({
51
51
  chooiceItems:{
52
52
  type:Array,
53
53
  value:[]
54
+ },
55
+ maxlength: {
56
+ type: Number,
57
+ value: -1
58
+ },
59
+ minHeight: {
60
+ type: Number,
61
+ value: 0
54
62
  }
55
63
  },
56
64
 
@@ -33,7 +33,7 @@
33
33
  <view class="title" winp_boxx:if="{{title}}">{{title}}</view>
34
34
  <image catch:tap="closeDialog" src="https://img.tanjiu.cn/home/z8CZkrd2Cm4xyfmMTFbjQpFcdSXQTEk6.png" class="close_icon" wx:if="{{showCloseIcon}}"></image>
35
35
  <view class="inp_wrapper">
36
- <textarea class="inp_content" value="{{inpVal}}" maxlength="{{48}}" disable-default-padding adjust-position auto-height auto-focus placeholder="{{placeholder}}" placeholder-style="color: #999;" bindblur="onInputBlur" />
36
+ <textarea class="inp_content" value="{{inpVal}}" maxlength="{{maxlength}}" disable-default-padding adjust-position auto-height auto-focus placeholder="{{placeholder}}" style="min-height: {{minHeight}}rpx" placeholder-style="color: #999;" bindblur="onInputBlur" />
37
37
  </view>
38
38
  <slot />
39
39
  <slot name="btn"></slot>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtdev/xt-miniprogram-ui",
3
- "version": "1.2.38",
3
+ "version": "1.2.39",
4
4
  "description": "",
5
5
  "miniprogram": "libs",
6
6
  "publishConfig": {