From 8cbdee91e04162812b29134397a0c311759d0b77 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 10 四月 2024 15:32:07 +0800
Subject: [PATCH] 优化答题器暂无数据显示

---
 packageBookService/pages/bookServices/examination/examination.wxml |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml
index 3d3051b..5e756e3 100644
--- a/packageBookService/pages/bookServices/examination/examination.wxml
+++ b/packageBookService/pages/bookServices/examination/examination.wxml
@@ -51,9 +51,11 @@
     currentIndex="{{currentIndex}}"
     questionList="{{questionDataList}}"
     submitStatus="{{submitStatus}}"
+    noData="{{noData}}"
     bind:onChangeRadio="onChangeRadio"
     bind:onChangeInput="onChangeInput"
     bind:changeSwiper="changeSwiper"
+    bind:viewParsing="viewParsing"
   ></question-list>
   <view class="lodaing-box" wx:if="{{loading}}">
     <t-loading
@@ -66,7 +68,11 @@
 
 <!-- 搴曢儴鍖哄煙-->
 
-<view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}">
+<view
+  class="page-bottom"
+  style="background-color:{{isNight ? '#202020' : ''}}"
+  wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}"
+>
   <question-options
     id="question-options"
     isNight="{{isNight}}"
@@ -87,5 +93,14 @@
     bind:goQuestion="goQuestion"
     bind:changeBGColor="changeBGColor"
     bind:onChangeSlider="onChangeSlider"
+    bind:changeLoadingState="changeLoadingState"
   ></question-options>
 </view>
+
+<page-container
+  wx:if="{{(answerType == 'mock' || answerType == 'option') && !submitStatus}}"
+  show="{{true}}"
+  duration="{{false}}"
+  overlay="{{false}}"
+  bind:beforeleave="beforeleave"
+></page-container>

--
Gitblit v1.9.1