This commit is contained in:
ember 2025-01-31 20:28:45 +08:00
parent ef07edac7e
commit 7d3f2df4c2
19 changed files with 5323 additions and 172 deletions

9
.gitignore vendored
View File

@ -1,7 +1,14 @@
.DS_Store
node_modules
/dist
node_modules/
server/
cookie函数.txt
file_index.json
push_log.json
mygitconfig
JWT.py
接口说明文档(详细响应内容).md
# local env files
.env.local

View File

@ -1,5 +1,6 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
'@vue/cli-plugin-babel/preset',
],
ignore: [/node_modules\/(?!vue-advanced-chat)/]
}

1241
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,8 +8,13 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^1.7.7",
"copy-webpack-plugin": "^12.0.2",
"core-js": "^3.8.3",
"vue": "^3.2.13"
"element-plus": "^2.8.2",
"vue": "^3.2.13",
"vue-advanced-chat": "^2.1.0",
"vue-router": "^4.0.13"
},
"devDependencies": {
"@babel/core": "^7.12.16",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<title>NEU小站课程评分系统 - v1.0.2测试版</title>
</head>
<body>
<noscript>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
/* 设置全局字体为微软雅黑 */
body {
font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
margin: 0;
padding: 0;
}
/* 确保所有文本元素都使用指定字体 */
* {
font-family: inherit;
}

113
src/components/SideBar.vue Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,15 @@
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import './assets/styles/global.css'; // 引入全局样式
import axios from 'axios';
createApp(App).mount('#app')
const app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
// 全局配置 Axios例如设置默认的 Base URL
axios.defaults.baseURL = 'https://coursesystem.xn--xhq44jb2fzpc.com/'; // 替换为你的后端 API 地址
app.config.globalProperties.$axios = axios; // 挂载到全局,便于在组件中使用

Some files were not shown because too many files have changed in this diff Show More