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 | 132 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 115 insertions(+), 17 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxss b/packageBookService/pages/bookServices/examination/questionList/index.wxss index 0e45e42..fab99bc 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.wxss +++ b/packageBookService/pages/bookServices/examination/questionList/index.wxss @@ -1,8 +1,9 @@ /* pages/bookServices/examination/questionList/index.wxss */ .question-list { width: 95%; - height: 84%; + height: calc(100vh - 300px); padding: 20rpx; + background-color: #ffffff; border-radius: 20rpx; margin-top: 20rpx; @@ -11,6 +12,10 @@ .question-title { font-size: 28rpx; margin-bottom: 20rpx; +} + +.title-content { + margin-left: 10rpx; } .title-name { @@ -32,8 +37,7 @@ } .swiper { - /* min-height: 900rpx; */ - height: 100%; + height: 95%; } /* 鍗曢�夐 */ @@ -43,12 +47,22 @@ } .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 { + background-color: #000; + color: #ffffff; } .radio-active { @@ -56,25 +70,18 @@ } .radio-correct { - background-color: #EAF7EE; + background-color: #EAF7EE !important; } .radio-error { - background-color: #FFEBEB; + background-color: #FFEBEB !important; } .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; @@ -88,7 +95,7 @@ } .checkbox-group { - --td-checkbox-icon-checked-color: #ff6c00; + --td-checkbox-icon-checked-color: #FF6C00; } .t-checkbox { @@ -130,7 +137,7 @@ } .marginL { - margin-left: 140rpx; + margin-left: 40rpx; } .answer-center { @@ -148,8 +155,6 @@ .analysis-title-box { display: inline-block; - width: 160rpx; - height: 52rpx; white-space: nowrap; } @@ -158,6 +163,7 @@ } .analysis-text { + display: flex; color: #333333; font-size: 28rpx; margin-top: 20rpx; @@ -172,4 +178,96 @@ .short-answer-mr { margin-top: 40rpx; +} + +.textarea-center { + display: flex; + justify-content: center; +} + +.input-night-color { + --td-input-default-text-color: #fff; +} + +.textarea-night-color { + --td-textarea-text-color: rgba(255, 255, 255, 1); +} + +.noData { + width: 100%; + height: 100%; + 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