diff --git a/pages.json b/pages.json
index 28fced7..cf91a8a 100644
--- a/pages.json
+++ b/pages.json
@@ -115,6 +115,11 @@
"style": {
"navigationBarTitleText": "客服中心"
}
+ },{
+ "path": "pages/index/result",
+ "style": {
+ "navigationBarTitleText": "测试结果"
+ }
}
],
"globalStyle": {
diff --git a/pages/index/result.vue b/pages/index/result.vue
new file mode 100644
index 0000000..c1ecf40
--- /dev/null
+++ b/pages/index/result.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+ 4.5
+ 4.1
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/visionTest.vue b/pages/index/visionTest.vue
index ce90e14..41970d8 100644
--- a/pages/index/visionTest.vue
+++ b/pages/index/visionTest.vue
@@ -74,8 +74,14 @@
left:4,
right:4
})
+ const is_test = ref(true)
// 函数
function toStart() { // 开始测试
+ if(is_test.value) {
+ uni.navigateTo({
+ url:'/pages/index/result'
+ })
+ }
inputDialog.value.close()
inputDialog2.value.open()
let s = setInterval(() => {
@@ -153,7 +159,10 @@
icon:"success",
duration:2000,
success: function (res){
- uni.navigateBack()
+ // uni.navigateBack()
+ uni.navigateTo({
+ url:"/pages/index/result?res="+encodeURIComponent(JSON.stringify(res))
+ })
}
})
diff --git a/static/result1.jpg b/static/result1.jpg
new file mode 100644
index 0000000..0d57b64
Binary files /dev/null and b/static/result1.jpg differ
diff --git a/static/result2.jpg b/static/result2.jpg
new file mode 100644
index 0000000..d0abc21
Binary files /dev/null and b/static/result2.jpg differ
diff --git a/static/result3.jpg b/static/result3.jpg
new file mode 100644
index 0000000..07e1fc3
Binary files /dev/null and b/static/result3.jpg differ