Browse Source

年龄

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

41
src/views/peoSuggestion/solicitationDaily.vue

@ -2,7 +2,7 @@
<div class="container">
<div class="block">
<div class="">
<van-cell required is-link title="建议主题" @click="onShowPicker()" label="描述信息" :value="ideaTitleName">
<van-cell required is-link title="建议主题" @click="onShowPicker()" label="描述信息" :value="ideaTitleName">
<!-- <div>{{ cascaderValue }}</div> -->
</van-cell>
@ -17,20 +17,20 @@
<div class="textarea">
<van-field v-model="formData.eventContent" autosize label="建议内容" maxlength="800"
placeholder="请输入主要建议内容(内容描述不少于10个 字,不超过800字)" required rows="6" type="textarea">
<template #extra>
<div class="flex flex-y" style="margin-top: 10px;">
<van-uploader max-size="5 * 1024 * 1024" v-model="fileList1" show-upload
:after-read="afterReadFile" :before-read="beforeRead" accept=".doc,.docx,.pdf">
<div style="width: 83px; height: 83px; background-color: #f7f7f7;"
class="flex flex-center1 flex-center2">
<img style="width: 30px; height: 30px;"
src="../../assets/images/peoSuggestion/15.png" />
</div>
</van-uploader>
<span
style="color:#C1C1C1; font-size: 15px; line-height: 18px;margin-top: 10px;">您也可以将建议内容整理成文档上传支持wordpdf格式文件大小不超过5Mb.</span>
</div>
</template>
<template #extra>
<div class="flex flex-y" style="margin-top: 10px;">
<van-uploader max-size="5 * 1024 * 1024" v-model="fileList1" show-upload
:after-read="afterReadFile" :before-read="beforeRead" accept=".doc,.docx,.pdf">
<div style="width: 83px; height: 83px; background-color: #f7f7f7;" class="flex flex-center1 flex-center2">
<img style="width: 30px; height: 30px;"
src="../../assets/images/peoSuggestion/15.png" />
</div>
</van-uploader>
<span
style="color:#C1C1C1; font-size: 15px; line-height: 18px;margin-top: 10px;">您也可以将建议内容整理成文档上传支持wordpdf格式文件大小不超过5Mb.</span>
</div>
</template>
</van-field>
</div>
@ -70,9 +70,10 @@
type="number" />
</div>
<div class="block">
<van-field v-model="formData.age" label="年龄" placeholder="请输入联系人" type="number" @input="onInput" required>
</van-field>
</div>
<van-field v-model="formData.age" label="年龄" placeholder="请输入联系人" type="number" @input="onInput"
required>
</van-field>
</div>
<div class="block">
<van-cell required is-link @click="onClickPopup" :value="operationName">你的身份(可多选)</van-cell>
</div>
@ -82,7 +83,7 @@
</div>
<van-popup v-model="adviceType" position="bottom">
<van-picker title="标题" show-toolbar :columns="ideaTitleTypeList" @confirm="onConfirm" @cancel="onCancel"
value-key="label" />
value-key="label" />
</van-popup>
<van-popup v-model="showPopup" position="bottom" :style="{ height: '50%' }" @close="onClose" round closeable>
<div style="margin: 10px">
@ -216,7 +217,7 @@ export default {
name: name,
url: url
};
this.formData.imageList.push(res.data.url)
this.formData.imageList.push(fileInfo)
})
.catch(() => {

Loading…
Cancel
Save