@zscreate/zhxy-app-component 1.0.314 → 1.0.315
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.
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
|
|
55
55
|
<!-- textarea -->
|
|
56
56
|
<view v-else-if="widget.type === 'textarea'" class="evan-form-item-container"
|
|
57
|
-
:class="'evan-form-item-container--' + labelPosition"
|
|
57
|
+
:class="'evan-form-item-container--' + labelPosition">
|
|
58
58
|
<view class="evan-form-item-container__label"
|
|
59
59
|
:class="{ showAsteriskRect: hasRequiredAsterisk, isRequired: showRequiredAsterisk }" :style="mLabelStyle">
|
|
60
60
|
{{ widget.name }}
|
|
61
61
|
</view>
|
|
62
|
-
<view class="evan-form-item-container__main evan-form-item-container__textarea
|
|
62
|
+
<view class="evan-form-item-container__main evan-form-item-container__textarea" :style="mContentStyle">
|
|
63
63
|
<view v-if="widget.options.disabled" class="form-input cover-text" style="height: initial;line-break: anywhere;">
|
|
64
64
|
{{ dataModel }}
|
|
65
65
|
</view>
|
|
66
|
-
<textarea v-else maxlength="-1" class="form-input cover-text
|
|
66
|
+
<textarea v-else maxlength="-1" class="form-input cover-text" v-model="dataModel"
|
|
67
67
|
:style="{ height: (widget.options.height || 100) * 2 + 'px'}"
|
|
68
|
-
placeholder-class="form-input-placeholder
|
|
68
|
+
placeholder-class="form-input-placeholder"
|
|
69
69
|
:placeholder="widget.options.placeholder" :disabled="widget.options.disabled">
|
|
70
70
|
</textarea>
|
|
71
71
|
</view>
|
|
@@ -1222,7 +1222,7 @@ export default {
|
|
|
1222
1222
|
})
|
|
1223
1223
|
uni.navigateTo({
|
|
1224
1224
|
url: '/pages/picker/relateSub?multiple=' + Number(widget.multiple) + '¶ms=' + encodeURIComponent(JSON.stringify(params)) + '&sign=' + PubsubSign +
|
|
1225
|
-
'&selectedData=' + JSON.stringify(this.dataModel ? this.dataModel : [])
|
|
1225
|
+
'&selectedData=' + JSON.stringify(this.dataModel ? this.dataModel : [])
|
|
1226
1226
|
});
|
|
1227
1227
|
|
|
1228
1228
|
},
|
|
@@ -1263,10 +1263,10 @@ export default {
|
|
|
1263
1263
|
},
|
|
1264
1264
|
|
|
1265
1265
|
downLoadFile(item) {
|
|
1266
|
-
// #ifdef H5
|
|
1267
1266
|
if(this.widget.options.disabled){
|
|
1268
1267
|
return;
|
|
1269
1268
|
}
|
|
1269
|
+
// #ifdef H5
|
|
1270
1270
|
const { h5_preview, h5_preview_type } = this.widget.options
|
|
1271
1271
|
if (h5_preview) {
|
|
1272
1272
|
return h5PreviewFile(this.downLoadUrl + item.url, h5_preview_type)
|
|
@@ -1851,11 +1851,10 @@ export default {
|
|
|
1851
1851
|
this.validateInit()
|
|
1852
1852
|
})
|
|
1853
1853
|
var departType = this.widget.options.departType ? this.widget.options.departType : ''
|
|
1854
|
-
var departTypeAFDesign = this.widget.options.departTypeAFDesign ? this.widget.options.departTypeAFDesign : ''
|
|
1855
1854
|
uni.navigateTo({
|
|
1856
1855
|
url: '/pages/picker/depart?sign=' + PubsubSign + '&multiple=' + flag + '&departRela=' +
|
|
1857
1856
|
departRela + '&selectedDepart=' + JSON.stringify(this.dataModel ? this.dataModel : []) + '&departType=' +
|
|
1858
|
-
departType
|
|
1857
|
+
departType
|
|
1859
1858
|
});
|
|
1860
1859
|
},
|
|
1861
1860
|
// 获取EvanForm组件
|
|
@@ -2321,19 +2320,16 @@ checkbox-group label {
|
|
|
2321
2320
|
&--top {
|
|
2322
2321
|
.evan-form-item-container__label {
|
|
2323
2322
|
// padding-bottom: 10upx;
|
|
2324
|
-
color: #000000
|
|
2323
|
+
color: #000000;
|
|
2325
2324
|
}
|
|
2326
2325
|
}
|
|
2327
2326
|
}
|
|
2328
2327
|
|
|
2329
2328
|
::v-deep .form-input-placeholder {
|
|
2330
2329
|
// line-height: 90upx;
|
|
2331
|
-
color: #555
|
|
2330
|
+
color: #555;
|
|
2332
2331
|
}
|
|
2333
2332
|
|
|
2334
|
-
::v-deep .form-input-placeholder-textarea {
|
|
2335
|
-
text-align: left !important;
|
|
2336
|
-
}
|
|
2337
2333
|
.form-textarea-placeholder {
|
|
2338
2334
|
padding-top: 28upx;
|
|
2339
2335
|
font-size: 34upx;
|