From 1e0ffc1deed2044f96bab70e10d5c5544f6a23bf Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 22 三月 2024 15:37:46 +0800
Subject: [PATCH] 音频修改

---
 packageBookService/pages/bookServices/examination/questionOptions/index.wxml |   81 +++++++++++++++++++++++++++++++++++-----
 1 files changed, 71 insertions(+), 10 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml
index 1130cc8..69c72da 100644
--- a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml
+++ b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml
@@ -1,26 +1,42 @@
 <!--pages/bookServices/examination/questionOptions/index.wxml-->
-<view class="page-bottom">
-  <view class="li-option" bind:tap="setCollect">
+<view
+  class="page-bottom"
+  style="color: {{isNight ? '#fff' : '#000'}}; background-color:{{isNight ? '#000' : '#fff'}}"
+>
+  <view
+    class="li-option"
+    bind:tap="setCollect"
+    style="color: {{isNight ? '#fff' : '#000'}};"
+  >
     <t-image
       src="{{ questionDataList[currentIndex].isCollect ? '/static/images/bookService/detail/collecting.png' : '/static/images/bookService/examination/collect.png'}}"
     >
     </t-image>
     鏀惰棌
   </view>
-  <view class="li-option" bind:tap="handlePopup">
+  <view
+    class="li-option"
+    bind:tap="handlePopup"
+    style="color: {{isNight ? '#fff' : '#000'}};"
+  >
     <t-image
       src="/static/images/bookService/examination/questionCard.png"
     ></t-image>
     绛旈鍗�
   </view>
-  <view class="li-option" bind:tap="setUpBtn">
+  <view
+    class="li-option"
+    bind:tap="setUpBtn"
+    style="color: {{isNight ? '#fff' : '#000'}};"
+  >
     <t-image src="/static/images/bookService/examination/setting.png"></t-image>
     璁剧疆
   </view>
   <view
     class="li-option"
     bind:tap="resterBtn"
-    wx:if="{{answerType == 'option' || answerType == 'mock'}}"
+    wx:if="{{answerType == 'option' || (answerType == 'mock' && !submitStatus)}}"
+    style="color: {{isNight ? '#fff' : '#000'}};"
   >
     <t-image src="/static/images/bookService/examination/reset.png"></t-image>
     閲嶅仛
@@ -31,8 +47,8 @@
       size="large"
       style="{{btnStyle}}"
       bind:tap="submitBtn"
-      >{{(answerType == 'option' || answerType == 'mock') ? '鎻愪氦' :
-      '閫�鍑�'}}</t-button
+      >{{(answerType == 'option' || answerType == 'mock') && !submitStatus ?
+      '鎻愪氦' : '閫�鍑�'}}</t-button
     >
   </view>
 </view>
@@ -71,7 +87,8 @@
             wx:for="{{item.infoList}}"
             wx:for-item="citem"
             wx:for-index="cindex"
-            class="question-box {{citem.isComplete ? 'answered' : 'un-answered'}}"
+            wx:key="cindex"
+            class="question-box {{citem.isUserAnswer ? 'answered' : 'un-answered'}}"
           >
             {{citem.number}}
           </view>
@@ -92,10 +109,54 @@
       <view class="popup-title">璁剧疆</view>
     </view>
     <!-- 浜害 -->
-    <view>
-      <t-slider defaultValue="{{30}}" theme="capsule" />
+    <view class="brightness">
+      <text>A-</text>
+      <view class="brightness-slider">
+        <t-slider
+          value="{{sliderValue}}"
+          theme="capsule"
+          step="{{10}}"
+          bind:change="onChangeSlider"
+        />
+      </view>
+
+      <text>A+</text>
     </view>
     <!-- 妯″紡 -->
+    <view>
+      <t-radio-group
+        class="test-radio"
+        t-class="horizontal-box"
+        value="{{radioItem}}"
+        bind:change="onRadioChange"
+        style="margin: 0px"
+      >
+        <view class="card {{radioItem == 'daytime' ? 'card--active' : ''}}">
+          <t-radio value="daytime" icon="none" borderless>
+            <view class="radio-content" slot="content">
+              <t-image
+                src="{{ radioItem == 'daytime' ? '/static/images/bookService/examination/rijian.png' : '/static/images/bookService/detail/notest.png'}}"
+              ></t-image>
+              <text style="color: {{radioItem == 'daytime' ? '#fff':''}};"
+                >鏃ラ棿妯″紡</text
+              >
+            </view>
+          </t-radio>
+        </view>
+        <view class="card {{radioItem == 'night' ? 'card--active' : ''}}">
+          <t-radio value="night" icon="none" borderless>
+            <view class="radio-content" slot="content">
+              <t-image
+                src="{{ radioItem == 'night' ? '/static/images/bookService/detail/practice-icon.png' : '/static/images/bookService/examination/yejian.png'}}"
+              ></t-image>
+              <text style="color: {{radioItem == 'night' ? '#fff':''}};"
+                >澶滈棿妯″紡</text
+              >
+            </view>
+          </t-radio>
+        </view>
+      </t-radio-group>
+    </view>
   </view>
 </t-popup>
 

--
Gitblit v1.9.1