From 70a3ec3182fefeee6709b6c4ea7b5cfe38c63b57 Mon Sep 17 00:00:00 2001 From: xy <2115269706@qq.com> Date: Mon, 24 Mar 2025 18:20:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E4=B8=80=E4=BA=9B=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.ts | 7 +- src/assets/images/login.png | Bin 7886 -> 6552 bytes src/layout/knowledgePage.vue | 7 +- src/layout/loginPage.vue | 20 +- src/layout/passwordPage.vue | 410 +++++++++++++++++++++++++++++++++++ src/layout/spacePage.vue | 155 +++++++++---- src/router/index.ts | 6 +- 7 files changed, 554 insertions(+), 51 deletions(-) create mode 100644 src/layout/passwordPage.vue diff --git a/src/api/user.ts b/src/api/user.ts index 5d893e2..36da266 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -38,4 +38,9 @@ export const getKnowledgeService = () => { url: "knowledgepoint/xnKnowledgePoint/list", method: "get", }); -}; \ No newline at end of file +}; + +//修改密码 +export const userChangePasswordService = (params) => { + return request.post('/xnRecords/changeStuPassword', params) +} \ No newline at end of file diff --git a/src/assets/images/login.png b/src/assets/images/login.png index 6fda787d43150edf724f138f5cde41f189ba35b8..56e256f3fa10392ff09046cba7a7cc93670483ec 100644 GIT binary patch literal 6552 zcmeHL`Cn4m|3<$1dJ`CPXopIS)Lp1f^S?d3n}hC{m|rtMbTRH`AmiF#X5}j&PMkUc(>ZQ@ps^w6Wavv}-X-j=yia@Wcl7>xK-b&TfgJVI^PesFsu}55HV(9; zd!%Kl#7ynALgx?V46Sr7v7$7}Ou4o;x4SISG~tRJF-dpg%h!3t2;JV2#RWaR9ZhQB zjh|zp!Wpwl?k~()+Y*T%)98%+`T=CPjP8n6Z-g>JF#+i7h++tFHnfg6hCraK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P0TSP%fj>s;jSsxt z-9N`+T633ccDt(q6?M8V0LZ>N2&{2^_qzdA0V&XhtGim1?#?j>KJ(eI-4);MO4oj! z_!XY7M)B1ZzDA0#@$qX`_?k5TKT-wjvf~Log+86S4!bmG=y8_jZY4@b2a`Jk*`+(` zasg{|q^|XQy96jBs!{#sk08*UeaXFHzX3gdLtFnfa`*q&xH8xC@6e&SzJD9&Z-6TA zu79|hMc|ze?2^Y<*Zs|RH*AnCRR4EOxvktI?|;eSqmTc|W#sBWb$7E1*zZQ8`VRmX zQ*DI&H};#e=D%_Zo>~9ORZ<92&!gHC0DJcjBWicmCjh x0;6|}h2+%;#MW<_y^$vdb{s+zoyOjU{ diff --git a/src/layout/knowledgePage.vue b/src/layout/knowledgePage.vue index cbfe8c4..220fe9d 100644 --- a/src/layout/knowledgePage.vue +++ b/src/layout/knowledgePage.vue @@ -43,7 +43,12 @@ const SubLeft = () => { } //右箭头 const SubRight = () => { - + if (currentKnowledgeIndex.value+1 < Knowledges.value.length) { + currentKnowledgeIndex.value++; // 更新到下一题 + } + else { + ElMessage.success('知识点已学习完毕,请提交') + } } const Knowledges = ref([]); diff --git a/src/layout/loginPage.vue b/src/layout/loginPage.vue index 92a98cf..730d485 100644 --- a/src/layout/loginPage.vue +++ b/src/layout/loginPage.vue @@ -9,8 +9,8 @@ - -
+ +
@@ -20,8 +20,7 @@
用户账号
- +
@@ -36,7 +35,7 @@
用户密码
-
@@ -57,7 +56,7 @@
- +
@@ -160,7 +159,7 @@ - +
@@ -254,10 +253,10 @@ \ No newline at end of file diff --git a/src/layout/spacePage.vue b/src/layout/spacePage.vue index 4a8861b..694ddb7 100644 --- a/src/layout/spacePage.vue +++ b/src/layout/spacePage.vue @@ -12,74 +12,74 @@

个人中心

学生8527

- - + +
- - + +
用户账号
- +
- +
姓名
- +
- +
班级
- +
-
- - + +
学号
- +
- +
手机号
- +
- +
成绩
- +
+ 更改个人信息
@@ -89,31 +89,55 @@
- + + + + + + + + + + + + + + + + + +