Browse Source

样式调整

lilei 4 years ago
parent
commit
c736916952

+ 1 - 1
src/views/evaluation/evaluationItem/AddEvaIndexModal.vue

@@ -27,7 +27,7 @@
             </a-form-item>
           </a-col>
         </a-row>
-        <a-form-item :wrapper-col="{ span: 24, offset: 10 }">
+        <a-form-item :wrapper-col="{ span: 15, offset: 9 }">
           <a-button :loading="loading" id="addEvaIndexModal-submit" type="primary" @click="handleSubmit()">
             保存
           </a-button>

+ 1 - 1
src/views/evaluation/evaluationItem/AddEvaItemModal.vue

@@ -45,7 +45,7 @@
             </a-form-item>
           </a-col>
         </a-row>
-        <a-form-item :wrapper-col="{ span: 24, offset: 10 }">
+        <a-form-item :wrapper-col="{ span: 15, offset: 9 }">
           <a-button :loading="loading" id="addEvaItemModal-submit" type="primary" @click="handleSubmit()">
             保存
           </a-button>

+ 12 - 11
src/views/evaluation/evaluationItem/SetEvaItemModal.vue

@@ -9,7 +9,7 @@
       @cancle="cancel"
       :width="'60%'">
       <a-row :gutter="24" class="header">
-        <span>请给考评项目为【{{ itemName }}】设置考评指标</span>
+        <div>请给考评项目为【{{ itemName }}】设置考评指标</div>
         <a-button v-hasPermission="'B_target_add'" id="setEvaItemModal-add" type="primary" @click="openModal">新增</a-button>
       </a-row>
       <a-table
@@ -159,14 +159,15 @@ export default {
 }
 </script>
 
-<style scoped>
-	.header {
-		font-size: 16px;
-		font-weight: 600;
-		margin-bottom: 20px;
-	}
-
-	.header span {
-		margin-right: 20px;
-	}
+<style lang="sass">
+  .modalBox{
+    .header {
+    	font-size: 16px;
+    	font-weight: 600;
+      padding: 0 15px 20px 15px;
+    }
+    .header div {
+    	margin-bottom: 20px;
+    }
+  }
 </style>