diff --git a/src/前端/walktofree.iml b/src/前端/walktofree.iml new file mode 100644 index 0000000..1786447 --- /dev/null +++ b/src/前端/walktofree.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/components/Demand.vue b/src/前端/walktofree/src/components/Demand.vue deleted file mode 100644 index ab34564..0000000 --- a/src/前端/walktofree/src/components/Demand.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - - - diff --git a/src/前端/walktofree/src/components/DemandList.vue b/src/前端/walktofree/src/components/DemandList.vue new file mode 100644 index 0000000..e6ee4f1 --- /dev/null +++ b/src/前端/walktofree/src/components/DemandList.vue @@ -0,0 +1,41 @@ + + + + + \ 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 @@ + + + + + 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 @@ + + + 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({