Quellcode durchsuchen

消息通知style

Shannon_mu vor 2 Jahren
Ursprung
Commit
111a874b53

+ 2 - 3
energyManagement/src/assets/css/main.scss

@@ -213,7 +213,6 @@ a {
         font-family: Microsoft YaHei;
         font-weight: 400;
         margin-left: 15px;
-        border-right: 1px solid #f6f6f6;
         .title {
             display: block;
             height: 14px;
@@ -223,7 +222,6 @@ a {
         .nowrap {
             display: inline-block;
             line-height: 20px;
-            width: 300px;
             font-size: 12px;
             color: #424656;
             text-indent: -0.4em;
@@ -234,6 +232,7 @@ a {
 .el-notification__closeBtn {
     position: absolute;
     top: 40%;
+    top: 15px !important;
     right: 15px;
     cursor: pointer;
     color: #909399;
@@ -469,7 +468,7 @@ a {
 }
 .left_search .el-date-editor .el-range-separator {
     padding: 0;
-}   
+}
 //左边菜单栏边框显示
 .el-menu {
     border: none !important;

+ 1 - 1
energyManagement/src/components/common/Header.vue

@@ -199,7 +199,7 @@ export default {
                             showClose: true,
                             customClass: 'notice_icon',
                             offset: 50,
-                            duration: 3000,
+                            duration: 0,
                             message:
                                 "<div class='notice'><img src=" +
                                 that.imgList[i] +