Commit 007e7a44 authored by 黄奎's avatar 黄奎

页面修改

parent a5bca78c
......@@ -289,7 +289,7 @@
},
mounted() {
if (!this.isOnline()) {
this.msg.Account = "18140042327";
this.msg.Account = "13551132418";
this.msg.Password = "123456";
this.msg.ValidataCode = "1234";
}
......
......@@ -39,10 +39,15 @@
<el-tooltip class="item" effect="dark" content="建议尺寸750*750" placement="top">
<el-button @click="openChangeDig(2)" size="small">选择文件</el-button>
</el-tooltip>
<div class="app-gallery-item" style="position: relative;width: 100px;margin-top: 10px;">
<img v-if="!addMsg.pjPath || addMsg.pjPath==''" src="../../assets/img/default.png"
style="width:80px;height:80px" alt="">
<img v-else style="width:80px;height:80px" :src="addMsg.pjPath" alt="">
<div class="app-gallery-item" style="position: relative;margin-top: 10px;">
<template v-if="addMsg.CommentImgList&&addMsg.CommentImgList.length>0" >
<template v-for="(item,index) in addMsg.CommentImgList">
<img :key="index" :src="item" style="width:80px;height:80px;padding-left:10px;" alt="">
</template>
</template>
<template v-else>
<img src="../../assets/img/default.png" style="width:80px;height:80px" alt="">
</template>
</div>
</el-form-item>
<el-form-item label="评价">
......@@ -61,7 +66,6 @@
</el-switch>
</el-form-item>
</el-form>
</div>
<div style="margin-top:20px">
<el-button size="small" type="primary" @click="Save">保存</el-button>
......@@ -151,7 +155,7 @@
}
if (this.imgType == 2) {
let url = this.getIconLink(msg.url)
this.addMsg.CommentImgList = [url];
this.addMsg.CommentImgList.push(url);
this.addMsg.pjPath = url;
}
this.changeState = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment