From 0175cda6150656bc74b34c6f6c71edd1e1fc653c Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 04 二月 2021 18:22:54 +0800 Subject: [PATCH] treee, 修复tab切换时树的选中状态.添加区域 --- src/pages/library/components/baseList.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/pages/library/components/baseList.vue b/src/pages/library/components/baseList.vue index 4e80915..d56c868 100644 --- a/src/pages/library/components/baseList.vue +++ b/src/pages/library/components/baseList.vue @@ -7,7 +7,7 @@ :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;" @@ -15,7 +15,7 @@ v-if="isShow('library:set')" ></i> <span - class="ml5" + class="m5" style="font-size:14px;color:#3D68E1;" @click.stop="add('sync')" v-if="isShow('library:set')" @@ -66,8 +66,7 @@ </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,7 +74,7 @@ <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;" @@ -83,7 +82,7 @@ v-if="isShow('library:set')" ></i> <span - class="ml5" + class="m5" style="font-size:14px;color:#3D68E1;" @click.stop="add('local')" v-if="isShow('library:set')" @@ -132,8 +131,7 @@ </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> @@ -403,4 +401,10 @@ white-space: nowrap; margin: 0 auto; } +.m5 { + margin: 5px; +} +.p10 { + padding: 10px; +} </style> -- Gitblit v1.8.0