Explorar el Código

fix: 首页背景样式修改

xuyunhui hace 2 años
padre
commit
ba03901556
Se han modificado 1 ficheros con 4 adiciones y 7 borrados
  1. 4 7
      pages/index/index.vue

+ 4 - 7
pages/index/index.vue

@@ -1,7 +1,6 @@
 <template>
 	<view class="content-wrap bg-color">
-
-		<view class="head-wrap ">
+		<view class="head-wrap">
 			<view class="content-info ">
 
 				<view class="h-bg">
@@ -593,23 +592,21 @@
 <style scoped lang="scss">
 	/* 头部内容 */
 	.head-wrap {
-		height: 1375rpx;
+		height: 100vh;
 		background: #FFE05C;
-
+    overflow: auto;
 		.content-info {
 			position: relative;
-
 			.h-bg {
 				height: 680rpx;
 			}
-
 			.content {
 				position: absolute;
 				top: 460rpx;
 				left: 24rpx;
 				right: 24rpx;
 				border-radius: 12rpx;
-
+padding-bottom: 40rpx;
 				.h-notice-bar {
 					padding-left: 20rpx;
 					background: #FFFFFF;