From bd3c5bd24f0d5c5b8669bb034a75d46d7a10599d Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 10 四月 2024 11:15:39 +0800 Subject: [PATCH] 资源购买页tree组件勾选联通上下级功能完善 --- packageBookService/pages/bookServices/examination/examination.wxml | 44 ++++++++++++++++++++++++++++++++++++++------ 1 files changed, 38 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml index 4c597a9..1770099 100644 --- a/packageBookService/pages/bookServices/examination/examination.wxml +++ b/packageBookService/pages/bookServices/examination/examination.wxml @@ -1,16 +1,24 @@ <!--pages/examination/examination.wxml--> <!--瀵艰埅鍖哄煙 --> -<view style="width: 100%; height: {{barHeight}}px; "></view> -<view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> +<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'}}" /> </view> - <view class="navbar-title">{{answerTitle}}</view> + <view class="navbar-title" style="color: {{isNight ? '#fff' : '#000'}};" + >{{answerTitle}}</view + > </view> <!-- <view class="lodaing-box" wx:if="{{loaidng}}"> @@ -22,26 +30,33 @@ /> </view> --> -<view class="page-content"> +<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"> + <view class="lodaing-box" wx:if="{{loading}}"> <t-loading theme="circular" size="80rpx" @@ -52,9 +67,14 @@ <!-- 搴曢儴鍖哄煙--> -<view class="page-bottom"> +<view + class="page-bottom" + style="background-color:{{isNight ? '#202020' : ''}}" + wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}" +> <question-options id="question-options" + isNight="{{isNight}}" submitStatus="{{submitStatus}}" answerType="{{answerType}}" countdownTime="{{countdownTime}}" @@ -65,9 +85,21 @@ 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" + bind:changeLoadingState="changeLoadingState" ></question-options> </view> + +<page-container + wx:if="{{(answerType == 'mock' || answerType == 'option') && !submitStatus}}" + show="{{true}}" + duration="{{false}}" + overlay="{{false}}" + bind:beforeleave="beforeleave" +></page-container> -- Gitblit v1.9.1