From a3439c2f58c3e703d533004d2956cda913930589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 7 Feb 2023 00:41:15 +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 | 19 ++++--------------- .../xm/core/components/XmIterationSelect.vue | 8 ++++---- .../xm/core/components/XmProductSelect.vue | 4 ++-- .../xm/core/components/XmProjectSelect.vue | 4 ++-- .../xmIteration/XmIterationForLinkComplex.vue | 9 +++++---- src/views/xm/core/xmIteration/top-nav.vue | 4 ++-- .../xmProduct/XmProductForLinkComplex.vue | 4 ++-- src/views/xm/core/xmProduct/top-nav.vue | 3 +-- .../xmProject/XmProjectForLinkComplex.vue | 4 ++-- src/views/xm/core/xmProject/top-nav.vue | 2 +- src/views/xm/core/xmTestCasedb/top-nav.vue | 2 +- 11 files changed, 26 insertions(+), 37 deletions(-) diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index 5adea68b..929ac73d 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -285,24 +285,13 @@ table tr.hover-row{ display:none; } } + -.xl-text{ - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - max-width:300px; -} -.lg-text{ +.res-text{ text-overflow: ellipsis; overflow: hidden; white-space: nowrap; - max-width:250px; -} -.sm-text{ - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - max-width:200px; + max-width:20vw; } /** *解决表格固定列无法滚动问题 @@ -378,7 +367,7 @@ table tr.hover-row{ .page-center{ margin:0 auto; max-width: 95vw; - } + } } /*ipad*/ @media only screen and (min-width: 768px) and (max-width: 992px) { diff --git a/src/views/xm/core/components/XmIterationSelect.vue b/src/views/xm/core/components/XmIterationSelect.vue index 88899237..a29610ea 100644 --- a/src/views/xm/core/components/XmIterationSelect.vue +++ b/src/views/xm/core/components/XmIterationSelect.vue @@ -120,16 +120,16 @@
- +
-
+
{{ editForm&&editForm.id?editForm.iterationName:'选择迭代' }}
-
+
{{ editForm&&editForm.id?editForm.iterationName:'选择迭代' }} @@ -137,7 +137,7 @@   - +
diff --git a/src/views/xm/core/components/XmProductSelect.vue b/src/views/xm/core/components/XmProductSelect.vue index c53a6ab3..0010adce 100644 --- a/src/views/xm/core/components/XmProductSelect.vue +++ b/src/views/xm/core/components/XmProductSelect.vue @@ -192,13 +192,13 @@ v-loading="load.list" icon="el-icon-s-opportunity" > -
+
{{ editForm && editForm.id ? editForm.productName : "选择产品" }}
-
+
{{ editForm && editForm.id ? editForm.productName : "选择产品" }} diff --git a/src/views/xm/core/components/XmProjectSelect.vue b/src/views/xm/core/components/XmProjectSelect.vue index 472fc97d..0577cf32 100644 --- a/src/views/xm/core/components/XmProjectSelect.vue +++ b/src/views/xm/core/components/XmProjectSelect.vue @@ -194,13 +194,13 @@ type="warning" icon="el-icon-odometer" > -
+
{{ editForm && editForm.id ? editForm.name: "选择项目" }}
-
+
{{ editForm && editForm.id ? editForm.name: "选择项目" }} diff --git a/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue b/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue index 87f49e05..9d006242 100644 --- a/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue +++ b/src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue @@ -3,13 +3,14 @@
- - + + +
 迭代{{ xmIteration.iterationName }} diff --git a/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue b/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue index e932289a..fb06dfc8 100644 --- a/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue +++ b/src/views/xm/core/xmProduct/XmProductForLinkComplex.vue @@ -13,8 +13,8 @@ @clear="onProductClearSelect" > diff --git a/src/views/xm/core/xmProduct/top-nav.vue b/src/views/xm/core/xmProduct/top-nav.vue index 8efdc8ed..6f0503d4 100644 --- a/src/views/xm/core/xmProduct/top-nav.vue +++ b/src/views/xm/core/xmProduct/top-nav.vue @@ -16,8 +16,7 @@
  产品{{ xmProduct.productName }} diff --git a/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue b/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue index 7b80a822..7d9f6dc0 100644 --- a/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue +++ b/src/views/xm/core/xmProject/XmProjectForLinkComplex.vue @@ -13,8 +13,8 @@ @clear="onProjectClearSelect" > diff --git a/src/views/xm/core/xmProject/top-nav.vue b/src/views/xm/core/xmProject/top-nav.vue index bc01781c..ea91f062 100644 --- a/src/views/xm/core/xmProject/top-nav.vue +++ b/src/views/xm/core/xmProject/top-nav.vue @@ -16,7 +16,7 @@
diff --git a/src/views/xm/core/xmTestCasedb/top-nav.vue b/src/views/xm/core/xmTestCasedb/top-nav.vue index 9c5d05cf..a5d80311 100644 --- a/src/views/xm/core/xmTestCasedb/top-nav.vue +++ b/src/views/xm/core/xmTestCasedb/top-nav.vue @@ -16,7 +16,7 @@