Browse Source

fix(frontend): 修改网站ico

Signed-off-by: Myon <[email protected]>
Myon 3 years ago
parent
commit
0bf6722586

BIN
frontend/public/icons/logo.ico


BIN
frontend/public/icons/logo.png


+ 1 - 1
frontend/src/index.template.html

@@ -12,7 +12,7 @@
       content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
     />
 
-    <link rel="icon" type="image/ico" href="icons/favicon.ico" />
+    <link rel="icon" type="image/ico" href="icons/logo.ico" />
   </head>
   <body>
     <!-- DO NOT touch the following DIV -->

+ 7 - 5
frontend/src/layouts/MainLayout.vue

@@ -41,11 +41,13 @@
       style="background: #111729"
       content-class="bg-white"
     >
-      <div class="text-h5 q-py-sm q-px-md" style="height: 65px">
-        <div>ChineseSubFinder</div>
-        <div class="text-body2">
-          {{ systemState.systemInfo?.version }}
-          <!--          <version-update-item />-->
+      <div class="text-h5 q-py-sm q-px-md">
+        <div class="text-center">
+          <img src="icons/logo.png" alt="" style="filter: invert(100%); height: 60px" />
+        </div>
+        <div class="q-mt-sm text-center relative-position">
+          <q-badge align="top">{{ systemState.systemInfo?.version }}</q-badge>
+          ChineseSubFinder
         </div>
       </div>
       <q-list>