From 7db9e68e77ebe8ff6962808a06157365b69c4fe2 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Sat, 26 Aug 2023 20:42:42 +0800
Subject: [PATCH] =?UTF-8?q?=E7=9C=9F=E5=AE=9E=E8=80=83=E5=9C=BA=E7=A7=91?=
=?UTF-8?q?=E7=9B=AE1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 68 ++++---
src/pages/index/components/Subject1.vue | 2 +-
src/pages/index/trueTest.vue | 257 ++++++++++++++++++++++++
3 files changed, 295 insertions(+), 32 deletions(-)
create mode 100644 src/pages/index/trueTest.vue
diff --git a/src/pages.json b/src/pages.json
index 39c249a..417cfb7 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -111,34 +111,41 @@
"enablePullDownRefresh": false
}
},
- {
- "path": "pages/index/iconSkill",
- "style": {
- "navigationBarTitleText": "图标技巧",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/questionBank/chapterExercise",
- "style": {
- "navigationBarTitleText": "章节练习",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/index/testRoom",
- "style": {
- "navigationBarTitleText": "考场实况",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/index/paySuccess",
- "style": {
- "navigationBarTitleText": "支付结果",
- "enablePullDownRefresh": false
- }
- }
+ {
+ "path": "pages/index/iconSkill",
+ "style": {
+ "navigationBarTitleText": "图标技巧",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/questionBank/chapterExercise",
+ "style": {
+ "navigationBarTitleText": "章节练习",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/index/testRoom",
+ "style": {
+ "navigationBarTitleText": "考场实况",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/index/paySuccess",
+ "style": {
+ "navigationBarTitleText": "支付结果",
+ "enablePullDownRefresh": false
+ }
+ }, {
+ "path": "pages/index/trueTest",
+ "style": {
+ "navigationBarTitleText": "真实考场模拟",
+ "enablePullDownRefresh": false
+ }
+
+ }
],
"globalStyle": {
@@ -152,8 +159,7 @@
"selectedColor": "#333333",
"backgroundColor": "#FFFFFF",
"color": "#999999",
- "list": [
- {
+ "list": [{
"pagePath": "pages/index/index",
"iconPath": "static/image/tabbar/tab-home.png",
"selectedIconPath": "static/image/tabbar/tab-home-selected.png",
@@ -168,4 +174,4 @@
}
]
}
-}
+}
\ No newline at end of file
diff --git a/src/pages/index/components/Subject1.vue b/src/pages/index/components/Subject1.vue
index 61975e5..2c19265 100644
--- a/src/pages/index/components/Subject1.vue
+++ b/src/pages/index/components/Subject1.vue
@@ -131,7 +131,7 @@
methods: {
toTestRoom(){
uni.navigateTo({
- url:"/pages/index/testRoom"
+ url:"/pages/index/trueTest"
})
},
toVip(){
diff --git a/src/pages/index/trueTest.vue b/src/pages/index/trueTest.vue
new file mode 100644
index 0000000..77232c1
--- /dev/null
+++ b/src/pages/index/trueTest.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+
+
+ 第01考台
+
+
+
+
+
+
+
+
+ 姓名
+
+ {{ user.userName }}{{ user.userId }}
+
+
+
+ 类型
+
+ 小车
+
+
+
+ 科目
+
+ 科目一
+
+
+
+
+
+
+ {{questionIndex}} {{question.question}}
+
+
+ {{item}}
+
+
+
+
+
+
+ 45:00
+
+
+ 您的答案:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{listIndex+1}}
+
+
+
+
+
+
+
+ 操作提示:{{['','判断题','单选题','多选题'][question.type]}}
+
+
+ 本题是{{getDesc(question.type)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
2.38.1.windows.1