Browse Source

update no device report page

dayu 2 years ago
parent
commit
dfbbd7c068
1 changed files with 10 additions and 6 deletions
  1. 10 6
      sleep/pages/report/report.vue

+ 10 - 6
sleep/pages/report/report.vue

@@ -5,11 +5,6 @@
 
 		<view v-if="!isDeviceAdded" class="flex-col page">
 		  <view class="flex-col flex-auto image-wrapper_2">
-		    <image
-		      class="image_6"
-			  src="../../static/report/reportBG.png"
-		    />
-
 			<view class="flex-row items-center self-center bottom-btns">
 				<view class="btn_1 bottom-btn" @click="addBindDevice">立即体验</view>
 				<view class="btn_2 bottom-btn" @click="addBindDevice">添加设备</view>
@@ -310,7 +305,7 @@
 
 				</view>
 
-				<view class="flex-col page report-charts">
+				<view class="flex-col report-charts">
 				  <view class="flex-col justify-start flex-auto group">
 				    <view class="flex-col justify-start group_3">
 				      <view class="flex-col group_8 space-y-10">
@@ -1215,6 +1210,15 @@
 	.report-container {
 		background-color: #000000;
 		padding-bottom: 50px;
+		height: 100%;
+		
+		.image-wrapper_2 {
+			background: url(../../static/report/reportBG.png);
+			background-repeat: no-repeat;
+			background-size: cover;
+			height: 100%;
+			width: 100%;
+		}
 	}
 	.report-data-sum {
 		margin: 1rem;