Commit d1720904 authored by FangYuePeng's avatar FangYuePeng

内容管理—banner管理调整字段顺序

parent a8736390
......@@ -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;
}
......
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