From 1e9c2bd06ab6851ed85b883c62cb7d74e012e2b2 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 29 三月 2024 15:10:20 +0800 Subject: [PATCH] 答题器bug修改,安装my-html插件 --- packageBookService/pages/bookServices/examination/questionList/index.wxss | 134 +++++++++++++++++++++++++++++++++++++++----- 1 files changed, 117 insertions(+), 17 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxss b/packageBookService/pages/bookServices/examination/questionList/index.wxss index 03185dd..6e45efd 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: 100%; - height: 90%; + width: 95%; + 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,8 @@ } .swiper { - min-height: 900rpx; - + /* min-height: 900rpx; */ + height: 100%; } /* 鍗曢�夐 */ @@ -51,26 +56,32 @@ background-color: #F9F9F9; } +.radio-item text { + height: min-content; +} + +.night { + background-color: #000; + color: #ffffff; +} + +.radio-active { + background-color: #fff0e6; +} + .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; @@ -106,22 +117,32 @@ width: 97%; } -/* 瑙f瀽 */ +/* 鍗曢�� 銆佸閫� 瑙f瀽 */ .analysis { margin-top: 40rpx; } .analysis-answer { display: flex; - justify-content: space-between; + /* justify-content: space-between; */ } .answer-correct { color: #1FBC1F; + } .answer-error { color: #EE1818; +} + +.marginL { + margin-left: 140rpx; +} + +.answer-center { + display: flex; + align-items: center; } .answer-text { @@ -134,8 +155,6 @@ .analysis-title-box { display: inline-block; - width: 160rpx; - height: 52rpx; white-space: nowrap; } @@ -147,4 +166,85 @@ color: #333333; font-size: 28rpx; margin-top: 20rpx; +} + +/* 绠�鍗曘�佺炕璇戣В鏋� */ + +.short-answer-fz { + font-size: 28rpx; +} + +.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 { + max-width: 180rpx !important; + height: auto; + object-fit: contain; +} + +.stem-rich-p { + display: block; +} + +.judge-rich-box { + 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; + width: calc(100% - 90rpx); } \ No newline at end of file -- Gitblit v1.9.1