Browse Source

顺序答题

y595705120 2 years ago
parent
commit
cddafd4c36
3 changed files with 20 additions and 30 deletions
  1. 3 3
      pages/newExam/orderTest/index.wxml
  2. 3 3
      pages/train/orderTest/answer.wxml
  3. 14 24
      project.config.json

+ 3 - 3
pages/newExam/orderTest/index.wxml

@@ -27,7 +27,7 @@
             </label>
           </radio-group>
 
-          <view class="exam-clear mt20" wx:if="{{info.select>0}}">
+          <view class="exam-clear mt20" wx:if="{{info.select>0 && !showResult}}">
             <view class="exam-extend-item">
               答题结果:
               <text class="question-answer-right question-answer-result" wx:if="{{info.select==info.result}}">正确
@@ -60,7 +60,7 @@
           </checkbox-group>
         </view>
 
-        <view class="exam-clear mt20" wx:if="{{isFinish || info._select}}">
+        <view class="exam-clear mt20" wx:if="{{(isFinish || info._select) && !showResult}}">
           <view class="exam-extend-item">
             答题结果:
             <text class="question-answer-right question-answer-result" wx:if="{{info.select==info.result}}">正确
@@ -89,7 +89,7 @@
             </label>
           </radio-group>
         </view>
-        <view class="exam-clear mt20" wx:if="{{ info.select>0}}">
+        <view class="exam-clear mt20" wx:if="{{ info.select>0 && !showResult}}">
           <view class="exam-extend-item">
             答题结果:
             <text class="question-answer-right question-answer-result" wx:if="{{info.select==info.result}}">正确

+ 3 - 3
pages/train/orderTest/answer.wxml

@@ -27,7 +27,7 @@
             </label>
           </radio-group>
 
-          <view class="exam-clear mt20" wx:if="{{info.select>0}}">
+          <view class="exam-clear mt20" wx:if="{{info.select>0 && !showResult}}">
             <view class="exam-extend-item">
               答题结果:
               <text class="question-answer-right question-answer-result" wx:if="{{info.select==info.result}}">正确
@@ -60,7 +60,7 @@
           </checkbox-group>
         </view>
 
-        <view class="exam-clear mt20" wx:if="{{isFinish || info._select}}">
+        <view class="exam-clear mt20" wx:if="{{(isFinish || info._select) && !showResult}}">
           <view class="exam-extend-item">
             答题结果:
             <text class="question-answer-right question-answer-result" wx:if="{{info.select==info.result}}">正确
@@ -89,7 +89,7 @@
             </label>
           </radio-group>
         </view>
-        <view class="exam-clear mt20" wx:if="{{ info.select>0}}">
+        <view class="exam-clear mt20" wx:if="{{ info.select>0 && !showResult}}">
           <view class="exam-extend-item">
             答题结果:
             <text class="question-answer-right question-answer-result" wx:if="{{info.select==info.result}}">正确

+ 14 - 24
project.config.json

@@ -1,7 +1,8 @@
 {
-  "description": "Project configuration file",
+  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "packOptions": {
-    "ignore": []
+    "ignore": [],
+    "include": []
   },
   "setting": {
     "urlCheck": false,
@@ -37,34 +38,23 @@
     "userConfirmedBundleSwitch": false,
     "packNpmManually": false,
     "packNpmRelationList": [],
-    "minifyWXSS": true
+    "minifyWXSS": true,
+    "lazyloadPlaceholderEnable": false,
+    "useStaticServer": true,
+    "showES6CompileOption": false,
+    "disableUseStrict": false,
+    "useCompilerPlugins": false,
+    "minifyWXML": true
   },
   "compileType": "miniprogram",
   "libVersion": "2.8.0",
   "appid": "wx701d6e0be4d00ae7",
   "projectname": "ndjsxh",
-  "debugOptions": {
-    "hidedInDevtools": []
-  },
-  "isGameTourist": false,
   "simulatorType": "wechat",
   "simulatorPluginLibVersion": {},
-  "condition": {
-    "search": {
-      "list": []
-    },
-    "conversation": {
-      "list": []
-    },
-    "plugin": {
-      "list": []
-    },
-    "game": {
-      "currentL": -1,
-      "list": []
-    },
-    "miniprogram": {
-      "list": []
-    }
+  "condition": {},
+  "editorSetting": {
+    "tabIndent": "insertSpaces",
+    "tabSize": 2
   }
 }