Kaynağa Gözat

页面横向滚动条问题

常志远 1 yıl önce
ebeveyn
işleme
27177a5a1b

+ 10 - 10
pages/equipmentDataMonitoring/electronicMonitoring.vue

@@ -856,7 +856,7 @@
 			getBarCharts(list, interval) {
 				if (!this.myChart) {
 					this.myChart = echarts.init(document.getElementById('barEcharts'), null, {
-						width: uni.upx2px(700),
+						// width: uni.upx2px(700),
 						height: uni.upx2px(480)
 					});
 				}
@@ -1079,16 +1079,16 @@
 	}
 
 
-	.background::after {
-		content: '';
-		position: absolute;
-		width: 160%;
-		height: 150px;
-		background-color: rgba(22, 119, 255, 1);
-		left: -30%;
-		border-radius: 0 0 50% 50%;
+	// .background::after {
+	// 	content: '';
+	// 	position: absolute;
+	// 	width: 160%;
+	// 	height: 150px;
+	// 	background-color: rgba(22, 119, 255, 1);
+	// 	left: -30%;
+	// 	border-radius: 0 0 50% 50%;
 
-	}
+	// }
 
 	// // 日期
 	.date-box {

+ 2 - 1
pages/statistics/statistics.vue

@@ -818,7 +818,7 @@
 			getPieCharts(list) {
 				if (!this.myPieChart) {
 					this.myPieChart = echarts.init(document.getElementById('pieEcharts'), null, {
-						width: uni.upx2px(700),
+						// width: uni.upx2px(700),
 						height: uni.upx2px(620)
 					});
 				}
@@ -1441,6 +1441,7 @@
 
 		// 设备状态
 		.statistics-4 {
+			
 			.chat-img {
 				width: 100%;
 				height: 620rpx;