From b55024ee2f42aa93e0ecaa3113bdeb286f6e59ac Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期二, 29 七月 2025 18:01:55 +0800
Subject: [PATCH] 优化按钮显示,教学互动

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

diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml
index 588d13e..65d8ae1 100644
--- a/packageBookService/pages/bookServices/examination/examination.wxml
+++ b/packageBookService/pages/bookServices/examination/examination.wxml
@@ -1,100 +1,22 @@
 <!--pages/examination/examination.wxml-->
-<!--瀵艰埅鍖哄煙 -->
-<view
-  style="width: 100%; height: {{barHeight}}px;background-color: {{isNight ? '#191919' : '#fff'}} "
-></view>
-<view
-  class="nacigationBar"
-  style="width: 100%; height: {{navBarHeight}}px; background-color: {{isNight ? '#191919' : '#fff'}}"
->
-  <view>
-    <t-icon
-      name="chevron-left"
-      size="30"
-      data-name="{{item}}"
-      bind:click="goBack"
-      color="{{isNight ? '#fff' : '#000'}}"
-    />
+
+<import src="examination.skeleton.wxml" />
+<template is="skeleton" wx:if="{{loading}}" />
+
+<view class="page" wx:if="{{!loading}}" style="background-color:{{isNight ? '#222' : ''}}">
+  <view class="page-content" style="background-color:{{isNight ? '#222' : ''}}">
+    <question-schedule wx:if="{{!loading}}" id="countDownRef" isNight="{{isNight}}" answerType="{{answerType}}" countdownTime="{{countdownTime}}" currentIndex="{{currentIndex}}" questionList="{{questionDataList}}" submitStatus="{{submitStatus}}" subjectiveGrade="{{subjectiveGrade}}" subjectiveNum="{{subjectiveNum}}"></question-schedule>
+    <question-list wx:if="{{!loading}}" sliderValue="{{sliderValue}}" isNight="{{isNight}}" answerType="{{answerType}}" currentIndex="{{currentIndex}}" questionList="{{questionDataList}}" submitStatus="{{submitStatus}}" noData="{{noData}}" bind:onChangeRadio="onChangeRadio" bind:onChangeInput="onChangeInput" bind:changeSwiper="changeSwiper" bind:viewParsing="viewParsing"></question-list>
   </view>
-  <view class="navbar-title" style="color: {{isNight ? '#fff' : '#000'}};"
-    >{{answerTitle}}</view
-  >
-</view>
-<!-- 
-<view class="lodaing-box" wx:if="{{loaidng}}">
-  <t-loading
-    theme="circular"
-    size="80rpx"
-    class="wrapper"
-    loading="{{loading}}"
-  />
-</view> -->
 
-<view class="page-content" style="background-color:{{isNight ? '#222' : ''}}">
-  <question-schedule
-    wx:if="{{!loading}}"
-    id="countDownRef"
-    isNight="{{isNight}}"
-    answerType="{{answerType}}"
-    countdownTime="{{countdownTime}}"
-    currentIndex="{{currentIndex}}"
-    questionList="{{questionDataList}}"
-    submitStatus="{{submitStatus}}"
-    subjectiveGrade="{{subjectiveGrade}}"
-    subjectiveNum="{{subjectiveNum}}"
-  ></question-schedule>
-  <question-list
-    wx:if="{{!loading}}"
-    sliderValue="{{sliderValue}}"
-    isNight="{{isNight}}"
-    answerType="{{answerType}}"
-    currentIndex="{{currentIndex}}"
-    questionList="{{questionDataList}}"
-    submitStatus="{{submitStatus}}"
-    bind:onChangeRadio="onChangeRadio"
-    bind:onChangeInput="onChangeInput"
-    bind:changeSwiper="changeSwiper"
-    bind:viewParsing="viewParsing"
-  ></question-list>
-  <view class="lodaing-box" wx:if="{{loading}}">
-    <t-loading
-      theme="circular"
-      size="80rpx"
-      class="wrapper"
-      loading="{{loading}}"
-  /></view>
+  <!-- 搴曢儴鍖哄煙-->
+
+  <view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}" wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}">
+    <question-options id="question-options" isShowDialog="{{isShowDialog}}" isNight="{{isNight}}" submitStatus="{{submitStatus}}" answerType="{{answerType}}" countdownTime="{{countdownTime}}" currentIndex="{{currentIndex}}" questionDataList="{{questionDataList}}" cardList="{{cardList}}" subjectiveTotal="{{subjectiveTotal}}" subjectiveNum="{{subjectiveNum}}" subjectiveGrade="{{subjectiveGrade}}" correctNum="{{correctNum}}" mockSumTime="{{mockData.sumTime}}" joinGroup="{{joinGroup}}" showId="{{showId}}" bind:setCollect="setCollect" bind:submitPaper="submitPaper" bind:restart="restart" bind:goQuestion="goQuestion" bind:changeBGColor="changeBGColor" bind:onChangeSlider="onChangeSlider" bind:changeLoadingState="changeLoadingState" bind:changeNavBarColor="changeNavBarColor"></question-options>
+  </view>
 </view>
 
-<!-- 搴曢儴鍖哄煙-->
+<page-container show="{{showDialog}}" duration="{{false}}" overlay="{{false}}" bind:beforeleave="beforeleave"></page-container>
 
-<view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}">
-  <question-options
-    id="question-options"
-    isNight="{{isNight}}"
-    submitStatus="{{submitStatus}}"
-    answerType="{{answerType}}"
-    countdownTime="{{countdownTime}}"
-    currentIndex="{{currentIndex}}"
-    questionDataList="{{questionDataList}}"
-    cardList="{{cardList}}"
-    subjectiveTotal="{{subjectiveTotal}}"
-    subjectiveNum="{{subjectiveNum}}"
-    subjectiveGrade="{{subjectiveGrade}}"
-    correctNum="{{correctNum}}"
-    mockSumTime="{{mock.sumTime}}"
-    bind:setCollect="setCollect"
-    bind:submitPaper="submitPaper"
-    bind:restart="restart"
-    bind:goQuestion="goQuestion"
-    bind:changeBGColor="changeBGColor"
-    bind:onChangeSlider="onChangeSlider"
-  ></question-options>
-</view>
-
-<page-container
-  wx:if="{{(answerType == 'mock' || answerType == 'option') && !submitStatus}}"
-  show="{{true}}"
-  duration="{{false}}"
-  overlay="{{false}}"
-  bind:beforeleave="beforeleave"
-></page-container>
+<!-- 鍔犲叆鐝骇寮圭獥 -->
+<join-dialog visible="{{visible}}" bind:joinClass="joinClass"> </join-dialog>
\ No newline at end of file

--
Gitblit v1.9.1