Files
dvcp_v2_wxcp_app/src/project/fd/AppAnswer/answerAdd.vue

88 lines
1.7 KiB
Vue
Raw Normal View History

2023-01-10 11:35:04 +08:00
<template>
<div class="answerAdd">
2023-01-10 14:36:10 +08:00
<div class="input_box">
<u-input v-model="value" type="textarea" height="580" maxlength="10000"
:clearable="false" placeholder="请输入回答内容" :auto-height="true" placeholder-style="color: '#AAAAAA';font-size: 16px" />
</div>
<div class="upload">
<h4>图片上传<span>(最多9张)</span></h4>
<AiUploader :def.sync="form.url" multiple placeholder="上传图片" :limit="9" action="/admin/file/add2"></AiUploader>
</div>
<div class="submitBtn">
<div class="btn">提交</div>
</div>
2023-01-10 11:35:04 +08:00
</div>
</template>
<script>
export default {
name: "answerAdd",
appName: "进行回答",
data() {
return {
2023-01-10 14:36:10 +08:00
value: '',
form: {
url: []
}
2023-01-10 11:35:04 +08:00
}
},
methods: {
},
onShow() {},
}
</script>
<style lang="scss" scoped>
.answerAdd {
2023-01-10 14:36:10 +08:00
padding: 32px 32px 130px 32px;
box-sizing: border-box;
.input_box,
.upload {
width: 100%;
background: #FFF;
border-radius: 32px;
padding: 16px;
box-sizing: border-box;
}
2023-01-10 11:35:04 +08:00
2023-01-10 14:36:10 +08:00
.upload {
margin-top: 24px;
h4 {
font-weight: 400;
font-size: 32px;
color: #666666;
margin-bottom: 24px;
span {
color: #999999;
font-size: 28px;
}
}
}
.submitBtn {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 120px;
background: #F3F5F9;
padding: 16px 32px;
box-sizing: border-box;
z-index: 9;
.btn {
background: #3975C6;
width: 100%;
border-radius: 44px;
height: 88px;
line-height: 88px;
text-align: center;
color: #FFFFFF;
font-size: 34px;
}
}
2023-01-10 11:35:04 +08:00
}
</style>