吴sir 1 month ago
parent
commit
108b0b087e
6 changed files with 13 additions and 17 deletions
  1. 2 2
      index.html
  2. 7 6
      src/App.vue
  3. BIN
      src/assets/images/logo.png
  4. 1 5
      src/hooks/AcquireLocation.js
  5. 1 2
      src/hooks/index.js
  6. 2 2
      src/views/login/index.vue

+ 2 - 2
index.html

@@ -2,9 +2,9 @@
 <html lang="en">
   <head>
     <meta charset="UTF-8" />
-    <link rel="icon" type="image/svg+xml" href="/src/assets/images/logo.jpg" />
+    <link rel="icon" type="image/svg+xml" href="/src/assets/images/logo.png" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>FlexiStream</title>
+    <title>康睿馨</title>
     <style type="text/css">
       #Loading {
         width: 100vw;

+ 7 - 6
src/App.vue

@@ -11,12 +11,10 @@
 
 <script setup>
 import { ref, onMounted, nextTick, provide } from "vue"
-import { useDarkThemeHook, useLang,AcquisitionArea } from '@/hooks'
+import { useDarkThemeHook, useLang } from '@/hooks'
 import { useSystemStore } from '@/store/modules/systemStore'
 import axios from "axios";
 const isRouterActive = ref(true)
-// 全局语言
-const { locale } = useLang()
 const systemStore = useSystemStore()
 
 // 暗黑主题
@@ -29,9 +27,12 @@ provide('reloadRoutePage', () => {
   })
 })
 
-
-onMounted(async () => {
-  AcquisitionArea()
+onMounted(() => {
+  const getLoadingNode = document.getElementById('Loading')
+  const { body } = document
+  if (getLoadingNode) {
+    body.removeChild(getLoadingNode)
+  }
 })
 </script>
 

BIN
src/assets/images/logo.png


+ 1 - 5
src/hooks/AcquireLocation.js

@@ -11,9 +11,5 @@ export function AcquisitionArea() {
         window.document.title = 'FlexiStream'
         favicon.href = '/src/assets/images/logo.jpg'
     }
-    const getLoadingNode = document.getElementById('Loading')
-    const { body } = document
-    if (getLoadingNode) {
-        body.removeChild(getLoadingNode)
-    }
+ 
 }

+ 1 - 2
src/hooks/index.js

@@ -1,3 +1,2 @@
 export * from '@/hooks/useLang.hook'
-export * from '@/hooks/useTheme.hook'
-export * from '@/hooks/AcquireLocation'
+export * from '@/hooks/useTheme.hook'

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

@@ -25,7 +25,7 @@
 
 <script setup>
 import { onMounted } from "vue"
-import LoginForm from '../../components/Thailand/login-form.vue'
+import LoginForm from './login-form.vue'
 
 import bannerImage from '@/assets/images/login-banner.png'
 const  carouselItem = {
@@ -46,7 +46,7 @@ const  carouselItem = {
     background: linear-gradient(163.85deg, #1d2129 0%, #00308f 100%);
   }
 
-  .content {
+  .content { 
     position: relative;
     display: flex;
     flex: 1;