From 3d73fb33c46aada16a6060adcd4ea14bb33b6b2a Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 09 四月 2024 10:39:11 +0800
Subject: [PATCH] 详情页tabs样式优化,答题添加页面退出拦截,合并代码

---
 packageBookService/pages/bookServices/examination/examination.wxml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/examination.wxml b/packageBookService/pages/bookServices/examination/examination.wxml
index 2f050dc..588d13e 100644
--- a/packageBookService/pages/bookServices/examination/examination.wxml
+++ b/packageBookService/pages/bookServices/examination/examination.wxml
@@ -5,7 +5,7 @@
 ></view>
 <view
   class="nacigationBar"
-  style="width: 75%; height: {{navBarHeight}}px; background-color: {{isNight ? '#191919' : '#fff'}}"
+  style="width: 100%; height: {{navBarHeight}}px; background-color: {{isNight ? '#191919' : '#fff'}}"
 >
   <view>
     <t-icon
@@ -54,6 +54,7 @@
     bind:onChangeRadio="onChangeRadio"
     bind:onChangeInput="onChangeInput"
     bind:changeSwiper="changeSwiper"
+    bind:viewParsing="viewParsing"
   ></question-list>
   <view class="lodaing-box" wx:if="{{loading}}">
     <t-loading
@@ -89,3 +90,11 @@
     bind:onChangeSlider="onChangeSlider"
   ></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