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/questionList/index.wxss |   99 +++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 86 insertions(+), 13 deletions(-)

diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxss b/packageBookService/pages/bookServices/examination/questionList/index.wxss
index 9bcc3d8..fab99bc 100644
--- a/packageBookService/pages/bookServices/examination/questionList/index.wxss
+++ b/packageBookService/pages/bookServices/examination/questionList/index.wxss
@@ -1,7 +1,7 @@
 /* pages/bookServices/examination/questionList/index.wxss */
 .question-list {
   width: 95%;
-  height: 85%;
+  height: calc(100vh - 300px);
   padding: 20rpx;
 
   background-color: #ffffff;
@@ -12,6 +12,10 @@
 .question-title {
   font-size: 28rpx;
   margin-bottom: 20rpx;
+}
+
+.title-content {
+  margin-left: 10rpx;
 }
 
 .title-name {
@@ -33,8 +37,7 @@
 }
 
 .swiper {
-  /* min-height: 900rpx; */
-  height: 100%;
+  height: 95%;
 }
 
 /* 鍗曢�夐 */
@@ -44,12 +47,17 @@
 }
 
 .radio-item {
+  min-height: 100rpx;
   padding: 0 32rpx;
-  min-height: 98rpx;
   display: flex;
   align-items: center;
   justify-content: space-between;
   background-color: #F9F9F9;
+}
+
+.radio-item text {
+  display: inline-block;
+  height: min-content;
 }
 
 .night {
@@ -70,17 +78,10 @@
 }
 
 .question-stem image {
-  margin-left: 20rpx;
   width: 300rpx;
   object-fit: contain;
   height: 200rpx;
 }
-
-.title-RichText img {
-  width: 300rpx;
-  height: 200rpx;
-}
-
 
 .question-answer image {
   margin: 10rpx 0 10rpx 10rpx;
@@ -94,7 +95,7 @@
 }
 
 .checkbox-group {
-  --td-checkbox-icon-checked-color: #ff6c00;
+  --td-checkbox-icon-checked-color: #FF6C00;
 }
 
 .t-checkbox {
@@ -136,7 +137,7 @@
 }
 
 .marginL {
-  margin-left: 140rpx;
+  margin-left: 40rpx;
 }
 
 .answer-center {
@@ -162,6 +163,7 @@
 }
 
 .analysis-text {
+  display: flex;
   color: #333333;
   font-size: 28rpx;
   margin-top: 20rpx;
@@ -197,4 +199,75 @@
   display: flex;
   justify-content: center;
   align-items: center;
+}
+
+.multipleChoice img {
+  width: 40rpx !important;
+}
+
+/* .judge-rich-image {
+  max-height: 300rpx !important;
+} */
+
+
+.stem-rich-img {
+  max-width: 300rpx !important;
+  height: auto;
+  object-fit: contain;
+}
+
+.option-rich-img {
+  display: inline-block;
+  max-width: 180rpx !important;
+  height: auto;
+  object-fit: contain;
+}
+
+.stem-rich-p {
+  display: block;
+}
+
+.judge-rich-box {
+  height: 100%;
+  display: flex;
+  align-items: center;
+}
+
+.t-checkbox {
+  display: flex;
+  align-items: center;
+}
+
+.check-rich-box {
+  display: flex;
+  align-items: center;
+}
+
+.check-rich-box text {
+  height: min-content;
+}
+
+.radio-textimg {
+  display: inline-block;
+  height: min-content;
+  width: calc(100% - 90rpx);
+}
+
+.check-text-box {
+  display: inline-block;
+  width: calc(100% - 25px);
+}
+
+.view-parsing {
+  margin-top: 40rpx;
+  --td-button-primary-bg-color: #fff;
+  --td-button-primary-color: #ff6c00;
+  --td-button-primary-active-bg-color: #fff0e6;
+  --td-button-primary-border-color: #ff6c00;
+  --td-button-primary-active-border-color: #ff6c00;
+}
+
+.answer-analysis {
+  display: inline-block;
+  width: 192rpx;
 }
\ No newline at end of file

--
Gitblit v1.9.1