From 8f7aeb7018347450f15b0067e19054c4f018a071 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=88=91=E5=8F=ABMT?= <18253750314@163.com>
Date: Wed, 10 Jan 2024 23:50:35 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/metadaily.js | 4 +-
src/views/about/index.vue | 15 +---
src/views/home/index.vue | 35 ++++-----
src/views/information/index.vue | 3 +
src/views/metadaily/index.vue | 133 ++++++++++++++++----------------
5 files changed, 89 insertions(+), 101 deletions(-)
diff --git a/src/api/metadaily.js b/src/api/metadaily.js
index 3b69691..df21cfc 100644
--- a/src/api/metadaily.js
+++ b/src/api/metadaily.js
@@ -12,7 +12,7 @@ export const guanggao = (index) => {
}
/**
- * 首页轮播
+ * 轮播
* @returns request
*/
export const lunboList = (num = 1, size = 10) => {
@@ -40,7 +40,7 @@ export const hotNewsConfig = () => {
export const hotnews = (num = 1, size = 10) => {
return request({
method: 'GET',
- url: `/news/list?type=1?pageNum=${num}&pageSize=${size}`
+ url: `/news/list?type=1&pageNum=${num}&pageSize=${size}`
})
}
diff --git a/src/views/about/index.vue b/src/views/about/index.vue
index 19ed4c8..e7fdbcd 100644
--- a/src/views/about/index.vue
+++ b/src/views/about/index.vue
@@ -43,18 +43,6 @@
-