From 49483594d5fb871af11cb9dc375564bb12385e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Mon, 6 Feb 2023 18:12:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/mdp.scss | 15 ++++---- src/views/xm/core/xmIteration/top-nav.vue | 37 ++++---------------- src/views/xm/core/xmProduct/top-nav.vue | 40 +++++----------------- src/views/xm/core/xmProject/top-nav.vue | 37 +++++--------------- src/views/xm/core/xmTestCasedb/top-nav.vue | 37 ++++---------------- 5 files changed, 40 insertions(+), 126 deletions(-) diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index 04158b4a..5adea68b 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -285,6 +285,13 @@ table tr.hover-row{ display:none; } } + +.xl-text{ + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + max-width:300px; +} .lg-text{ text-overflow: ellipsis; overflow: hidden; @@ -318,13 +325,7 @@ table tr.hover-row{ display: inline-block; margin-right: 5px; } - - /** - *解决项目、产品视图顶部左边图标不居中的问题 - */ -.el-menu-item .top-icon > [class^=el-icon-] { - margin-right: 0px !important; -} + .el-dialog__header{ padding: 20px !important; } diff --git a/src/views/xm/core/xmIteration/top-nav.vue b/src/views/xm/core/xmIteration/top-nav.vue index e628f77a..fdc2682a 100644 --- a/src/views/xm/core/xmIteration/top-nav.vue +++ b/src/views/xm/core/xmIteration/top-nav.vue @@ -6,44 +6,21 @@ mode="horizontal" @select="setInfotype" class="menus" + style="margin:0 auto;overflow-x: auto;overflow-y: hidden;display: flex;" background-color="rgb(48, 65, 86)" text-color="rgb(191, 203, 217)" active-text-color="#409eff" :router="true" > - -  迭代{{ - xmIteration.iterationName.substring(0, 15) - }} -  迭代{{ xmIteration.iterationName }} - - -  迭代{{ xmIteration.iterationName.substring(0, 15) }} -  迭代{{ xmIteration.iterationName }} - + >  迭代{{ xmIteration.iterationName }} + + 测试 diff --git a/src/views/xm/core/xmProject/top-nav.vue b/src/views/xm/core/xmProject/top-nav.vue index 8ffc6e33..b3288ba8 100644 --- a/src/views/xm/core/xmProject/top-nav.vue +++ b/src/views/xm/core/xmProject/top-nav.vue @@ -14,35 +14,16 @@ > - -  项目 {{ projectInfo.name.substring(0, 15) }} -  项目 {{ projectInfo.name }} - - - -  项目{{ projectInfo.name.substring(0, 15) }} -  项目{{ projectInfo.name }} - + > +  项目 + {{ projectInfo.name }} + + 产品 diff --git a/src/views/xm/core/xmTestCasedb/top-nav.vue b/src/views/xm/core/xmTestCasedb/top-nav.vue index d4ee2afc..9c5d05cf 100644 --- a/src/views/xm/core/xmTestCasedb/top-nav.vue +++ b/src/views/xm/core/xmTestCasedb/top-nav.vue @@ -6,6 +6,7 @@ mode="horizontal" @select="setInfotype" class="menus" + style="margin:0 auto;overflow-x: auto;overflow-y: hidden;display: flex;" background-color="rgb(48, 65, 86)" text-color="rgb(191, 203, 217)" active-text-color="#409eff" @@ -13,38 +14,14 @@ > - - - - -  测试 {{ testCasedb.name.substring(0, 15) }} -
- - -   测试{{ testCasedb.name }} -
-
- - -  测试{{ testCasedb.name.substring(0, 15) }} - -  测试{{ testCasedb.name }} - + > +  bugs {{ testCasedb.name }} +
用例管理