Browse Source

年龄

xiaowang-feature
是小王呀\24601 8 months ago
parent
commit
06400ba60a
  1. 9
      src/views/peoSuggestion/solicitationDaily.vue

9
src/views/peoSuggestion/solicitationDaily.vue

@ -21,11 +21,11 @@
<div class="flex flex-y" style="margin-top: 10px;"> <div class="flex flex-y" style="margin-top: 10px;">
<van-uploader max-size="5 * 1024 * 1024" v-model="fileList1" show-upload <van-uploader max-size="5 * 1024 * 1024" v-model="fileList1" show-upload
:after-read="afterReadFile" :before-read="beforeRead" accept=".doc,.docx,.pdf"> :after-read="afterReadFile" :before-read="beforeRead" accept=".doc,.docx,.pdf">
<div style="width: 83px; height: 83px; background-color: #f7f7f7;" <div style="width: 83px; height: 83px; background-color: #f7f7f7;" class="flex flex-center1 flex-center2">
class="flex flex-center1 flex-center2">
<img style="width: 30px; height: 30px;" <img style="width: 30px; height: 30px;"
src="../../assets/images/peoSuggestion/15.png" /> src="../../assets/images/peoSuggestion/15.png" />
</div> </div>
</van-uploader> </van-uploader>
<span <span
style="color:#C1C1C1; font-size: 15px; line-height: 18px;margin-top: 10px;">您也可以将建议内容整理成文档上传支持wordpdf格式文件大小不超过5Mb.</span> style="color:#C1C1C1; font-size: 15px; line-height: 18px;margin-top: 10px;">您也可以将建议内容整理成文档上传支持wordpdf格式文件大小不超过5Mb.</span>
@ -70,7 +70,8 @@
type="number" /> type="number" />
</div> </div>
<div class="block"> <div class="block">
<van-field v-model="formData.age" label="年龄" placeholder="请输入联系人" type="number" @input="onInput" required> <van-field v-model="formData.age" label="年龄" placeholder="请输入联系人" type="number" @input="onInput"
required>
</van-field> </van-field>
</div> </div>
<div class="block"> <div class="block">
@ -216,7 +217,7 @@ export default {
name: name, name: name,
url: url url: url
}; };
this.formData.imageList.push(res.data.url) this.formData.imageList.push(fileInfo)
}) })
.catch(() => { .catch(() => {

Loading…
Cancel
Save