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 |   26 +++++++++++---------------
 1 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml
index 5e756e3..667b280 100644
--- a/packageBookService/pages/bookServices/examination/examination.wxml
+++ b/packageBookService/pages/bookServices/examination/examination.wxml
@@ -1,6 +1,10 @@
 <!--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
@@ -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' : ''}}">
@@ -57,13 +52,13 @@
     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>
 
 <!-- 搴曢儴鍖哄煙-->
@@ -86,7 +81,8 @@
     subjectiveNum="{{subjectiveNum}}"
     subjectiveGrade="{{subjectiveGrade}}"
     correctNum="{{correctNum}}"
-    mockSumTime="{{mock.sumTime}}"
+    mockSumTime="{{mockData.sumTime}}"
+    showId="{{showId}}"
     bind:setCollect="setCollect"
     bind:submitPaper="submitPaper"
     bind:restart="restart"
@@ -94,12 +90,12 @@
     bind:changeBGColor="changeBGColor"
     bind:onChangeSlider="onChangeSlider"
     bind:changeLoadingState="changeLoadingState"
+    bind:changeNavBarColor="changeNavBarColor"
   ></question-options>
 </view>
 
 <page-container
-  wx:if="{{(answerType == 'mock' || answerType == 'option') && !submitStatus}}"
-  show="{{true}}"
+  show="{{showDialog}}"
   duration="{{false}}"
   overlay="{{false}}"
   bind:beforeleave="beforeleave"

--
Gitblit v1.9.1