tanxue пре 2 месеци
родитељ
комит
6c814fa491
3 измењених фајлова са 21 додато и 19 уклоњено
  1. 10 0
      common/styles/global/pages.scss
  2. 10 18
      components/zhuapaiConfirm/submitScore.vue
  3. 1 1
      pages/client/Kaoshi/exam.vue

+ 10 - 0
common/styles/global/pages.scss

@@ -189,6 +189,16 @@
 		.ks-btn-prev {position: absolute;bottom: 130rpx;left:24rpx;}
 		.ks-btn-prev {position: absolute;bottom: 130rpx;left:24rpx;}
 		.ks-btn-next {position: absolute;bottom: 130rpx;right: 24rpx;}
 		.ks-btn-next {position: absolute;bottom: 130rpx;right: 24rpx;}
 	}
 	}
+
+/*** 得分页面***/
+.exam-score-dialog{
+	width: 100%;height: 100vh;line-height:1.6;background-color: #fff;
+	.score-content-box{box-sizing: border-box;padding:32rpx;
+	    border: 1rpx solid #3fd2a1;margin: 30rpx;border-radius: 10rpx;}
+	.score-content-name{color: #3fd2a1;font-size: 36rpx;margin-bottom:12rpx;}
+	.score-content-text{color: #666;font-size: 32rpx;margin-bottom:4rpx;}
+	.score-dialog-btn{width: 360rpx;margin: 100rpx auto 24rpx;font-size: 30rpx;}
+}
 	
 	
 /*** 课程学习 ***/
 /*** 课程学习 ***/
 .kecheng-study-page{
 .kecheng-study-page{

+ 10 - 18
components/zhuapaiConfirm/submitScore.vue

@@ -1,21 +1,21 @@
 <template>
 <template>
 	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="bottom"
 	<uni-popup ref="popupRef" :animation="false" :is-mask-click="false" type="bottom"
 		mask-background-color="rgba(0, 0, 0, 0.4);" >
 		mask-background-color="rgba(0, 0, 0, 0.4);" >
-		<view class="score-content">
-			<view class="icon-title-navBar-box">
+		<view class="exam-score-dialog">
+			<view class="icon-title-bjcolor-navBar-box">
 				<view @click="handleClose" class="nav-bar-icon"></view>
 				<view @click="handleClose" class="nav-bar-icon"></view>
 				<text class="nav-bar-title">{{title}}</text>
 				<text class="nav-bar-title">{{title}}</text>
 			</view>
 			</view>
 			
 			
-			<view class="popup-height">
-				<view>考试名称:{{data.ksName}}</view>
-				<view>考试总分:{{data.ksScore}}</view>
-				<view>及格分数:{{data.okScore}}</view>
-				<view>正确数量:{{data.rightCount}}</view>
-				<view>试题总数:{{data.shitiTotal}}</view>
-				<view>用户得分:{{data.userScore}}</view>
+			<view class="score-content-box">
+				<view class="score-content-name">{{data.ksName}}</view>
+				<view class="score-content-text">考试总分:{{data.ksScore}}</view>
+				<view class="score-content-text">及格分数:{{data.okScore}}</view>
+				<view class="score-content-text">正确数量:{{data.rightCount}}</view>
+				<view class="score-content-text">试题总数:{{data.shitiTotal}}</view>
+				<view class="score-content-text">用户得分:{{data.userScore}}</view>
 			</view>
 			</view>
-			<button type="primary" @click="handleCheckSj">查看成绩</button>
+			<button type="default" class="phone-green-btn score-dialog-btn" @click="handleCheckSj">查看成绩</button>
 		</view>
 		</view>
 	</uni-popup>
 	</uni-popup>
 </template>
 </template>
@@ -68,11 +68,3 @@
 	})
 	})
 	
 	
 </script>
 </script>
-
-<style lang="scss" scoped>
-	.score-content {
-		height: 100vh;background-color: #fff;
-	}
-	.popup-height {
-	}
-</style>

+ 1 - 1
pages/client/Kaoshi/exam.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="phone-kaoshi-page">
 	<view class="phone-kaoshi-page">
 		<!-- 导航区域 -->
 		<!-- 导航区域 -->
-		<view class="icon-title-navBar-box">
+		<view class="icon-title-bjcolor-navBar-box">
 			<view @click="handleBack" class="nav-bar-icon"></view>
 			<view @click="handleBack" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">{{data.ksName}}</text>
 			<text class="nav-bar-title">{{data.ksName}}</text>
 		</view>
 		</view>