浏览代码

样式改动

wangziqian 5 年之前
父节点
当前提交
1e519d3f44

+ 2 - 2
src/components/select/selectPeople.vue

@@ -96,8 +96,8 @@ export default {
 	height: 442px;
 }
 .default-img {
-	height: 18px;
-	width: 18px;
+	height: 24px;
+	width: 24px;
 	bottom: 2px;
   position: relative;
   border-radius: 50%;

+ 4 - 1
src/views/projectManage/taskList/childrenTask/addChildrenList.vue

@@ -298,7 +298,7 @@ export default {
   }
 }
 .children-task {
-	padding: 0 65px;
+	padding: 0 30px;
 	label i {
 		color:#409EFF;
 		margin-left: 10px;
@@ -370,6 +370,9 @@ export default {
 				border: 1px solid #ffffff;
 			}
 		}
+    >>>.el-input__prefix {
+      color:#666666;
+    }
 		.all {
 			width: 100%;
 				>>>input{

+ 3 - 11
src/views/projectManage/taskList/childrenTask/changeStatus.vue

@@ -161,19 +161,11 @@ export default {
     display: flex;
     margin: 10px 0;
     .item-id {
-      width: 15%;
+      margin-right: 10px;
+      color: #666666;
     }
     .item-name {
-      width: 40%;
-    }
-    .item-qa {
-      width: 20%;
-    }
-    .item-rd {
-      width: 20%;
-    }
-    .item-cancel {
-      font-size: 20px;
+      color: #333333;
     }
     div {
       overflow: hidden;

+ 6 - 1
src/views/projectManage/taskList/childrenTask/childDetail.vue

@@ -98,7 +98,12 @@
         <section class="main-section">
           <div class="el-main-title">
             <div class="title-left-icon" />
-            <div class="title-left-name">子任务<i v-if="formData.level <= 2" class="el-icon-circle-plus child-add" @click="addChild()" /></div>
+            <div class="title-left-name">
+              子任务
+              <el-tooltip class="item" effect="dark" content="添加子任务" placement="top">
+                <i class="el-icon-circle-plus child-add" @click="addChild()" />
+              </el-tooltip>
+            </div>
           </div>
           <div class="children-list">
             <add-children-list

+ 24 - 3
src/views/projectManage/taskList/childrenTask/childDrawer.vue

@@ -1,5 +1,6 @@
 <template>
   <el-drawer
+    class="sub-task-drawer"
     :visible.sync="visible"
     :with-header="false"
     size="50%"
@@ -9,7 +10,9 @@
     <el-container class="is-vertical">
       <section class="top-control">
         <div v-show="formData.parentId > 0" class="back">
-          <i class="el-icon-arrow-left" @click="backParent(formData.parentId)" />
+          <el-tooltip class="item" effect="dark" content="返回上一级子任务" placement="top">
+            <i class="el-icon-arrow-left" @click="backParent(formData.parentId)" />
+          </el-tooltip>
         </div>
         <div class="bug-id-status">
           <span>SUBTASK-{{ formData.id }}</span>
@@ -117,7 +120,12 @@
       <section v-if="formData.level <= 2" class="main-section">
         <div class="el-main-title">
           <div class="title-left-icon" />
-          <div class="title-left-name">子任务<i class="el-icon-circle-plus child-add" @click="addChild()" /></div>
+          <div class="title-left-name">
+            子任务
+            <el-tooltip class="item" effect="dark" content="添加子任务" placement="top">
+              <i class="el-icon-circle-plus child-add" @click="addChild()" />
+            </el-tooltip>
+          </div>
         </div>
         <div class="children-list">
           <add-children-list
@@ -321,6 +329,14 @@ export default {
 /deep/.el-button {
   cursor: pointer;
 }
+.sub-task-drawer {
+  margin-top: 60px;
+}
+.el-main-title {
+  border-bottom: 1px solid rgba(238,238,238,1);
+  padding-bottom: 20px;
+  margin-bottom: 5px !important;
+}
 .top-control {
 	padding: 30px;
   position: relative;
@@ -332,14 +348,16 @@ export default {
     cursor: pointer;
   }
 	.bug-id-status {
-		font-size: 18px;
+		font-size: 16px;
 		color: #333333;
+    font-weight: bold;
 		display: flex;
 		align-items: center;
 		span {
 			margin-right: 17px;
     }
     .control {
+      font-weight: 400;
       margin-left: auto;
       font-size: 14px;
       color: #333333;
@@ -357,6 +375,7 @@ export default {
 	}
 	.bug-name-control {
 		margin-top: 5px;
+    font-weight: bold;
 		display: flex;
 		align-items: center;
 		justify-content: space-between;
@@ -415,6 +434,7 @@ export default {
 		.el-form-item {
 			width: 48%;
       margin-right: 0;
+      margin-bottom: 10px;
       /deep/.el-select{
         width: 100%;
       }
@@ -427,6 +447,7 @@ export default {
 		.el-form-item {
 			width: 30%;
       margin-right: 0;
+      margin-bottom: 15px;
       /deep/.el-form-item__content {
         width: calc(100% - 100px)
       }

+ 1 - 1
src/views/projectManage/taskList/childrenTask/childrenList.vue

@@ -7,7 +7,7 @@
       size="mini"
       row-key="id"
       :header-cell-style="{ color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500'}"
-      :row-style="{ fontSize: '14px' }"
+      :row-style="{ fontSize: '14px' ,height: '50px'}"
       :header-row-style="{height: '50px'}"
       :tree-props="{children: 'childSubTaskInfos'}"
     >