From 8a27f5724e10e82cc5a30bf7051397da2e697e63 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 19 十二月 2024 10:49:11 +0800 Subject: [PATCH] bug优化,答题卡初始化 --- packageBookService/pages/psychologyAnswer/psychologyAnswer.wxml | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packageBookService/pages/psychologyAnswer/psychologyAnswer.wxml b/packageBookService/pages/psychologyAnswer/psychologyAnswer.wxml index c42bd38..9a2cf9c 100644 --- a/packageBookService/pages/psychologyAnswer/psychologyAnswer.wxml +++ b/packageBookService/pages/psychologyAnswer/psychologyAnswer.wxml @@ -4,7 +4,11 @@ wx:if="{{!loading}}" style="background-color:{{isNight ? '#222' : ''}}" > - <view class="page-content" style="background-color:{{isNight ? '#222' : ''}}"> + <view + wx:if="{{!loading}}" + class="page-content" + style="background-color:{{isNight ? '#222' : ''}}" + > <question-list wx:if="{{!loading}}" sliderValue="{{sliderValue}}" @@ -26,9 +30,10 @@ <view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}" - wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}" + wx:if="{{!loading}}" > <question-options + wx:if="{{!loading}}" id="question-options" isShowDialog="{{isShowDialog}}" isNight="{{isNight}}" @@ -51,6 +56,7 @@ </view> <page-container + wx:if="{{loading}}" show="{{showDialog}}" duration="{{false}}" overlay="{{false}}" -- Gitblit v1.9.1