From 93aadab3e592ccb4d2f7ff00f4bd79d6e7a7daec Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 11 七月 2024 15:48:28 +0800
Subject: [PATCH] 详情页接口优化,图书列表页骨架屏优化

---
 packageBookService/pages/bookServices/examination/examination.wxml |   41 ++++++++++++++++++++++++++---------------
 1 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml
index 2f050dc..667b280 100644
--- a/packageBookService/pages/bookServices/examination/examination.wxml
+++ b/packageBookService/pages/bookServices/examination/examination.wxml
@@ -1,11 +1,15 @@
 <!--pages/examination/examination.wxml-->
+
+<import src="examination.skeleton.wxml" />
+<template is="skeleton" wx:if="{{loading}}" />
+
 <!--瀵艰埅鍖哄煙 -->
-<view
+<!-- <view
   style="width: 100%; height: {{barHeight}}px;background-color: {{isNight ? '#191919' : '#fff'}} "
 ></view>
 <view
   class="nacigationBar"
-  style="width: 75%; height: {{navBarHeight}}px; background-color: {{isNight ? '#191919' : '#fff'}}"
+  style="width: 100%; height: {{navBarHeight}}px; background-color: {{isNight ? '#191919' : '#fff'}}"
 >
   <view>
     <t-icon
@@ -19,15 +23,6 @@
   <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' : ''}}">
@@ -51,22 +46,28 @@
     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}}">
+  <!-- <view class="lodaing-box" wx:if="{{loading}}">
     <t-loading
       theme="circular"
       size="80rpx"
       class="wrapper"
       loading="{{loading}}"
-  /></view>
+  /></view> -->
 </view>
 
 <!-- 搴曢儴鍖哄煙-->
 
-<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}}"
@@ -80,12 +81,22 @@
     subjectiveNum="{{subjectiveNum}}"
     subjectiveGrade="{{subjectiveGrade}}"
     correctNum="{{correctNum}}"
-    mockSumTime="{{mock.sumTime}}"
+    mockSumTime="{{mockData.sumTime}}"
+    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>
+
+<page-container
+  show="{{showDialog}}"
+  duration="{{false}}"
+  overlay="{{false}}"
+  bind:beforeleave="beforeleave"
+></page-container>

--
Gitblit v1.9.1