From 78068d49c20a8b90db902d955f558af507eb8b96 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 四月 2024 16:06:12 +0800 Subject: [PATCH] 各页面添加骨架屏 --- packageBookService/pages/bookServices/examination/examination.wxml | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml index 9c74b48..ffa1cce 100644 --- a/packageBookService/pages/bookServices/examination/examination.wxml +++ b/packageBookService/pages/bookServices/examination/examination.wxml @@ -1,4 +1,8 @@ <!--pages/examination/examination.wxml--> + +<import src="examination.skeleton.wxml"/> +<template is="skeleton" wx:if="{{loading}}" /> + <!--瀵艰埅鍖哄煙 --> <view style="width: 100%; height: {{barHeight}}px;background-color: {{isNight ? '#191919' : '#fff'}} " @@ -20,15 +24,6 @@ >{{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 @@ -51,18 +46,19 @@ 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> <!-- 搴曢儴鍖哄煙--> @@ -70,7 +66,7 @@ <view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}" - wx:if="{{answerType == 'mock' || answerType == 'option' || (answerType == 'errorQuestion' && !loading) || (answerType == 'collectQuestion' && !loading) }}" + wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}" > <question-options id="question-options" -- Gitblit v1.9.1