From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 09 十一月 2021 18:01:59 +0800 Subject: [PATCH] 问题修复 --- src/pages/library/components/baseList.vue | 40 ++++++++++++++++++++++------------------ 1 files changed, 22 insertions(+), 18 deletions(-) diff --git a/src/pages/library/components/baseList.vue b/src/pages/library/components/baseList.vue index d714f17..d56c868 100644 --- a/src/pages/library/components/baseList.vue +++ b/src/pages/library/components/baseList.vue @@ -7,18 +7,18 @@ :class="title==='鍚屾搴�'?'iconfont iconshuaxintongbu':'iconfont iconwenjianjia'" style="font-size:18px;" ></span> - <span class="ml5 f14">{{title}}</span> + <span class="m5">{{title}}</span> <i class="el-icon-circle-plus-outline ml10" style="font-size:20px;color:#3D68E1;" @click.stop="add('sync')" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" ></i> <span - class="ml5" + class="m5" style="font-size:14px;color:#3D68E1;" @click.stop="add('sync')" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" >鏂板</span> </template> <div class="max-height"> @@ -52,22 +52,21 @@ <span class="iconfont iconbianji iconStyle1" @click.stop="edit(item,'sync')" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" ></span> </el-tooltip> <el-tooltip content="鍒犻櫎" placement="top" popper-class="atooltip"> <span class="iconfont iconshanchu iconStyle1" style="color:#E74C3C;" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" @click.stop="deleteBase(item.id)" ></span> </el-tooltip> </el-col> <el-col :span="24" - class="tl ml10 f12" - style="color:#888888" + style="text-align:left;margin-left:10px; color:#888888" >{{item.startTime}}~{{item.endTime?item.endTime:'姘镐箙鏈夋晥'}}</el-col> </el-row> </div> @@ -75,18 +74,18 @@ <el-collapse-item name="2" class="el-collapse-item__wrap"> <template slot="title"> <span class="iconfont iconwenjianjia" style="font-size:18px;"></span> - <span class="ml5 f14">{{titleB}}</span> + <span class="m5">{{titleB}}</span> <i class="el-icon-circle-plus-outline ml10" style="font-size:20px;color:#3D68E1;" @click.stop="add('local')" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" ></i> <span - class="ml5" + class="m5" style="font-size:14px;color:#3D68E1;" @click.stop="add('local')" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" >鏂板</span> </template> <div class="max-height"> @@ -118,22 +117,21 @@ <span class="iconfont iconbianji iconStyle1" @click.stop="edit(item,'local')" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" ></span> </el-tooltip> <el-tooltip content="鍒犻櫎" placement="top" popper-class="atooltip"> <span class="iconfont iconshanchu iconStyle1" style="color:#E74C3C;" - v-if="isShow('videoTable:edit')" + v-if="isShow('library:set')" @click.stop="deleteBase(item.id)" ></span> </el-tooltip> </el-col> <el-col :span="24" - class="tl ml10 f12" - style="color:#888888" + style="text-align:left;margin-left:10px; color:#888888" >{{item.startTime}}~{{item.endTime?item.endTime:'姘镐箙鏈夋晥'}}</el-col> </el-row> </div> @@ -222,7 +220,7 @@ }, isDisabled(item) { var flag = true - if (this.isShow('videoTable:edit')) { + if (this.isShow('library:set')) { if (item.endTime == "") { flag = false } else { @@ -329,7 +327,7 @@ }, // 宸︿晶搴曞簱鐢熸晥寮�鍏虫槸鍚﹀惎鐢ㄥ垽鏂� // isDisa(data) { - // if (!this.isShow('videoTable:edit')) { + // if (!this.isShow('library:set')) { // return true // } else { // return false @@ -403,4 +401,10 @@ white-space: nowrap; margin: 0 auto; } +.m5 { + margin: 5px; +} +.p10 { + padding: 10px; +} </style> -- Gitblit v1.8.0