Przeglądaj źródła

Merge remote-tracking branch 'origin/master'

白白 2 lat temu
rodzic
commit
762cdb3e02

+ 1 - 1
index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <link rel="icon" href="/favicon.ico">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Vite App</title>
+    <title>SEEAI专业英语写作</title>
   </head>
   <body>
     <div id="app"></div>

+ 2 - 2
package.json

@@ -5,10 +5,10 @@
   "type": "module",
   "scripts": {
     "dev": "vite",
-    "build": "run-p type-check \"build-only {@}\" --",
+    "build": "run-p build-only",
     "preview": "vite preview",
     "build-only": "vite build",
-    "type-check": "vue-tsc --build --force",
+    "type-check": "vue-tsc --build",
     "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
   },
   "dependencies": {

BIN
public/favicon.ico


+ 3 - 0
src/layout/Header/index.scss

@@ -20,6 +20,7 @@
 
     img{
       width:auto ;
+      vertical-align: middle;
       height: 36px;
     }
   }
@@ -32,6 +33,7 @@
     }
 
     & .header-menu-item{
+      vertical-align: middle;
       color: #000000;
       height: 40px;
 
@@ -57,6 +59,7 @@
   .header-userName {
     margin-left: auto;
     display: flex;
+    vertical-align: middle;
     align-items: center;
     gap: 15px;
     float: right;

+ 1 - 1
src/views/LoginPage/LoginPage.vue

@@ -11,7 +11,7 @@
     <div class="container-box">
       <div class="login-logo">
         <div class="logo-image">
-          <img src="../LoginPage/seecoderLogo.png" alt="logo" width="500vh">
+          <img src="../LoginPage/seecoderLogo.png" alt="logo" width="400vh">
         </div>
       </div>
       <div class="login-box">

+ 1 - 0
tsconfig.app.json

@@ -9,6 +9,7 @@
     "ignoreDeprecations":"5.0",
     "noImplicitAny": false,
     "strict": false,
+    "noEmit": false,
     "baseUrl": ".",
     "paths": {
       "@/*": ["./src/*"]

+ 1 - 0
tsconfig.json

@@ -11,6 +11,7 @@
   "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
   
   "compilerOptions": {
+     "declaration": true,
      "baseUrl": "src",
      "paths": {
       "@/*": ["./*"]

+ 1 - 2
tsconfig.node.json

@@ -9,9 +9,8 @@
   ],
   "compilerOptions": {
     "composite": true,
-    "noEmit": true,
     "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
-
+    "noEmit": false,
     "module": "ESNext",
     "moduleResolution": "Bundler",
     "types": ["node"]

+ 2 - 0
vite.config.d.ts

@@ -0,0 +1,2 @@
+declare const _default: import("vite").UserConfig;
+export default _default;

+ 18 - 0
vite.config.js

@@ -0,0 +1,18 @@
+import { fileURLToPath, URL } from 'node:url';
+import { defineConfig } from 'vite';
+import vue from '@vitejs/plugin-vue';
+// https://vitejs.dev/config/
+export default defineConfig({
+    plugins: [
+        vue(),
+    ],
+    resolve: {
+        alias: {
+            '@': fileURLToPath(new URL('./src', import.meta.url))
+        }
+    },
+    server: {
+        host: '127.0.0.1',
+        port: 4000
+    }
+});