DESKTOP-NE65RNK\Citrus_limon 1 жил өмнө
parent
commit
3a65a4f2e9

+ 3 - 1
index.html

@@ -2,7 +2,9 @@
 <html lang="en">
   <head>
     <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />    
+    <link rel="icon" href="/logo_32x32.png" sizes="32x32" />
+    <link rel="icon" href="/logo_192x192.png" sizes="192x192" />
     <title>两江资本—无敌中控</title>
   </head>
   <body>

BIN
public/logo_192x192.png


BIN
public/logo_32x32.png


+ 30 - 0
src/assets/images/logo.svg

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="_图层_2" data-name="图层 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 669.77 121.77">
+  <defs>
+    <style>
+      .cls-1, .cls-2 {
+        stroke-width: 0px;
+      }
+
+      .cls-2 {
+        fill: #2467e9;
+      }
+    </style>
+  </defs>
+  <g id="_图层_1-2" data-name="图层 1">
+    <g>
+      <path class="cls-1" d="m199.71,76.15v16.57h-14.62v-16.57h-39.47l25.83-51.66h28.26v39.28h8.28v12.38h-8.28Zm-14.62-12.38V24.49l-19.59,39.28h19.59Z"/>
+      <path class="cls-1" d="m216.76,24.49h14.62v55.55h33.14v12.67h-47.76V24.49Z"/>
+      <path class="cls-1" d="m286.94,58.6c0-5,.94-9.68,2.83-14.03,1.88-4.35,4.43-8.12,7.65-11.31,3.22-3.18,6.98-5.68,11.31-7.5,4.32-1.82,8.92-2.73,13.79-2.73,3.7,0,7.24.54,10.62,1.61,3.38,1.07,6.5,2.55,9.36,4.43v59.06c-2.92,1.89-6.06,3.36-9.41,4.43-3.35,1.07-6.87,1.61-10.58,1.61-4.87,0-9.47-.91-13.79-2.73-4.32-1.82-8.09-4.32-11.31-7.5-3.22-3.18-5.77-6.95-7.65-11.31-1.89-4.35-2.83-9.03-2.83-14.04Zm15.59,0c0,2.86.52,5.51,1.56,7.94,1.04,2.44,2.47,4.55,4.29,6.33,1.82,1.79,3.95,3.18,6.38,4.19,2.44,1.01,5.02,1.51,7.75,1.51s5.31-.5,7.75-1.51c2.44-1.01,4.56-2.4,6.38-4.19,1.82-1.79,3.25-3.9,4.29-6.33,1.04-2.44,1.56-5.08,1.56-7.94s-.52-5.51-1.56-7.94c-1.04-2.44-2.47-4.55-4.29-6.33-1.82-1.79-3.95-3.18-6.38-4.19-2.44-1.01-5.02-1.51-7.75-1.51s-5.31.5-7.75,1.51c-2.44,1.01-4.57,2.4-6.38,4.19-1.82,1.79-3.25,3.9-4.29,6.33-1.04,2.44-1.56,5.08-1.56,7.94Z"/>
+      <path class="cls-1" d="m399.6,92.71l-5.65-19.79h-27.78l-5.65,19.79h-13.64l19.59-68.22h13.65l-10.23,35.77h20.47l-10.23-35.77h14.62l19.49,68.22h-14.62Z"/>
+      <path class="cls-1" d="m442.1,24.49c4.81,0,9.11.46,12.91,1.36,3.8.91,7.02,2.31,9.65,4.19,2.63,1.89,4.64,4.32,6.04,7.31,1.4,2.99,2.09,6.56,2.09,10.72,0,3.57-.71,6.84-2.14,9.8-1.43,2.96-3.46,5.49-6.09,7.6-2.63,2.11-5.85,3.75-9.65,4.92-3.8,1.17-8.07,1.75-12.82,1.75h-8.87v20.56h-14.62V24.49h23.49Zm-8.87,12.67v22.32h11.31c4.48,0,7.96-1.05,10.43-3.17,2.47-2.11,3.7-4.86,3.7-8.24,0-3.7-1.24-6.45-3.7-8.24-2.47-1.79-5.95-2.68-10.43-2.68h-11.31Z"/>
+      <path class="cls-1" d="m494.24,24.49v68.22h-14.62V24.49h14.62Z"/>
+      <path class="cls-1" d="m500.09,24.49h56.53v12.67h-20.96v55.55h-14.62v-55.55h-20.96v-12.67Z"/>
+      <path class="cls-1" d="m603.01,92.71l-5.65-19.79h-27.78l-5.65,19.79h-13.64l19.59-68.22h13.65l-10.23,35.77h20.47l-10.23-35.77h14.62l19.49,68.22h-14.62Z"/>
+      <path class="cls-1" d="m622.01,24.49h14.62v55.55h33.14v12.67h-47.76V24.49Z"/>
+    </g>
+    <path class="cls-2" d="m72.62,98.3v23.47H0V0h24.21v77.73c0,11.36,9.21,20.57,20.57,20.57h27.85Z"/>
+    <path class="cls-2" d="m72.62,0v74.09h-17.46c-3.72,0-6.74-3.02-6.74-6.74V0h24.21Z"/>
+    <rect class="cls-2" x="96.83" width="24.94" height="121.77"/>
+  </g>
+</svg>

BIN
src/assets/images/logo_192x192.png


+ 23 - 8
src/components/PageLayout/Header.vue

@@ -1,8 +1,10 @@
 <template>
   <div class="header-wp">
     <div class="header-left-wp">
-      <div class="title">两江资本</div>
-      <div class="sub-title">无敌中控</div>
+      <div class="logo">
+        <img class="logo-svg" src="../../assets/images/logo.svg" />
+        <img class="logo-png" src="../../assets/images/logo_192x192.png" />
+      </div>
     </div>
     <div class="header-right-wp">
       <div class="info-wp">
@@ -59,13 +61,26 @@ const handeLoginOut = () => {
     text-align: center;
     width: 256px;
     border-right: 1px solid rgba(0, 0, 0, 0.1);
-    .title {
-      font-size: 18px;
-      font-weight: bold;
-    }
-    .sub-title {
-      font-weight: bold;
+    font-size: 0;
+    .logo {
+      display: flex;
+      justify-content: center;
+      .logo-svg {
+        width: 60%;
+        display: block;
+      }
+      .logo-png {
+        width: 40%;
+        display: none;
+      }
     }
+    // .title {
+    //   font-size: 18px;
+    //   font-weight: bold;
+    // }
+    // .sub-title {
+    //   font-weight: bold;
+    // }
   }
   .header-right-wp {
     flex: 1;

+ 7 - 3
src/components/PageLayout/Layout.vue

@@ -99,9 +99,13 @@ pageInfo();
       .header-left-wp {
         flex: 0 0 64px !important;
         width: 64px !important;
-        .title,
-        .sub-title {
-          display: none;
+        .logo{
+          .logo-svg{
+            display: none;
+          }
+          .logo-png{
+            display: block;
+          }
         }
       }
     }

+ 10 - 0
src/components/PageLayout/Side.vue

@@ -125,6 +125,7 @@ defineExpose({ collapse });
     padding: 0;
     width: auto;
   }
+
   :deep(.layui-nav-tree) {
     .layui-this {
       position: relative;
@@ -154,6 +155,15 @@ defineExpose({ collapse });
       padding: 0;
     }
   }
+  :deep(.layui-nav-tree.layui-nav-collapse) {
+    .layui-this {
+      a {
+        &::after {
+          display: none;
+        }
+      }
+    }
+  }
   .child-menu {
     padding-left: 14px;
   }

+ 2 - 2
src/views/login/index.vue

@@ -2,7 +2,7 @@
   <div class="login-page-wp">
     <div class="login-wp">
       <div class="login-title">
-        <div class="title">两江资本</div>
+        <div class="title">4L CAPITAL</div>
         <div class="sub-title">今天你当量化韭菜了吗?</div>
       </div>
       <div class="login-form-wp">
@@ -19,7 +19,7 @@
     </div>
     <div class="footer-wp">
       <div class="footer">
-        <lay-space> <span>© 2021</span><span>两江资本</span> </lay-space>
+        <lay-space> <span>© 2021</span><span>4L CAPITAL</span> </lay-space>
       </div>
       <div class="sub-footer">
         <lay-space> <span>韭菜</span><span>被割</span><span>嘎嘎割</span> </lay-space>