From 370ed0ab1bc6c7d572518000eac4126ea192a3d6 Mon Sep 17 00:00:00 2001 From: JayChou Date: Wed, 26 Mar 2025 17:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=9E=E9=AA=8C=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=E5=AE=9E=E9=AA=8C=E4=B8=8D=E5=8F=AF=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=20=E5=AF=B9=E6=8E=A5=E6=8F=90=E4=BA=A4=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=88=86=E6=95=B0=20=E5=A2=9E=E5=8A=A0=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=AA=8C=E8=AF=81=E7=A0=81=E5=A4=B1=E8=B4=A5=E6=AD=A5?= =?UTF-8?q?=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 6 + src/layout/index.vue | 49 +++- src/layout/loginPage.vue | 378 ++++++++++++++++++--------- src/layout/studyPage.vue | 104 +++++++- src/store/modules/setting.ts | 1 + src/store/modules/user.ts | 25 +- src/views/compiler/index.vue | 6 +- src/views/designRoute/index.vue | 2 + src/views/experimentalData/index.vue | 2 + src/views/largeDataScreen/home.vue | 81 ++++-- src/views/program/index.vue | 17 +- 11 files changed, 490 insertions(+), 181 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 185b91c..0ef05db 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -81,4 +81,10 @@ export const submitExperiment = (data:any) => { method:"POST", data }) +} +// 查看得分 +export const getScore = () => { + return request({ + url:'/xnRecords/getExperimentaInfo' + }) } \ No newline at end of file diff --git a/src/layout/index.vue b/src/layout/index.vue index 0501961..0ffe8b3 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -4,7 +4,7 @@

{{ user.token ? "已登录" : "登录/注册" }}

- +
{{ setting.title }}
@@ -13,13 +13,19 @@ -
+
+ 当前实验步骤为第{{ setting.activeStepIndex }}步,实验名称为:{{ + stepData[setting.activeStepIndex] + }},共11步 +
+
全部实验完成
+ diff --git a/src/layout/loginPage.vue b/src/layout/loginPage.vue index c71ab96..11281ef 100644 --- a/src/layout/loginPage.vue +++ b/src/layout/loginPage.vue @@ -8,56 +8,94 @@
- + -
-
+
+
-
用户账号
+
+ 用户账号 +
- +
-
-
+
+
-
用户密码
+
+ 用户密码 +
- +
-
-
+
+
-
确认密码
+
+ 确认密码 +
- +
-
+
@@ -66,14 +104,21 @@
姓名
- +
-
-
+
+
@@ -82,15 +127,23 @@
班级
- +
-
-
+
+
@@ -99,39 +152,60 @@
学号
- +
-
-
+
+
-
手机号
+
+ 手机号 +
- +
-
-
+
+
-
验证码
+
+ 验证码 +
- +
@@ -140,12 +214,32 @@
- + 注册 - + 返回到登录页 @@ -156,21 +250,37 @@ --> - - -
-
+ + +
+
-
用户名
+
+ 用户名 +
- +
@@ -190,9 +300,12 @@
--> - -
-
+ +
+
@@ -201,24 +314,37 @@
密码
- +
- -
-
+ +
+
-
验证码
+
+ 验证码 +
- +
@@ -235,10 +361,22 @@
--> - 登录 - 去注册 + 登录 + 去注册 @@ -252,14 +390,21 @@