jihuaqiang 2 years ago
parent
commit
870a09ce27
3 changed files with 16 additions and 5 deletions
  1. 2 2
      components/MobileLandPage.vue
  2. 14 2
      pages/course/index.vue
  3. 0 1
      pages/luckdraw.vue

+ 2 - 2
components/MobileLandPage.vue

@@ -244,8 +244,8 @@ export default {
 </script>
 <style lang="scss" scoped>
 .mobile-land-page {
-	min-height: 100vh;
-	max-height: 100vh;
+	min-height: 100%;
+	max-height: 100%;
 	background: linear-gradient(180deg, #cceaff 0%, #ffffff 70.42%);
 	display: flex;
 	flex-direction: column;

+ 14 - 2
pages/course/index.vue

@@ -91,13 +91,25 @@ export default {
 };
 </script>
 
+<style lang="scss">
+html,
+body,
+#__nuxt,
+#__layout {
+	width: 100%;
+	height: 100%;
+	padding: 0;
+	margin: 0;
+}
+</style>
+
 <style lang="scss" scoped>
 body {
 	background-color: #f5f5f5;
 }
 .course-page {
-	min-height: 100vh;
-	max-height: 100vh;
+	min-height: 100%;
+	max-height: 100%;
 	overflow: hidden;
 	display: flex;
 	flex-direction: column;

+ 0 - 1
pages/luckdraw.vue

@@ -340,7 +340,6 @@ export default {
 					postUserInfo: {},
 				};
 			}
-			console.log('data', data);
 			return {
 				detail: data.data,
 				customCover: data.data.postBizData && data.data.postBizData.posterType == 2 ? 1 : 0,