ソースを参照

完善停车区域

2545307760@qq.com 3 ヶ月 前
コミット
275ea6e597

+ 1 - 0
web/package.json

@@ -35,6 +35,7 @@
         "spark-md5": "^3.0.2",
         "tailwindcss": "^3.3.3",
         "vue": "^3.4.21",
+        "vue-i18n": "^9.14.4",
         "vue-router": "^4.3.2",
         "vuedraggable": "^4.1.0"
     },

BIN
web/src/assets/logo1.png


+ 2 - 2
web/src/core/config.js

@@ -3,8 +3,8 @@
  */
 
 const config = {
-  appName: '龙弛财务',
-  appLogo: '../../assets/logo.png',
+  appName: '智慧道闸',
+  appLogo: '@/assets/logo1.png',
   showViteLogo: true,
   logs: [],
 }

+ 11 - 0
web/src/i18n/index.js

@@ -0,0 +1,11 @@
+// import { createI18n } from 'vue-i18n'
+// import zh from './locales/zh-CN.json'
+// import en from './locales/en-US.json'
+//
+// const messages = { 'zh-CN': zh, 'en-US': en }
+// const i18n = createI18n({
+//   locale: localStorage.getItem('language') || 'zh-CN',
+//   fallbackLocale: 'zh-CN',
+//   messages
+// })
+// export default i18n

+ 0 - 0
web/src/i18n/locales/en-US.json


+ 1 - 0
web/src/i18n/locales/zh-CN.json

@@ -0,0 +1 @@
+

+ 1 - 0
web/src/main.js

@@ -14,6 +14,7 @@ import auth from '@/directive/auth'
 import { store } from '@/pinia'
 import App from './App.vue'
 import { initDom } from './utils/positionToCode'
+// import i18n from './i18n'
 
 initDom()
 /**

+ 0 - 1
web/src/view/layout/aside/asideComponent/index.vue

@@ -18,7 +18,6 @@
   </component>
 </template>
 
-
 <script setup>
 import MenuItem from './menuItem.vue'
 import AsyncSubmenu from './asyncSubmenu.vue'

+ 0 - 1
web/src/view/layout/aside/asideComponent/menuItem.vue

@@ -23,7 +23,6 @@
   </el-menu-item>
 </template>
 
-
 <script setup>
 import { ref, watch } from 'vue'
 

+ 1 - 1
web/src/view/layout/index.vue

@@ -16,7 +16,7 @@
           <img
             alt
             class="w-9 h-9 p-1 bg-white rounded-full"
-            src="../../assets/logo.png"
+            src="../../assets/logo1.png"
           >
           <div
             v-if="isSider"

+ 2 - 2
web/src/view/login/index.vue

@@ -15,12 +15,12 @@
 
               <img
                 class="w-24"
-                src="../../assets/logo.png"
+                src="../../assets/logo1.png"
                 alt
               >
             </div>
             <div class="mb-9">
-              <p class="text-center text-4xl font-bold">龙弛财务</p>
+              <p class="text-center text-4xl font-bold">智慧道闸系统</p>
             </div>
             <el-form
               ref="loginForm"