tanxue 2 недель назад
Родитель
Сommit
f6ad9334cf

+ 68 - 0
common/styles/global/components.scss

@@ -228,12 +228,17 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 .ezy-shiti-title{
 	width: 208rpx;height: 91rpx;line-height: 91rpx;text-align: center;color: #fff;font-size: 32rpx;
 	background-image: url("@/static/images/exam/shiti-title.png");@include ezy-no-repeat-cover();
+	
+	@include mediaSmall() {width: 135rpx;height: 59rpx;line-height: 59rpx;font-size: 22rpx;}
+	@include mediaBig() {width: 333rpx;height: 146rpx;line-height: 146rpx;font-size: 54rpx;}
 }
 
 // 题干
 .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;
+	@include mediaSmall() {margin: 16rpx 0 27rpx;font-size: 20rpx;padding: 0 6rpx;}
+	@include mediaBig() {margin: 38rpx 0 67rpx;font-size: 46rpx;padding: 0 16rpx;}
 }
 
 /***** 单选题 *****/
@@ -254,6 +259,24 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 	.danxuan-option-box.active .option-change{color: #FFF;background-color:#0589e9;border-color:#0589e9;}
 	.danxuan-option-box.showError .option-change{color: #FFF;background-color:#ff5757;border-color:#ff5757;}
 	.danxuan-option-box.active_right .option-change{color: #FFF;background-color:#1ac136;border-color:#1ac136;}
+	
+	@include mediaSmall() {
+			margin: 0 6rpx;
+			.danxuan-option-box{
+				line-height: 62rpx;margin-bottom: 13rpx;font-size: 20rpx;padding: 6rpx 16rpx;
+				.option-change{width: 31rpx;height: 31rpx;line-height: 31rpx;margin-right: 10rpx;}
+				.option-question{font-size: 20rpx;margin-left: 4rpx;}
+			}
+		}
+	
+		@include mediaBig() {
+			margin: 0 16rpx;
+			.danxuan-option-box{
+				line-height: 154rpx;margin-bottom: 32rpx;font-size: 46rpx;padding: 16rpx 38rpx;
+				.option-change{width: 77rpx;height: 77rpx;line-height: 77rpx;margin-right: 26rpx;}
+				.option-question{font-size: 46rpx;margin-left: 10rpx;}
+			}
+		}
 }
 /***** 判断题 *****/
 .ezy-panduan-box{
@@ -281,6 +304,18 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 		background-color: transparent!important;
 		svg{display: none;}
 	}
+	
+	@include mediaSmall() {
+			margin: 0 6rpx;
+			.danxuan-option-box{line-height: 62rpx;margin-bottom: 13rpx;font-size: 20rpx;padding: 6rpx 16rpx;}
+			.uni-radio-input{width: 36rpx;height: 36rpx;}
+		}
+	
+	@include mediaBig() {
+		margin: 0 16rpx;
+		.danxuan-option-box{line-height: 154rpx;margin-bottom: 32rpx;font-size: 46rpx;padding: 16rpx 38rpx;}
+		.uni-radio-input{width: 90rpx;height: 90rpx;}
+	}
 }
 /***** 填空题 *****/
 .ezy-tiankong-box{
@@ -299,6 +334,24 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 		background-image: url("@/static/images/exam/option-right-img.png");@include ezy-no-repeat-cover;
 	}
 	.ezy-shiti-question li{margin: 20rpx 0;}
+	
+	@include mediaSmall() {
+		margin: 0 6rpx;
+		.tiankong-input {width: 75rpx!important;height: 34rpx;border-radius: 5rpx;}
+		.tk-input-box{margin: 0 3rpx;}
+		.tk-input-box.showError::after,
+		.tk-input-box.active_right::after{width: 20rpx;height: 20rpx;top: -8rpx;right: -4rpx;}
+		.ezy-shiti-question li{margin: 13rpx 0;}
+	}
+	
+	@include mediaBig() {
+		margin: 0 16rpx;
+		.tiankong-input {width: 186rpx!important;height: 83rpx;border-radius: 13rpx;}
+		.tk-input-box{margin: 0 6rpx;}
+		.tk-input-box.showError::after,
+		.tk-input-box.active_right::after{width: 48rpx;height: 48rpx;top: -19rpx;right: -10rpx;}
+		.ezy-shiti-question li{margin: 32rpx 0;}
+	}
 }
 /***** 英语题 *****/
 .ezy-yingyu-danxuan-box{
@@ -317,6 +370,21 @@ $titleBar-tabBar-page: calc(100vh - var(--status-bar-height));
 	.yingyu-danxuan-option-box.active .option-change{color: #FFF;background-color:#0589e9;border-color:#0589e9;}
 	.yingyu-danxuan-option-box.showError .option-change{color: #FFF;background-color:#ff5757;border-color:#ff5757;}
 	.yingyu-danxuan-option-box.active_right .option-change{color: #FFF;background-color:#1ac136;border-color:#1ac136;}
+	@include mediaSmall() {
+		.yingyu-danxuan-option-box{
+			line-height: 62rpx;margin-bottom: 13rpx;font-size: 20rpx;padding: 6rpx 16rpx;
+			.option-change{width: 31rpx;height: 31rpx;line-height: 31rpx;margin-right: 10rpx;}
+			.option-question{font-size: 20rpx;margin-left: 4rpx;}
+		}
+	}
+	
+	@include mediaBig() {
+		.yingyu-danxuan-option-box{
+			line-height: 154rpx;margin-bottom: 32rpx;font-size: 46rpx;padding: 16rpx 38rpx;
+			.option-change{width: 77rpx;height: 77rpx;line-height: 77rpx;margin-right: 26rpx;}
+			.option-question{font-size: 46rpx;margin-left: 10rpx;}
+		}
+	}
 }
 /***** 英语题播放按钮 *****/
 .yingyu-canplay-img,.yingyu-playing-img{

+ 41 - 2
common/styles/global/pages.scss

@@ -1204,9 +1204,48 @@
 	.swiper-tip-box::before{transform: rotate(180deg);margin-right: 32rpx;}
 	.swiper-tip-box::after{margin-left: 32rpx;}
 	.shiti-jj-btn{
-		width: 630rpx;height: 88rpx;@include ezy-no-repeat-cover;margin: 10rpx auto;
-		background-image: url("@/static/images/exam/shiti-jj-btn.png");
+		width: 630rpx;height: 88rpx;line-height: 88rpx;@include ezy-no-repeat-cover;
+		background-image: url("@/static/images/common/login/login-btn-bj.png");
+		color: #fff;text-align: center;margin: 10rpx auto;font-size:32rpx;
 	}
+	
+	@include mediaSmall() {
+			.xx-jd-box{
+				border-radius: 10rpx;padding: 23rpx 23rpx 27rpx;margin: 13rpx auto 0;
+				.xx-row{margin-bottom: 16rpx;font-size: 20rpx;}
+				.dq-jd-text{font-size: 34rpx;}
+				.dq-jd-line{margin: 0 4rpx;}
+			}
+			.exam-progress-box{border-radius: 13rpx;}
+			.exam-submit-btn{width: 57rpx;height: 81rpx;margin: 6rpx 27rpx 0 auto;}
+			.swiper-tip-box{
+				font-size: 20rpx;margin-top: 10rpx;
+				&::before,&::after{width: 8rpx;height: 17rpx;}
+				&::before{margin-right: 21rpx;}
+				&::after{margin-left: 21rpx;}
+			}
+			.shiti-jj-btn{
+				width:640rpx;height: 50rpx;line-height: 50rpx;margin: 6rpx auto;
+			background-image: url("@/static/images/pad/common/btn-bj.png");font-size:20rpx;}
+		}
+	
+		@include mediaBig() {
+			.xx-jd-box{
+				border-radius: 26rpx;padding: 58rpx 58rpx 67rpx;margin: 32rpx auto 0;
+				.xx-row{margin-bottom: 38rpx;font-size: 46rpx;}
+				.dq-jd-text{font-size: 83rpx;}
+				.dq-jd-line{margin: 0 10rpx;}
+			}
+			.exam-progress-box{border-radius: 32rpx;}
+			.exam-submit-btn{width: 139rpx;height: 200rpx;margin: 16rpx 67rpx 0 auto;}
+			.swiper-tip-box{
+				font-size: 48rpx;margin-top: 26rpx;
+				&::before,&::after{width: 19rpx;height: 42rpx;}
+				&::before{margin-right: 51rpx;}
+				&::after{margin-left: 51rpx;}
+			}
+			.shiti-jj-btn{width: 1800rpx;height: 142rpx;line-height: 142rpx;margin: 16rpx auto;font-size:46rpx;}
+		}
 }
 
 // 单元测试

+ 1 - 1
pages/xinshuxue/unitTest.vue

@@ -30,7 +30,7 @@
 								</tiankong>
 								<!-- 交卷按钮 -->
 								<view class="shiti-jj-btn" v-if="item.stId == data.list[data.total-1].stId"
-									@click="handleSubmit"></view>
+									@click="handleSubmit">交卷</view>
 							</view>
 						</template>
 					</w-swiper>

+ 1 - 1
pages/ziranpindu/unitTest.vue

@@ -30,7 +30,7 @@
 								</tiankong>
 								<!-- 交卷按钮 -->
 								<view class="shiti-jj-btn" v-if="item.stId == data.list[data.total-1].stId"
-									@click="handleSubmit"></view>
+									@click="handleSubmit">交卷</view>
 							</view>
 						</template>
 					</w-swiper>

BIN
static/images/exam/shiti-jj-btn.png