diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..23410e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +data/ +*.exe +*.pkg diff --git a/frontend/.gitignore b/frontend/.gitignore index 8a39664..a5926d8 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -1,4 +1,4 @@ -node_modules/ +node_modules/ dist/ .env .env.* diff --git a/frontend/index.html b/frontend/index.html index 79ef08a..02185f9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,4 +1,4 @@ - + diff --git a/frontend/package.json b/frontend/package.json index 7a50fb6..591b2e6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,4 +1,4 @@ -{ +{ "name": "scout-frontend", "private": true, "version": "0.1.0", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 9cca04d..89512e5 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,4 +1,4 @@ - diff --git a/frontend/src/main.js b/frontend/src/main.js index a211303..fdbdce5 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -1,4 +1,4 @@ -import { createApp } from 'vue' +import { createApp } from 'vue' import App from './App.vue' import './styles.css' diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 6c14c77..2a907a9 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -1,4 +1,4 @@ -:root { +:root { font-family: Inter, "Microsoft YaHei", "微软雅黑", sans-serif; color: #dce4f2; background: #0b1220; diff --git a/frontend/src/views/Home/Home.css b/frontend/src/views/Home/Home.css index 605ac6c..28f76dd 100644 --- a/frontend/src/views/Home/Home.css +++ b/frontend/src/views/Home/Home.css @@ -1,4 +1,4 @@ -.page-shell { +.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; diff --git a/frontend/src/views/Home/Home.js b/frontend/src/views/Home/Home.js index 607609a..e153cc6 100644 --- a/frontend/src/views/Home/Home.js +++ b/frontend/src/views/Home/Home.js @@ -1,4 +1,4 @@ -import { ref } from 'vue' +import { ref } from 'vue' const defaultApi = import.meta.env.VITE_API_BASE || 'http://127.0.0.1:8080' diff --git a/frontend/src/views/Home/Home.vue b/frontend/src/views/Home/Home.vue index 3281ed8..8a4cc9e 100644 --- a/frontend/src/views/Home/Home.vue +++ b/frontend/src/views/Home/Home.vue @@ -1,4 +1,4 @@ -