From 0f844484d9d3bbd68636651fe267df0a95af09ab Mon Sep 17 00:00:00 2001 From: zcx <1078327420@qq.com> Date: Wed, 15 May 2024 10:27:23 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit ee7d59566aa9dd58d81f4d9a7ade17d22bac7266 Author: zcx <1078327420@qq.com> Date: Wed May 15 10:18:52 2024 +0800 修改上传文件结构 commit c143d6695789eea4dd11f36d84addab8880866c9 Author: zcx <1078327420@qq.com> Date: Wed May 15 10:12:58 2024 +0800 1 commit d4b226f46ce33f8ccea6f52f707ef5ade672385a Author: zcx <1078327420@qq.com> Date: Wed May 15 09:39:59 2024 +0800 1 commit 18119839d90ceccd48f0bf9a23683e13ee27b2f1 Author: zcx <1078327420@qq.com> Date: Wed May 15 09:08:06 2024 +0800 修改 commit 4ca319060a4750ce1c4b5937f859c3f790a667f1 Author: zcx <1078327420@qq.com> Date: Sun May 12 21:41:25 2024 +0800 1 commit 420c9925aa7e0edce937e031b50ca18e494369ba Author: zcx <1078327420@qq.com> Date: Sun May 12 21:00:08 2024 +0800 修改文件结构 commit dece352494a0e93f3fd927b3dd31fc3f1e3bd0c3 Author: zcx <1078327420@qq.com> Date: Sun May 12 19:47:44 2024 +0800 1 commit c4de9ccc45f534c19f7a93e7b3ecb4ba3ce429e1 Author: zcx <1078327420@qq.com> Date: Sun May 12 19:36:07 2024 +0800 1 commit 05aefb2d5513312fb3e67747694a6988dca96507 Author: zcx <1078327420@qq.com> Date: Sun May 12 19:28:09 2024 +0800 1 commit 2991a0288ef452759322f6b875e990528b042786 Author: zcx <1078327420@qq.com> Date: Sun May 12 19:24:16 2024 +0800 1 commit f0a01dc52ae4f5b9116cf37645e7a165126ae287 Author: zcx <1078327420@qq.com> Date: Sun May 12 19:14:07 2024 +0800 1 commit 103b91481dd79a631b6c7562405031171bdb11e7 Merge: 3f241a6 d73c814 Author: zcx <1078327420@qq.com> Date: Sat May 11 16:10:15 2024 +0800 Merge branch 'develop' of https://bdgit.educoder.net/mwxbgi697/softegg into 曾晨曦_branch # Conflicts: # src/前端/walktofree/src/components/new_file.vue # src/前端/walktofree/src/main.js # src/前端/walktofree/src/pages/Communication.vue # src/前端/walktofree/src/pages/Login.vue # src/前端/walktofree/src/pages/Pay.vue # src/前端/walktofree/src/pages/Register.vue # src/前端/walktofree/src/pages/SecurityVerification.vue # src/前端/walktofree/src/pages/addDemand.vue # src/前端/walktofree/src/pages/mine.vue # src/前端/walktofree/src/router/index.js --- .../walktofree/src/components/new_file.vue | 45 +++++ src/前端/walktofree/src/main.js | 4 +- .../walktofree/src/pages/Communication.vue | 122 +++++++++++ src/前端/walktofree/src/pages/Login.vue | 110 ++++++++++ src/前端/walktofree/src/pages/Pay.vue | 113 +++++++++++ src/前端/walktofree/src/pages/Register.vue | 118 +++++++++++ .../src/pages/SecurityVerification.vue | 116 +++++++++++ src/前端/walktofree/src/pages/addDemand.vue | 8 +- src/前端/walktofree/src/pages/mine.vue | 190 ++++++++++++++++++ src/前端/walktofree/src/router/index.js | 12 +- 10 files changed, 830 insertions(+), 8 deletions(-) create mode 100644 src/前端/walktofree/src/components/new_file.vue create mode 100644 src/前端/walktofree/src/pages/Communication.vue create mode 100644 src/前端/walktofree/src/pages/Login.vue create mode 100644 src/前端/walktofree/src/pages/Pay.vue create mode 100644 src/前端/walktofree/src/pages/Register.vue create mode 100644 src/前端/walktofree/src/pages/SecurityVerification.vue create mode 100644 src/前端/walktofree/src/pages/mine.vue diff --git a/src/前端/walktofree/src/components/new_file.vue b/src/前端/walktofree/src/components/new_file.vue new file mode 100644 index 0000000..8862541 --- /dev/null +++ b/src/前端/walktofree/src/components/new_file.vue @@ -0,0 +1,45 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/main.js b/src/前端/walktofree/src/main.js index e31ac65..afcb891 100644 --- a/src/前端/walktofree/src/main.js +++ b/src/前端/walktofree/src/main.js @@ -1,10 +1,10 @@ import { createApp } from 'vue'; import App from './App.vue'; import router from './router'; -import ElementPlus from 'element-plus'; +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 '@vuepic/vue-datepicker/dist/main.css'; const app = createApp(App); app.use(ElementPlus); diff --git a/src/前端/walktofree/src/pages/Communication.vue b/src/前端/walktofree/src/pages/Communication.vue new file mode 100644 index 0000000..5626e2c --- /dev/null +++ b/src/前端/walktofree/src/pages/Communication.vue @@ -0,0 +1,122 @@ + + + + 聊天室 + + + {{ message.sender }}: + {{ message.content }} + + + + + 发送 + + + + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/pages/Login.vue b/src/前端/walktofree/src/pages/Login.vue new file mode 100644 index 0000000..28ceb62 --- /dev/null +++ b/src/前端/walktofree/src/pages/Login.vue @@ -0,0 +1,110 @@ + + + 登录 + + 手机号: + + + 密码: + + + 登录 + 注册 + + + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/pages/Pay.vue b/src/前端/walktofree/src/pages/Pay.vue new file mode 100644 index 0000000..009134c --- /dev/null +++ b/src/前端/walktofree/src/pages/Pay.vue @@ -0,0 +1,113 @@ + + + 支付订单 + + 订单金额: {{ orderAmount }} 元 + + + 银行卡号: + + 到期日期: + + CVV: + + 支付 + {{ error }} + + + + + + + diff --git a/src/前端/walktofree/src/pages/Register.vue b/src/前端/walktofree/src/pages/Register.vue new file mode 100644 index 0000000..f451a0b --- /dev/null +++ b/src/前端/walktofree/src/pages/Register.vue @@ -0,0 +1,118 @@ + + + 注册 + + 手机号: + + + 密码: + + + + 姓名: + + + + 身份证号: + + + + 昵称: + + + + 注册 + 返回登录 + + + + + + + \ No newline at end of file diff --git a/src/前端/walktofree/src/pages/SecurityVerification.vue b/src/前端/walktofree/src/pages/SecurityVerification.vue new file mode 100644 index 0000000..811c2f4 --- /dev/null +++ b/src/前端/walktofree/src/pages/SecurityVerification.vue @@ -0,0 +1,116 @@ + + + 安全验证 + + + 身份证号: + + 验证 + 身份证号验证通过! + 请输入有效的身份证号! + + + + 银行卡号: + + 验证 + 银行卡号验证通过! + 请输入有效的银行卡号! + + {{ error }} + + + + + + diff --git a/src/前端/walktofree/src/pages/addDemand.vue b/src/前端/walktofree/src/pages/addDemand.vue index 121d1d6..e05152e 100644 --- a/src/前端/walktofree/src/pages/addDemand.vue +++ b/src/前端/walktofree/src/pages/addDemand.vue @@ -19,15 +19,15 @@ const rangeValue = ref([format(new Date(), 'yyyy-MM-dd'), format(addDa // 获取到JSON数据 const getProvinceList = async () => { const res = await axios.get('https://yjy-oss-files.oss-cn-zhangjiakou.aliyuncs.com/tuxian/area.json') - provinceList.value = res.data - console.log(provinceList.value) + provinceList.value = res.data; + console.log(provinceList.value); } const publish = () => { // 在这里编写发布时需要执行的逻辑 if(city.value!=''){ axios.post(`http://106.52.218.118:12607/users/pupdate`,{city:city.value,time:rangeValue.value,remark:remark.value}) .then(response => { - alert("发布成功") + alert("发布成功"); }) .catch(error => { console.error('发布失败', error); @@ -37,7 +37,7 @@ const publish = () => { } }; onBeforeMount(async()=>{ - getProvinceList() + getProvinceList(); }) watchEffect(() => { diff --git a/src/前端/walktofree/src/pages/mine.vue b/src/前端/walktofree/src/pages/mine.vue new file mode 100644 index 0000000..ee48ea2 --- /dev/null +++ b/src/前端/walktofree/src/pages/mine.vue @@ -0,0 +1,190 @@ + + + 个人主页 + + + 昵称: + + 保存 + + + 昵称:{{ user.nickname }} + 更换 + + + + + 邮箱: + + 保存 + + + 邮箱:{{ user.email }} + 编辑 + + + + 手机号: + + 保存 + + + 手机号:{{ user.phone }} + 更换 + + + + + + + + + + + diff --git a/src/前端/walktofree/src/router/index.js b/src/前端/walktofree/src/router/index.js index d3cad07..afc07c4 100644 --- a/src/前端/walktofree/src/router/index.js +++ b/src/前端/walktofree/src/router/index.js @@ -4,9 +4,13 @@ import Register from '../pages/Register.vue'; import Home from '../pages/HomePage.vue'; import Mine from '../pages/mine.vue'; import SearchPage from '../pages/searchPage.vue'; -import AddDemand from '../pages/addDemand.vue'; import Test from '../pages/test.vue' import Communication from '../pages/Communication.vue' +import Pay from "@/pages/Pay.vue"; +import addDemand from "@/pages/addDemand.vue"; +import DemandList from "@/pages/DemandList.vue"; +import Evaluation from "@/pages/Evaluation.vue"; +import SecurityVerification from "@/pages/SecurityVerification.vue"; const routes = [ { path: '/', redirect: '/login' }, // 重定向到/login路径 @@ -15,9 +19,13 @@ const routes = [ { path: '/home', component: Home }, { path: '/mine', component: Mine }, { path: '/searchPage', component: SearchPage }, - { path: '/addDemandPage', component: AddDemand }, + { path: '/addDemandPage', component: addDemand }, { path: '/test', component: Test }, { path: '/message', component: Communication }, + { path: '/pay', component:Pay}, + { path: '/demandlist', component:DemandList}, + { path: '/evaluation', component:Evaluation}, + { path: '/SecurityVerification', component:SecurityVerification} ]; const router = createRouter({
订单金额: {{ orderAmount }} 元
{{ error }}
身份证号验证通过!
请输入有效的身份证号!
银行卡号验证通过!
请输入有效的银行卡号!
昵称:{{ user.nickname }}
邮箱:{{ user.email }}
手机号:{{ user.phone }}