diff --git a/src/api/home.js b/src/api/home.js index b613728..edaed22 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -131,4 +131,12 @@ export function getVideCollectCateSort(data) { method: 'post', data }) -} \ No newline at end of file +} +//今年游客总数 +export function getSpotVisitor(data) { + return request({ + url: '/fjtcc-api/api/largeScreen/spot/spotVisitor', + method: 'get', + data + }) +} 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 27cffc9..c60b4ae 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 @@
+ +
+
+ +
+
景区
+
今年游客数
+ +
+
+
+
{{item.name}}
+
{{item.value}}
+ + +
+
+
+
+
+ - +