|
@@ -90,13 +90,11 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="评论图" prop="evaluation">
|
|
|
- <div class="demo-image__preview" style="width: 100px;height: 100%">
|
|
|
+<!-- <div class="demo-image__preview" style="width: 100px;height: 100%">-->
|
|
|
<el-image
|
|
|
- style="width: 100px; height: 100px"
|
|
|
- :src="url"
|
|
|
- :preview-src-list="srcList">
|
|
|
+ style="width:100px; height:100px;margin:0 5px 0 10px;" v-for="(urls,index) in photoUrl" :key="index" :src="urls" :preview-src-list="photoUrl" >
|
|
|
</el-image>
|
|
|
- </div>
|
|
|
+<!-- </div>-->
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -140,6 +138,7 @@ export default {
|
|
|
postManagement: {
|
|
|
dishesName: ''
|
|
|
},
|
|
|
+ photoUrl:['https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg','https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'],
|
|
|
// 分页
|
|
|
sorts: {
|
|
|
page: 1,
|
|
@@ -196,6 +195,8 @@ export default {
|
|
|
info(data) {
|
|
|
this.workTitle = "详情";
|
|
|
this.postManagement = JSON.parse(JSON.stringify(data));
|
|
|
+ console.log(data);
|
|
|
+ this.photoUrl = this.postManagement.photoPath;
|
|
|
this.workDialog = true;
|
|
|
},
|
|
|
// 删除
|