From 9b2838983694377c02a6fdcdf9a041a65cb0ef1a Mon Sep 17 00:00:00 2001 From: duanliang <540489889@qq.com> Date: Mon, 19 Jan 2026 15:36:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat=20=E6=B8=B8=E5=AE=A2=E6=95=B0=E5=BC=B9?= =?UTF-8?q?=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Correspondence/index.vue | 10 +- src/views/home/components/box-2.vue | 126 +++++++++++++++++- 2 files changed, 128 insertions(+), 8 deletions(-) diff --git a/src/layout/components/Correspondence/index.vue b/src/layout/components/Correspondence/index.vue index 7a0e1a5..6a2a42b 100644 --- a/src/layout/components/Correspondence/index.vue +++ b/src/layout/components/Correspondence/index.vue @@ -377,7 +377,7 @@ .header { height: vh(28); font-weight: 400; - font-size: vw(20); + font-size: font-vw(20); color: #fff; display: flex; background: linear-gradient(180deg, rgba(0, 99, 255, 0) 0%, #0063ff 100%); @@ -407,7 +407,7 @@ .item { height: vh(50); font-weight: 400; - font-size: vw(14); + font-size: font-vw(14); color: #f1f7ff; display: flex; &:nth-child(2n + 1) { @@ -433,7 +433,7 @@ span { margin-left: vw(30); font-weight: 800; - font-size: vw(15); + font-size: font-vw(15); line-height: vh(26); text-align: center; font-style: normal; @@ -452,7 +452,7 @@ height:50%; .icon-box { font-weight: 400; - font-size: vw(14); + font-size: font-vw(14); color: #ffffff; line-height: vh(16); flex-wrap: wrap; @@ -479,7 +479,7 @@ text-align: center; line-height: vh(26); margin-left: vw(32.5); - font-size: vw(22); + font-size: font-vw(22); font-weight: 800; color: #fff; background-image: url('@/assets/images/title-1.png'); diff --git a/src/views/home/components/box-2.vue b/src/views/home/components/box-2.vue index 5507be3..dc3d898 100644 --- a/src/views/home/components/box-2.vue +++ b/src/views/home/components/box-2.vue @@ -3,7 +3,9 @@
-
+
今年总游客数
@@ -256,7 +258,28 @@
+ +
+
+ +
+
景区
+
今年游客数
+ +
+
+
+
白帝城
+
1000
+ + +
+
+
+
+
+ - +