diff --git a/src/前端/walktofree/src/api/auth.js b/src/前端/walktofree/src/api/auth.js index 7d0b820..6ecd1c2 100644 --- a/src/前端/walktofree/src/api/auth.js +++ b/src/前端/walktofree/src/api/auth.js @@ -1,6 +1,6 @@ import axios from 'axios' -const baseURL = 'https:106.52.218.118:12607' +const baseURL = 'https:106.52.218.118:8081' export const login = (data) => { return axios.post(`${baseURL}/Login/login`, data) diff --git a/src/前端/walktofree/src/components/NavigationBar.vue b/src/前端/walktofree/src/components/NavigationBar.vue new file mode 100644 index 0000000..c3b0c86 --- /dev/null +++ b/src/前端/walktofree/src/components/NavigationBar.vue @@ -0,0 +1,67 @@ + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/main.js b/src/前端/walktofree/src/main.js index afcb891..fd2334a 100644 --- a/src/前端/walktofree/src/main.js +++ b/src/前端/walktofree/src/main.js @@ -5,8 +5,13 @@ import ElementPlus from 'element-plus'; import 'element-plus/theme-chalk/index.css'; import VueDatePicker from '@vuepic/vue-datepicker'; import '@vuepic/vue-datepicker/dist/main.css'; +import * as ElementPlusIconsVue from '@element-plus/icons-vue' + const app = createApp(App); +for (const [key, component] of Object.entries(ElementPlusIconsVue)) { + app.component(key, component) + } app.use(ElementPlus); app.use(router); app.component('VueDatePicker', VueDatePicker); diff --git a/src/前端/walktofree/src/pages/Communication.vue b/src/前端/walktofree/src/pages/Communication.vue index 5626e2c..03488e0 100644 --- a/src/前端/walktofree/src/pages/Communication.vue +++ b/src/前端/walktofree/src/pages/Communication.vue @@ -14,10 +14,12 @@ +
+ + \ No newline at end of file diff --git a/src/前端/walktofree/src/pages/EvaluationHistory.vue b/src/前端/walktofree/src/pages/EvaluationHistory.vue new file mode 100644 index 0000000..f79cdd8 --- /dev/null +++ b/src/前端/walktofree/src/pages/EvaluationHistory.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/pages/EvaluationList.vue b/src/前端/walktofree/src/pages/EvaluationList.vue new file mode 100644 index 0000000..f5d9a2e --- /dev/null +++ b/src/前端/walktofree/src/pages/EvaluationList.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/pages/HomePage.vue b/src/前端/walktofree/src/pages/HomePage.vue index f37806f..2bdef37 100644 --- a/src/前端/walktofree/src/pages/HomePage.vue +++ b/src/前端/walktofree/src/pages/HomePage.vue @@ -14,12 +14,9 @@ 图片描述 - - +
+ + diff --git a/src/前端/walktofree/src/router/index.js b/src/前端/walktofree/src/router/index.js index afc07c4..bab6f46 100644 --- a/src/前端/walktofree/src/router/index.js +++ b/src/前端/walktofree/src/router/index.js @@ -11,6 +11,8 @@ import addDemand from "@/pages/addDemand.vue"; import DemandList from "@/pages/DemandList.vue"; import Evaluation from "@/pages/Evaluation.vue"; import SecurityVerification from "@/pages/SecurityVerification.vue"; +import EvaluationEdit from "@/pages/EvaluationEdit.vue"; +import EvaluationList from "@/pages/EvaluationList.vue"; const routes = [ { path: '/', redirect: '/login' }, // 重定向到/login路径 @@ -25,7 +27,9 @@ const routes = [ { path: '/pay', component:Pay}, { path: '/demandlist', component:DemandList}, { path: '/evaluation', component:Evaluation}, - { path: '/SecurityVerification', component:SecurityVerification} + { path: '/SecurityVerification', component:SecurityVerification}, + { path: '/EvaluationEdit', component:EvaluationEdit}, + { path: '/EvaluationList', component:EvaluationList} ]; const router = createRouter({