From 0c8505fb7d8a3ba0a3ef6dbcf5a7aa8cdb36105d Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 10 四月 2024 16:39:13 +0800 Subject: [PATCH] 子商品跳转 --- packageBookService/pages/bookServices/examination/examination.wxml | 33 +++++++++++++++++++++++++++++---- 1 files changed, 29 insertions(+), 4 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml index 9b02607..5e756e3 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}}"> @@ -37,14 +45,17 @@ ></question-schedule> <question-list wx:if="{{!loading}}" + sliderValue="{{sliderValue}}" isNight="{{isNight}}" answerType="{{answerType}}" 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}}"> <t-loading @@ -57,7 +68,11 @@ <!-- 搴曢儴鍖哄煙--> -<view class="page-bottom" style="background-color:{{isNight ? '#202020' : ''}}"> +<view + class="page-bottom" + style="background-color:{{isNight ? '#202020' : ''}}" + wx:if="{{answerType !== 'errorQuestion' || (answerType == 'errorQuestion' && !loading)}}" +> <question-options id="question-options" isNight="{{isNight}}" @@ -77,5 +92,15 @@ 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