From d61a31af1b8a220af669c818f11b6a13c1fb8dba Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 16:15:36 +0800 Subject: [PATCH] 图书详情页布局调整 --- packageBookService/pages/bookServices/examination/examination.wxml | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml index 4c597a9..2f050dc 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: 75%; 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,18 +30,24 @@ /> </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}}" @@ -41,7 +55,7 @@ bind:onChangeInput="onChangeInput" bind:changeSwiper="changeSwiper" ></question-list> - <view class="lodaing-box"> + <view class="lodaing-box" wx:if="{{loading}}"> <t-loading theme="circular" size="80rpx" @@ -52,9 +66,10 @@ <!-- 搴曢儴鍖哄煙--> -<view class="page-bottom"> +<view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}"> <question-options id="question-options" + isNight="{{isNight}}" submitStatus="{{submitStatus}}" answerType="{{answerType}}" countdownTime="{{countdownTime}}" @@ -65,9 +80,12 @@ 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" ></question-options> </view> -- Gitblit v1.9.1