reedliuqing_i 5 ani în urmă
părinte
comite
f4756b76e9

+ 2 - 2
src/views/projectManage/requirement/details/index.vue

@@ -193,7 +193,7 @@
         </el-aside>
       </el-container>
     </el-main>
-    <el-main style="margin: 2%;" class="layout_main">
+    <el-main style="margin: 2%;" class="layout_main requirement_details_layout_main">
       <div style="font-size: 18px;margin-bottom: 2%">
         <b style="color: #409EFF;">I</b>评论
       </div>
@@ -624,7 +624,7 @@ export default {
 </style>
 
 <style>
-.layout_main .el-table__body tr:hover td {
+.requirement_details_layout_main .el-table__body tr:hover td {
   color: #409eff;
   background: #eef0f5;
 } /*hover时字体, 背景颜色*/

+ 1 - 0
src/views/projectManage/requirement/list/index.vue

@@ -373,6 +373,7 @@ export default {
   width:fit-content;
   padding: 0 12px;
   border-radius: 4px;
+  margin: auto;
 }
 </style>
 

+ 12 - 2
src/views/projectManage/version/list/index.vue

@@ -35,7 +35,7 @@
         {{ searchForm }}
       </el-row>
     </el-header>
-    <el-main class="layout_main">
+    <el-main class="layout_main version_list_layout_main">
       <div style="font-size: 18px;margin: 2%">
         <b style="color: #409EFF;">I</b>版本列表
       </div>
@@ -50,7 +50,9 @@
       >
         <el-table-column prop="priority" label="优先级" min-width="8%">
           <template v-slot="scope">
-            <div class="div_priority" :style="{background: priorityColors[scope.row.priority%priorityColors.length]}">{{ 'P'+scope.row.priority }}</div>
+            <div>
+              <div class="div_priority" :style="{background: priorityColors[scope.row.priority%priorityColors.length]}">{{ 'P'+scope.row.priority }}</div>
+            </div>
           </template>
         </el-table-column>
         <el-table-column prop="requirementName" label="需求名称" min-width="10%" />
@@ -434,5 +436,13 @@ export default {
   width:fit-content;
   padding: 0 12px;
   border-radius: 4px;
+  margin: auto;
 }
 </style>
+
+<style>
+.version_list_layout_main .el-table__body tr:hover td {
+  color: #409eff;
+  background: #eef0f5;
+} /*hover时字体, 背景颜色*/
+</style>