|
@@ -47,6 +47,13 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
|
|
|
@mixin ezy-no-repeat-contain($position: center) {
|
|
|
background-position: $position;background-size: contain;background-repeat: no-repeat;
|
|
|
}
|
|
|
+
|
|
|
+/***** 富文本处理 *****/
|
|
|
+@mixin ezy-rich-text() {
|
|
|
+ div,p,span{margin: 0;padding: 0;}
|
|
|
+ img{max-width: 100%;}
|
|
|
+}
|
|
|
+
|
|
|
// 全屏的popup弹窗
|
|
|
.ezy-popup-width-all{
|
|
|
width: 100%;
|
|
@@ -97,6 +104,11 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+/***** 试题---题干 *****/
|
|
|
+.ezy-shiti-question{
|
|
|
+ margin: 24rpx 0 42rpx;font-size: 32rpx;color: #333;line-height: 1.6;padding: 0 10rpx;box-sizing: border-box;
|
|
|
+ text-align: justify;word-wrap: break-word;word-break: break-all;display: block;@include ezy-rich-text;
|
|
|
+}
|
|
|
/***** 单选题 *****/
|
|
|
.ezy-danxuan-box{
|
|
|
margin: 0 10rpx;
|
|
@@ -104,25 +116,34 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
|
|
|
width: 231rpx;height: 63rpx;
|
|
|
background-image: url("@/static/images/exam/danxuan-title.png");@include ezy-no-repeat-cover();
|
|
|
}
|
|
|
- .danxuan-question{
|
|
|
- margin: 24rpx 0 42rpx;font-size: 32rpx;color: #333;line-height: 1.6;padding: 0 10rpx 0 20rpx;box-sizing: border-box;
|
|
|
- text-align: justify;word-wrap: break-word;word-break: break-all;
|
|
|
- }
|
|
|
- .danxuan-option{
|
|
|
- width: 596rpx;height: 93rpx;line-height:96rpx;background-color:#fff;border-radius: 8px;margin-bottom: 20rpx;
|
|
|
- font-size: 32rpx;color: #333;box-sizing: border-box;padding: 0 24rpx;@include ezy-no-repeat-cover();
|
|
|
- }
|
|
|
- .danxuan-option.active{
|
|
|
- color: #fff;background-color: transparent;background-image: url("@/static/images/exam/option-active.png");
|
|
|
- }
|
|
|
- .danxuan-option.showError{
|
|
|
- color: #fff;background-color: transparent;background-image: url("@/static/images/exam/option-error.png");
|
|
|
+ .danxuan-option-box{
|
|
|
+ width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
|
|
|
+ font-size: 32rpx;color: #333;box-sizing: border-box;padding: 10rpx 24rpx;
|
|
|
+ display: flex;
|
|
|
+ .option-change{flex-shrink: 0;line-height: 1.6;}
|
|
|
+ .option-question{font-size: 32rpx;line-height: 1.6;margin-left: 6rpx;@include ezy-rich-text;
|
|
|
+ text-align: justify;word-wrap: break-word;word-break: break-all;display: block;}
|
|
|
+ }
|
|
|
+ .danxuan-option-box.active{color: #0589e9;}
|
|
|
+ .danxuan-option-box.showError{color: #ff5757;}
|
|
|
+ .danxuan-option-box.active_right{color: #1ac136;}
|
|
|
+}
|
|
|
+/***** 判断题 *****/
|
|
|
+.ezy-panduan-box{
|
|
|
+ margin: 0 10rpx;
|
|
|
+ .panduan-title{
|
|
|
+ width: 231rpx;height: 63rpx;
|
|
|
+ background-image: url("@/static/images/exam/panduan-title.png");@include ezy-no-repeat-cover();
|
|
|
}
|
|
|
- .danxuan-option.active_right{
|
|
|
- color: #fff;background-color: transparent;background-image: url("@/static/images/exam/option-right.png");
|
|
|
+ .danxuan-option-box{
|
|
|
+ width: 100%;line-height:96rpx;border-radius: 8px;margin-bottom: 20rpx;
|
|
|
+ font-size: 32rpx;color: #333;box-sizing: border-box;padding: 10rpx 24rpx;
|
|
|
}
|
|
|
+ .option-question{display: flex;}
|
|
|
+ .option-question.active .uni-radio-input{background-color: #0589e9!important;border-color: #0589e9!important;}
|
|
|
+ .option-question.showError .uni-radio-input{background-color: #ff5757!important;border-color: #ff5757!important;}
|
|
|
+ .option-question.active_right .uni-radio-input{background-color: #1ac136!important;border-color: #1ac136!important;}
|
|
|
}
|
|
|
-
|
|
|
/***** 试题白色的框 *****/
|
|
|
.shiti-frame-box{
|
|
|
flex: 1;width: 92%;height: auto;background-color: rgba(255, 255, 255, 0.6);border-radius: 10px;
|