Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
01b85d48
Commit
01b85d48
authored
Mar 26, 2024
by
YuY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大赛描述页面提交
parent
6ecb3da5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
index.vue
src/views/contentManagement/competitionSupport/index.vue
+7
-9
No files found.
src/views/contentManagement/competitionSupport/index.vue
View file @
01b85d48
...
...
@@ -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
=
'修改
大赛支持
'
})
},
// 改变状态
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment