提交 206c9654 编写于 作者: huangwensu's avatar huangwensu

样式修改

上级 c0e0507d
...@@ -185,11 +185,11 @@ ...@@ -185,11 +185,11 @@
action="#" action="#"
:show-file-list="false" :show-file-list="false"
:before-upload="beforeAvatarUpload_4"> :before-upload="beforeAvatarUpload_4">
<el-button size="mini" type="primary">上传</el-button> <el-button class="head-btn" size="mini" type="primary">上传</el-button>
</el-upload> </el-upload>
<div class="uploat-content"> <div class="uploat-content">
<img v-if="questionEditList.headDiagramUrl" :src="questionEditList.headDiagramUrl" class="bg-img"> <img v-if="questionEditList.headDiagramUrl" :src="questionEditList.headDiagramUrl" class="head-bg-img">
<img v-if="!questionEditList.headDiagramUrl" class="bg-img" src="../../assets/image/default.png"> <img v-if="!questionEditList.headDiagramUrl" class="head-bg-img" src="../../assets/image/default.png">
</div> </div>
</el-form-item> </el-form-item>
</div> </div>
...@@ -481,6 +481,7 @@ export default { ...@@ -481,6 +481,7 @@ export default {
vm.POST('/campaign/adminQuestionnaire/insertOrUpdateQuestionnaire',req).then((res) => { vm.POST('/campaign/adminQuestionnaire/insertOrUpdateQuestionnaire',req).then((res) => {
if(res.code == '000000') { if(res.code == '000000') {
vm.discussEditVisible = false vm.discussEditVisible = false
vm.search()
}else { }else {
vm.$message.info(res.message) vm.$message.info(res.message)
} }
...@@ -517,13 +518,19 @@ export default { ...@@ -517,13 +518,19 @@ export default {
.avatar-uploader { .avatar-uploader {
float: right; float: right;
.el-button { .el-button {
margin-top: 48px !important;
margin-left: 10px; margin-left: 10px;
} }
.head-btn {
margin-top: 48px !important;
}
} }
.uploat-content { .uploat-content {
float: left; float: left;
.bg-img { .bg-img {
width: 150px;
height: 30px;
}
.head-bg-img {
width: 80px; width: 80px;
height: 80px; height: 80px;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册