bill 7 miesięcy temu
rodzic
commit
eb3776ad18
3 zmienionych plików z 14 dodań i 9 usunięć
  1. 12 4
      src/layout/sider.vue
  2. 1 4
      src/layout/system.vue
  3. 1 1
      vite.config.ts

+ 12 - 4
src/layout/sider.vue

@@ -1,9 +1,9 @@
 <template>
   <a-layout-sider class="sider">
-    <h2 style="padding: 0;">
+    <h2 style="padding: 0">
       <!-- 四维工地管家 -->
-
-      <img :src="`./images/sync_logo.png`" />
+      <!-- <i class="iconfont icon-logo_login" /> -->
+      <img :src="`./images/logo_en@2x.png`" />
     </h2>
 
     <a-menu
@@ -34,7 +34,7 @@ import type { MenuProps } from 'ant-design-vue/es/menu'
 
 defineOptions({ name: 'LayoutSider' })
 
-type MenuName = typeof allMenus[number]
+type MenuName = (typeof allMenus)[number]
 const userStore = useUserStore()
 const allMenus = [RoutesName.personal, RoutesName.projects] as const
 
@@ -69,6 +69,14 @@ h2 {
   img {
     width: 100%;
   }
+  i {
+    font-size: 200px;
+    font-weight: normal;
+    height: 80px;
+    overflow: hidden;
+    display: flex;
+    align-items: center;
+  }
 }
 </style>
 

+ 1 - 4
src/layout/system.vue

@@ -2,10 +2,7 @@
   <a-layout class="layout">
     <div class="content">
       <div class="sys">
-        <img
-          style="width: 167px; height: 66px"
-          :src="`./images/login_sync_logo.png`"
-        />
+        <img style="height: 66px" src="/images/logo_login_en@2x.png" />
         <!-- <i class="iconfont icon-logo_login" /> -->
         <!-- <h1>四维工地管家</h1>
         <p>Project Management Systems</p> -->

+ 1 - 1
vite.config.ts

@@ -18,7 +18,7 @@ export default async ({ mode }) => {
       rewrite: path => path.replace(/^\/dev/, '/dev')
     },
     '/api': {
-      target: 'https://test-jp.4dkankan.com/',
+      target: 'https://test.4dkankan.com/',
       changeOrigin: true,
       rewrite: path => path.replace(/^\/api/, '')
     },