瀏覽代碼

任务页弹框样式修改

PrinceLee 5 年之前
父節點
當前提交
bac2dda2d0

+ 1 - 1
src/views/Platform/presentation/Templates/DailyReport.vue

@@ -191,7 +191,7 @@ export default {
 }
 </script>
 
-<style>
+<style scoped>
 ._radio {
   margin: 3% 0;
   color: #333B4A;

+ 9 - 6
src/views/projectManage/taskList/taskViewDetails.vue

@@ -347,7 +347,14 @@
         </span>
       </el-dialog>
       <!-- 删除 -->
-      <el-dialog :visible.sync="centerDialogVisible_task" width="30%" center :close-on-click-modal="false">
+      <el-dialog
+        :visible.sync="centerDialogVisible_task"
+        width="30%"
+        center
+        :close-on-click-modal="false"
+        title="提示"
+        top="35vh"
+      >
         <div align="center">
           确定要删除
           <span style="color:red;">{{ task_form.name }}</span> 的任务吗?
@@ -1079,7 +1086,7 @@ export default {
 }
 </script>
 
-<style lang="stylus">
+<style lang="scss">
 .footer .el-tabs__nav-wrap::after {
   background-color: #FFFFFF !important;
 }
@@ -1143,10 +1150,6 @@ export default {
   justify-content: center;
 }
 
-.dialog .el-dialog__header {
-  padding: 0;
-}
-
 .el-dropdown-menu__item:not(.is-disabled):hover {
   background-color: #f6f7fa;
   color: #606266;