Explorar o código

fix: 调整部分功能模块

wenxingxing hai 1 día
pai
achega
5a77882f10

+ 1 - 1
pages.json

@@ -333,7 +333,7 @@
 								"bottom": "0",
 								"left": "0",
 								"width": "100%",
-								"height": "85%",
+								"height": "75%",
 								"mask": "rgba(0,0,0,0.5)",
 								"background": "transparent",
 								"border-top-left-radius": "20px",

+ 2 - 2
pages/course/components/questionsPopup.vue

@@ -204,7 +204,7 @@ export default {
 	width: 100vw;
 	height: 60vh;
 	background-color: #fff;
-	padding: 24rpx 24rpx 20rpx 32rpx;
+	padding: 24rpx 24rpx 10rpx 24rpx;
 	box-sizing: border-box;
 	background: #FFFFFF;
 	border-radius: 30rpx 30rpx 0rpx 0rpx;
@@ -265,7 +265,7 @@ export default {
 
 .bottomBtnViewClass {
 	width: 100%;
-	height: 160rpx;
+	height: 130rpx;
 	@include u-flex(row, center, center);
 
 	.btnViewClass {

+ 3 - 4
pages/index/course.vue

@@ -40,7 +40,7 @@
 						<text class="card-title">{{ course.courseName }}</text>
 						<view class="x-end" style="justify-content: space-between;">
 							<view class="course-meta">
-								<image src="@/static/images/new/renshu.png"></image>
+								<image class="courseMetaIcon" src="@/static/images/new/renshu.png"></image>
 								<text class="meta-count">{{ course.watchUserCount }}</text>
 							</view>
 							<view class="btn-watch" @click.stop="onCourseClick(course)">立即观看</view>
@@ -298,8 +298,7 @@ export default {
 	}
 }
 </script>
-
-<style scoped>
+<style scoped lang="scss">
 /* 图片箭头旋转类(展开时向上) */
 .rotate-arrow {
 	transform: rotate(180deg);
@@ -508,7 +507,7 @@ export default {
 	display: flex;
 	align-items: center;
 
-	image {
+	.courseMetaIcon {
 		width: 30rpx;
 		height: 30rpx;
 	}

+ 1 - 1
pages/index/video.vue

@@ -298,7 +298,7 @@ export default {
 }
 </script>
 
-<style scoped>
+<style scoped lang="scss">
 /* 图片箭头旋转类(展开时向上) */
 .rotate-arrow {
 	transform: rotate(180deg);