tanxue 1 giorno fa
parent
commit
c15e8c8dbc

+ 25 - 8
common/styles/global/pages.scss

@@ -349,13 +349,7 @@
 /*** 课程学习 ***/
 .kecheng-study-page{
 	display: flex;height: 100vh;flex-direction: column;
-	.phone-video-box{
-		width:100%;height: 460rpx;
-		.kecheng-video{height: 460rpx!important;}
-		.prism-big-play-btn{left: 50%!important;margin-left: -32px;}
-		.prism-player .prism-progress .prism-progress-played{background-color: #3fd2a1;}
-		.prism-player .prism-progress .prism-progress-cursor{background: unset;}
-	}
+	
 	.master-image{
 		width: 100%;height: 460rpx;position: relative;
 		@include ezy-no-repeat-cover();background-image: url("@/static/images/common/video-bj.png");
@@ -414,6 +408,28 @@
 		img{max-width: 100%;margin: 0 auto;}
 		@include ezy-rich-text();
 	}
+	
+	/* 竖屏样式 */
+	@media screen and (orientation: portrait) {
+	  .phone-video-box{
+	  	width:100%;height: 460rpx;
+	  	.kecheng-video{height: 460rpx!important;}
+	  	.prism-big-play-btn{left: 50%!important;margin-left: -32px;}
+	  	.prism-player .prism-progress .prism-progress-played{background-color: #3fd2a1;}
+	  	.prism-player .prism-progress .prism-progress-cursor{background: unset;}
+	  }
+	  .kecheng-study-body{display: block;}
+	}
+	
+	/* 横屏样式 */
+	@media screen and (orientation: landscape) {
+	  .phone-video-box{
+		  -width:100%;height: 100vh;
+		  .kecheng-video{height: 100vh!important;width: auto;}
+	  }
+	  .kecheng-study-body{display: none;}
+	}
+	
 }	
 
 /*** 进入成绩 ***/
@@ -973,11 +989,12 @@
 	.jianli-bottom-box{
 		width: 100%;height: 100rpx;background-color: #f9f9f9;border-top: 1rpx solid #eeeeee;z-index: 9;
 		position: fixed;left: var(-window-left);right: var(-window right);bottom: var(--window-bottom);
-		box-sizing: border-box;padding-bottom: env(safe-area-inset-bottom);display: flex;justify-content: space-around;align-items: center;
+		box-sizing: border-box;padding-bottom: env(safe-area-inset-bottom);display: flex;justify-content: space-evenly;align-items: center;
 		.bottom-icon{width: 36rpx;height: 36rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 2rpx;}
 		.zl-icon{background-image: url("@/static/images/common/jz-editor-icon.png");}
 		.tel-icon{background-image: url("@/static/images/common/jz-tel-icon.png");}
 		.ht-icon{background-image: url("@/static/images/common/ht-icon.png");}
+		.xy-icon{background-image: url("@/static/images/common/xinyu-icon.svg");}
 		.bottom-text{font-size: 24rpx;color: #333;}
 	}
 	

+ 1 - 1
pages/admin/Jiazheng/jiazhengUserInfo.vue

@@ -61,7 +61,7 @@
 			<view class="jbxx-tip">{{jianliInfo.tips}} </view>
 			<view class="jianli-bottom-box">
 				<view @click="goXinyu">
-					<icon class="bottom-icon zl-icon"></icon>
+					<icon class="bottom-icon xy-icon"></icon>
 					<text class="bottom-text">信誉</text>
 				</view>
 				<view @click="goJiazhengManage">