Commit 01b85d48 authored by YuY's avatar YuY

大赛描述页面提交

parent 6ecb3da5
...@@ -57,13 +57,10 @@ ...@@ -57,13 +57,10 @@
<el-table-column type="index" label="序号" width="55" align="center"/> <el-table-column type="index" label="序号" width="55" align="center"/>
<el-table-column label="封面" prop="contestPicture" :show-overflow-tooltip="true" width="300px"> <el-table-column label="封面" prop="contestPicture" :show-overflow-tooltip="true" width="300px">
<template slot-scope="scope"> <template slot-scope="scope">
<div :id="step(scope.$index)"> <div :id="step(scope.$index)">
<el-image @click="handleClickStop(scope.$index)" style="width:100%;height:100%;" <el-image @click="handleClickStop(scope.$index)" style="width:100%;height:100%;" :src="scope.row.url" :preview-src-list="[scope.row.url]"/>
:src="scope.row.url" :preview-src-list="[scope.row.url]"> <!-- <el-image :src="imagePath+scope.row.url" :preview-src-list="scope.row.srclist" style="width:100%;height:100%;" @click="handleClickStop(scope.$index)" @mouseover="justEnter($event)" @mouseout="justOut($event)" />-->
<!-- <div slot="error" class="image-slot">-->
<!-- <i class="el-icon-picture-outline"></i>-->
<!-- </div>-->
</el-image>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -252,7 +249,8 @@ export default { ...@@ -252,7 +249,8 @@ export default {
response => { response => {
this.cmsContestList = response.rows this.cmsContestList = response.rows
this.total = response.total this.total = response.total
// this.imageUrl = this.imagePath + res.data.url // this.imageUrl = this.imagePath + response.rows.url
console.log("this.imageUrl",this.imageUrl)
this.loading = false this.loading = false
} }
) )
...@@ -318,7 +316,7 @@ export default { ...@@ -318,7 +316,7 @@ export default {
handleAdd() { handleAdd() {
this.reset() this.reset()
this.open = true this.open = true
this.title = '添加' this.title = '添加大赛支持'
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
...@@ -327,7 +325,7 @@ export default { ...@@ -327,7 +325,7 @@ export default {
getCmsContest(id).then(response => { getCmsContest(id).then(response => {
this.form = response.data this.form = response.data
this.open = true this.open = true
this.title = '修改' this.title = '修改大赛支持'
}) })
}, },
// 改变状态 // 改变状态
......
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