|
|
@@ -24,7 +24,11 @@
|
|
|
</template>
|
|
|
<!-- 回答类型:wb-文本,sz-数字,rq-日期,zp-照片,dx -->
|
|
|
<template v-if="item.answerType == 'wb'">
|
|
|
- <van-field v-model="item.answerValue" :placeholder="item.remark" />
|
|
|
+ <van-field
|
|
|
+ v-model="item.answerValue"
|
|
|
+ autosize
|
|
|
+ type="textarea"
|
|
|
+ :placeholder="item.remark" />
|
|
|
</template>
|
|
|
<template v-if="item.answerType == 'sz'">
|
|
|
<van-field
|
|
|
@@ -124,12 +128,12 @@ export default {
|
|
|
.van-field {
|
|
|
border: 1px solid #cdc8c8;
|
|
|
padding: 0;
|
|
|
- width: 100%;
|
|
|
+ width: 97%;
|
|
|
border-radius: 4px;
|
|
|
overflow: hidden;
|
|
|
background-color: unset;
|
|
|
- height: 30px;
|
|
|
- line-height: 30px;
|
|
|
+ // height: 30px;
|
|
|
+ // line-height: 30px;
|
|
|
margin: 5px 0;
|
|
|
}
|
|
|
.van-field__control {
|