From 0fe7748038010876b0b5aa95d961fbe1fe7c6527 Mon Sep 17 00:00:00 2001
From: xuyonghao <898441624@qq.com>
Date: 星期三, 12 二月 2025 16:01:25 +0800
Subject: [PATCH] index样式调整

---
 pages/index/index.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/pages/index/index.vue b/pages/index/index.vue
index bfc12f6..72ebf06 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -261,12 +261,12 @@
 			.header-info {
 				margin: 0 auto;
 				width: 500rpx;
-				height: 240rpx;
+				height: 260rpx;
 				padding: 58rpx 70rpx 0;
 				border-radius: 5rpx;
 				background-color: rgba(255, 255, 255, .5);
 				color: #006699;
-				
+				flex-direction: column;
 				&[v-cloak] {
 					display: none;
 				}
@@ -284,11 +284,15 @@
 					display: flex;
 					justify-content: center;
 					align-items: center;
+					width: 100%;
+					text-align: center;
 
 					.weather-info {
 						display: flex;
 						align-items: center;
 						margin-right: 10rpx;
+						max-height: 95rpx;
+						overflow: hidden;
 						image {
 							width: 90rpx;
 						}
@@ -312,6 +316,8 @@
 					display: flex;
 					justify-content: center;
 					margin-top: 10rpx;
+					width: 100%;
+					text-align: center;
 					.dimension {
 						font-size: 40rpx;
 						&[v-cloak] {
@@ -323,7 +329,7 @@
 						height: 60rpx;
 						border-radius: 5rpx;
 						margin-right: 14rpx;
-						background-color: #fff;
+						background-color: #f5f5f5;
 						color: #35ADA7;
 						line-height: 60rpx;
 						text-align: center;

--
Gitblit v1.8.0