wzl 2 年之前
父節點
當前提交
5e4f636c07
共有 3 個文件被更改,包括 10 次插入13 次删除
  1. 0 0
      public/favicon.ico
  2. 1 1
      public/index.html
  3. 9 12
      src/views/projects/dashboard.vue

static/favicon.ico → public/favicon.ico


+ 1 - 1
public/index.html

@@ -4,7 +4,7 @@
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,maximum-scale=1,minimum-scale=1">
-    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
+    <link rel="icon" href="/favicon.ico">
     <title><%= htmlWebpackPlugin.options.title %></title>
   </head>
   <body>

+ 9 - 12
src/views/projects/dashboard.vue

@@ -746,7 +746,8 @@ export default class dashBoard extends Vue {
       .data-box {
         display: flex;
         align-items: center;
-        width: 236px;
+        width: 100%;
+        min-width: 236px;
         padding: 12px 0 12px 16px;
         border: 1px solid #E8E8E8;
         border-radius: 8px;
@@ -842,17 +843,6 @@ export default class dashBoard extends Vue {
           }
         }
       }
-      // .detail-data {
-      //   flex-direction: column;
-      //   margin-bottom: 40px;
-      //   .data-box {
-      //     width: 100%;
-      //     margin-bottom: 16px;
-      //     &:last-child {
-      //       margin-bottom: 0;
-      //     }
-      //   }
-      // }
     }
     select {
       outline: none;
@@ -863,6 +853,13 @@ export default class dashBoard extends Vue {
     color: #43474D;
   }
 }
+@media screen and (min-width: 1408px) {
+  .dashboard .board .detail-data {
+    .data-box {
+      margin-right: 25px;
+    }
+  }
+}
 @media screen and (max-width: 1407px) and (min-width: 930px) {
   .dashboard .board .detail-data {
     flex-wrap: wrap;