From 0ebd2b0f894e41cf4c22d50eb9470c74b4793666 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 17 Oct 2024 10:30:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 1 + src/assets/images/info1.png | Bin 0 -> 201 bytes src/pages/account/login/index.vue | 3 +- src/pages/setting/list/index.vue | 131 ++++++++ src/pages/setting/list/info.vue | 475 ++++++++++++++++++++++++++++++ src/router/modules/setting.js | 23 ++ 6 files changed, 631 insertions(+), 2 deletions(-) create mode 100644 src/assets/images/info1.png create mode 100644 src/pages/setting/list/index.vue create mode 100644 src/pages/setting/list/info.vue create mode 100644 src/router/modules/setting.js diff --git a/src/api/index.js b/src/api/index.js index f6fe96f..2e432b5 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -8,6 +8,7 @@ export default { forgotPassword: `/users/users/user/forgotPassword`, forgotPreVerification: `/users/users/user/forgotPreVerification`, sendPhoneVerificationCode: `/users/users/user/sendPhoneVerificationCode`, + queryUserInfoDetails: `/users/users/userAccount/queryUserInfoDetails`, getUserRolesPermissionMenu: `/users/users/user-role/getUserRolesPermissionMenu`, getCurrentTime: `/competition/competition/management/getCurrentTime`, diff --git a/src/assets/images/info1.png b/src/assets/images/info1.png new file mode 100644 index 0000000000000000000000000000000000000000..6f9ed93d9ebaaa8f3546154eda34c2487b3c11fb GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjjKx9jP7LeL$-D$|nmt_{Lp;2b zQx+H|EZO*z=kU#@UH|`k^6gV|>k&98>r%4ifgCgQ;Ygc(hA9aN0gR_7zihtA;s-j1!PC{xWt~$(69BY$M+X1^ literal 0 HcmV?d00001 diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 1d75fd4..fbb0594 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -368,8 +368,7 @@ export default { display: flex; justify-content: center; align-items: center; - min-height: calc(100vh - 43px); - padding-top: calc((100vh - 584px) / 2); + height: 100vh; background: url(../../../assets/images/shapes/shape1.png) (0 123px) / auto no-repeat, url(../../../assets/images/shapes/shape2.png) (35px 238px) / auto no-repeat, url(../../../assets/images/shapes/shape3.png) (0 485px) / auto no-repeat, diff --git a/src/pages/setting/list/index.vue b/src/pages/setting/list/index.vue new file mode 100644 index 0000000..271c0f4 --- /dev/null +++ b/src/pages/setting/list/index.vue @@ -0,0 +1,131 @@ + + + + + \ No newline at end of file diff --git a/src/pages/setting/list/info.vue b/src/pages/setting/list/info.vue new file mode 100644 index 0000000..14f27e6 --- /dev/null +++ b/src/pages/setting/list/info.vue @@ -0,0 +1,475 @@ + + + + + \ No newline at end of file diff --git a/src/router/modules/setting.js b/src/router/modules/setting.js new file mode 100644 index 0000000..6c2a8fa --- /dev/null +++ b/src/router/modules/setting.js @@ -0,0 +1,23 @@ +import BasicLayout from "@/layouts/home"; + +const meta = {}; + +const pre = "setting-"; + +export default { + path: "/setting", + name: "setting", + redirect: { + name: `${pre}person` + }, + meta, + component: BasicLayout, + children: [ + { + name: `${pre}person`, + path: `person`, + component: () => import("@/pages/setting/list"), + meta: { title: "个人中心" } + } + ] +}; \ No newline at end of file