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
d1720904
Commit
d1720904
authored
Apr 01, 2024
by
FangYuePeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内容管理—banner管理调整字段顺序
parent
a8736390
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
index.vue
src/views/contentManagement/banner/index.vue
+20
-18
No files found.
src/views/contentManagement/banner/index.vue
View file @
d1720904
...
...
@@ -53,23 +53,7 @@
<div
class=
"placeholder"
/>
<div
style=
"padding:5px 10px"
>
<el-table
v-loading=
"loading"
border
:data=
"cmsBannerList"
>
<el-table-column
label=
"分类"
prop=
"type"
:show-overflow-tooltip=
"true"
width=
"130px"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.type=='0'"
>
课程资源
</span>
<span
v-else-if=
"scope.row.type=='1'"
>
其他资源
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"名称"
prop=
"bannerName"
:show-overflow-tooltip=
"true"
width=
"130px"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
bannerName
||
'-'
}}
</
template
>
</el-table-column>
<!-- <el-table-column label="图片" prop="bannerPicture" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.bannerPicture || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
type=
"index"
label=
"序号"
width=
"60px"
align=
"center"
/>
<el-table-column
label=
"图片"
prop=
"bannerPicture"
:show-overflow-tooltip=
"true"
width=
"150px"
>
<template
slot-scope=
"scope"
>
<div
:id=
"step(scope.$index)"
>
...
...
@@ -88,6 +72,24 @@
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"分类"
prop=
"type"
:show-overflow-tooltip=
"true"
width=
"130px"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.type=='0'"
>
课程资源
</span>
<span
v-else-if=
"scope.row.type=='1'"
>
其他资源
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"名称"
prop=
"bannerName"
:show-overflow-tooltip=
"true"
width=
"130px"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
bannerName
||
'-'
}}
</
template
>
</el-table-column>
<!-- <el-table-column label="图片" prop="bannerPicture" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.bannerPicture || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"链接地址"
prop=
"linkUrl"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
linkUrl
||
'-'
}}
...
...
@@ -483,7 +485,7 @@ export default {
font-size
:
18px
;
padding
:
0
;
::v-deep
.el-table
td
:nth-child
(
3
)
.cell
{
::v-deep
.el-table
td
:nth-child
(
2
)
.cell
{
margin
:
10px
;
text-align
:
center
!
important
;
}
...
...
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