From ff9b976bde73fe1d31e9b84cf1fa6b91e1b79dbc Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 17 十二月 2021 11:46:32 +0800 Subject: [PATCH] 修复ztree显示空目录功能 --- src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue b/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue index 0b6fd70..087be6e 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/guideIndex.vue @@ -3340,6 +3340,29 @@ } } } + + th { + background-color: #2d52d7; + div { + color: #fff; + } + } + + tr:nth-child(even) { + background-color: #f4f6f9; + + &:hover > td.el-table__cell:hover { + background-color: #f4f6f9; + } + } + + tr:nth-child(odd) { + background-color: #fff; + + &:hover > td.el-table__cell:hover { + background-color: #fff; + } + } } } } -- Gitblit v1.8.0