+
+
+
+
+
\ No newline at end of file
diff --git a/src/前端/walktofree/src/components/HelloWorld.vue b/src/前端/walktofree/src/components/HelloWorld.vue
new file mode 100644
index 0000000..5fb372c
--- /dev/null
+++ b/src/前端/walktofree/src/components/HelloWorld.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
{{ msg }}
+
+ You’ve successfully created a project with
+ Vite +
+ Vue 3.
+
+
+
+
+
diff --git a/src/前端/walktofree/src/components/HomePage.vue b/src/前端/walktofree/src/components/HomePage.vue
index bb45d92..c2e553d 100644
--- a/src/前端/walktofree/src/components/HomePage.vue
+++ b/src/前端/walktofree/src/components/HomePage.vue
@@ -104,7 +104,7 @@ export default {
this.$router.push('/home');
},
gotomessage() {
- this.$router.push('/message');
+ this.$router.push('/Communication');
},
gotomine() {
this.$router.push('/mine');
diff --git a/src/前端/walktofree/src/components/TheWelcome.vue b/src/前端/walktofree/src/components/TheWelcome.vue
new file mode 100644
index 0000000..dab9536
--- /dev/null
+++ b/src/前端/walktofree/src/components/TheWelcome.vue
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+ Documentation
+
+ Vue’s
+ official documentation
+ provides you with all information you need to get started.
+
+
+
+
+
+
+ Tooling
+
+ This project is served and bundled with
+ Vite. The
+ recommended IDE setup is
+ VSCode +
+ Volar. If
+ you need to test your components and web pages, check out
+ Cypress and
+ Cypress Component Testing.
+
+
+
+ More instructions are available in README.md.
+
+
+
+
+
+
+ Ecosystem
+
+ Get official tools and libraries for your project:
+ Pinia,
+ Vue Router,
+ Vue Test Utils, and
+ Vue Dev Tools. If
+ you need more resources, we suggest paying
+ Awesome Vue
+ a visit.
+
+
+
+
+
+
+ Community
+
+ Got stuck? Ask your question on
+ Vue Land, our official
+ Discord server, or
+ StackOverflow. You should also subscribe to
+ our mailing list and follow
+ the official
+ @vuejs
+ twitter account for latest news in the Vue world.
+
+
+
+
+
+
+ Support Vue
+
+ As an independent project, Vue relies on community backing for its sustainability. You can help
+ us by
+ becoming a sponsor.
+
+
diff --git a/src/前端/walktofree/src/components/WelcomeItem.vue b/src/前端/walktofree/src/components/WelcomeItem.vue
new file mode 100644
index 0000000..6d7086a
--- /dev/null
+++ b/src/前端/walktofree/src/components/WelcomeItem.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/前端/walktofree/src/components/searchPage.vue b/src/前端/walktofree/src/components/searchPage.vue
index ae816c1..ea04649 100644
--- a/src/前端/walktofree/src/components/searchPage.vue
+++ b/src/前端/walktofree/src/components/searchPage.vue
@@ -86,6 +86,9 @@ export default {
gotohome() {
this.$router.push('/home');
},
+ search() {
+ this.$router.push('/DemandList');
+ }
}
}
\ No newline at end of file
diff --git a/src/前端/walktofree/src/router/index.js b/src/前端/walktofree/src/router/index.js
index 0d2390a..34fd80b 100644
--- a/src/前端/walktofree/src/router/index.js
+++ b/src/前端/walktofree/src/router/index.js
@@ -5,6 +5,8 @@ import Home from '../components/HomePage.vue';
import Message from '../components/message.vue';
import Mine from '../components/mine.vue';
import SearchPage from '../components/searchPage.vue';
+import Communication from "@/components/Communication.vue";
+import DemandList from "@/components/DemandList.vue";
const routes = [
{ path: '/', redirect: '/login' }, // 重定向到/login路径
@@ -14,7 +16,9 @@ const routes = [
{ path: '/message', component: Message },
{ path: '/mine', component: Mine },
{ path: '/searchPage', component: SearchPage },
- { path: '/Communication', component: Communication }
+ { path: '/Communication', component: Communication },
+ { path: '/searchPage', component: SearchPage},
+ { path: '/DemandList', component:DemandList}
];
const router = createRouter({