Commit 01b85d48 authored by YuY's avatar YuY

大赛描述页面提交

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