roose 5 éve
szülő
commit
2d6cecb010

+ 2 - 2
app.json

@@ -1,8 +1,9 @@
 {
   "pages": [
+    "pages/myClass/myClass",
     "pages/welcome/welcome",
     "pages/testAnswer/testAnswer",
-    "pages/myClass/myClass",
+   
     "pages/last/last",
     "pages/index/index",
     "pages/personInfo/personInfo", 
@@ -11,7 +12,6 @@
     "pages/answerAfterclasses/answerAfterclasses",
     "pages/studentRegistration/studentRegistration",
     "pages/evaluationCourse/evaluationCourse",
-    "pages/studentRegistrationDeyail/studentRegistrationDeyail",
     "pages/feedBack/feedBack",
     "pages/answerAfterclass/answerAfterclass",
     "pages/feedBackDetail/feedBackDetail",

+ 13 - 2
pages/answerAfterclass/answerAfterclass.js

@@ -354,9 +354,20 @@ Page({
             //   answersId: res.data.answersId
             // })
             // this.allShi(id, paperId, sessionKey);
-            wx.switchTab({
-              url: '/pages/myClass/myClass',
+            wx.showModal({
+              showCancel: false,
+              content: '恭喜您,提交答案成功,请耐心等待老师判卷',
+              success() {
+                wx.navigateBack({
+                  delta: 1
+                })
+              }
             })
+            
+            // wx.switchTab({
+            //   url: '/pages/myClass/myClass',
+            // })
+
            
           }
         }

+ 11 - 2
pages/answerAfterclasses/answerAfterclasses.js

@@ -353,9 +353,18 @@ Page({
             //   answersId: res.data.answersId
             // })
             // this.allShi(id, paperId, sessionKey);
-            wx.switchTab({
-              url: '/pages/testAnswer/testAnswer',
+            wx.showModal({
+              showCancel: false,
+              content: '恭喜您,提交答案成功,请耐心等待老师判卷',
+              success() {
+                wx.navigateBack({
+                  delta: 1
+                })
+              }
             })
+            // wx.switchTab({
+            //   url: '/pages/testAnswer/testAnswer',
+            // })
            
           }
         }