tanxue 2 ماه پیش
والد
کامیت
99b2d954dd
2فایلهای تغییر یافته به همراه19 افزوده شده و 8 حذف شده
  1. 13 6
      common/styles/global/pages.scss
  2. 6 2
      pages/client/Kecheng/study.vue

+ 13 - 6
common/styles/global/pages.scss

@@ -207,13 +207,20 @@
 		.kecheng-video{height: 460rpx!important;}
 		.prism-big-play-btn{display: none!important;}
 	}
-	.kc-info-box{width: 100%;box-sizing: border-box;padding: 24rpx 36rpx;border-bottom: 1rpx solid #ebebeb;
-		display: flex;align-items: center;justify-content: space-between;color: #555;}
+	.kc-name-box{
+		display: flex;align-items: center;box-sizing: border-box;padding: 24rpx 36rpx 6rpx;
+		icon{
+			width: 20rpx;height: 32rpx;margin-right: 10rpx;font-size: 32rpx;
+			background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover();
+		}
+	}
+	.kc-info-box{width: 100%;box-sizing: border-box;padding: 6rpx 36rpx 24rpx;border-bottom: 1rpx solid #ebebeb;
+		display: flex;align-items: center;justify-content: space-between;color: #555;font-size: 30rpx;}
 	.kecheng-mulu-box{
 		width: 100%;box-sizing: border-box;padding: 0 36rpx;
 		.collapse-item-icon,.kejian-item-icon{width: 36rpx;height: 36rpx;@include ezy-no-repeat-cover();}
 		.my-collapse-item {
-			border-bottom: 1rpx solid #ebebeb;padding: 32rpx 0;
+			border-bottom: 1rpx solid #ebebeb;padding: 16rpx 0;
 			display: flex;align-items: center;justify-content: space-between;
 			
 			}
@@ -221,10 +228,10 @@
 		.collapse-item-icon{background-image: url("@/static/images/common/nav-bar-jt-bottom.svg");flex-shrink: 0;margin-left: 10rpx;}
 		.item-open .collapse-item-icon{transform: rotate(180deg);}
 		
-		.my-card-content {height: 0rpx;overflow: hidden;margin: 0 32rpx;}
+		.my-card-content {height: 0rpx;overflow: hidden;margin: 0 20rpx;}
 		.content-open{
 			display: block;height: auto;
-			.content-open{margin: 0 16rpx;}
+			.content-open{margin: 0;}
 			.item-open{
 				border:0;
 				.collapse-text{color: #333;}
@@ -232,7 +239,7 @@
 		}
 		
 		.kejian-item{display: flex;align-items: center;padding: 16rpx;font-size: 28rpx;
-		color: #666;border-radius: 4rpx;background-color: #f4f7ff;margin-bottom:20rpx;}
+		color: #666;border-radius: 4rpx;background-color: #f4f7ff;margin-bottom:16rpx;}
 		.kejian-item-icon{background-image: url("@/static/images/common/play-icon.svg");flex-shrink: 0;margin-right: 8rpx;}
 		.kejian-active{
 			color: #3fd2a1;background-color: #3fd2a11a;

+ 6 - 2
pages/client/Kecheng/study.vue

@@ -1,13 +1,17 @@
 <template>
 	<view class="kecheng-study-page">
-		<view class="icon-title-bjcolor-navBar-box">
+		<!-- <view class="icon-title-bjcolor-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">{{name}}</text>
-		</view>
+		</view> -->
 		<!-- 播放器 -->
 		<videoPlayVue ref="videoRef" class="phone-video-box" @play-end="onPlayEnd" @play-play="onPlay"
 			@play-pause="onPause" @play-timeupdate="onTimeupdate"></videoPlayVue>
 		<!-- 中间区域 -->
+		<view class="kc-name-box">
+			<icon @click="goUpPage"></icon>
+			<view>{{name}}</view>
+		</view>
 		<view class="kc-info-box">
 			<view>时长:{{period}}分钟</view>
 			<view>{{userCount}}人学习</view>