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

页面修改

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