From d3cfb99c62136a0f5234007a21f336cb81b9bd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=85=89=E5=AD=9F?= Date: Sun, 8 Feb 2026 16:33:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=83=AD=E9=97=A8?= =?UTF-8?q?=E8=A1=8C=E4=B8=9A=E7=BB=84=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=E5=88=97=E8=A1=A8=E5=92=8C=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/api/index.ts | 11 +- src/pages/macroscopic/index.vue | 153 ++++++++++----- .../index.vue | 0 src/pages/realtimeInfo/index.vue | 4 +- src/pages/recommend/index.vue | 183 +++++++----------- 6 files changed, 183 insertions(+), 172 deletions(-) rename src/pages/realtimeInfo/components/{HotNewsView => IndustryNewsView}/index.vue (100%) diff --git a/.env.development b/.env.development index 705b440..da0a3b9 100644 --- a/.env.development +++ b/.env.development @@ -2,10 +2,10 @@ ENV = development # 本地环境接口地址 -# VITE_API_URL = http://123.60.153.169:8040/apih5 +VITE_API_URL = http://123.60.153.169:8040/apih5 # VITE_API_URL = http://4155gf93ll13.vicp.fun/apih5 # VITE_API_URL = http://123.60.79.143:8041/apih5 # VITE_API_URL =http://192.168.0.135:8040/apih5 -VITE_API_URL = https://cankao.cs.com.cn/apih5 +# VITE_API_URL = https://cankao.cs.com.cn/apih5 VITE_API_DATAV_URL = https://cankao.cs.com.cn/zzck_datav \ No newline at end of file diff --git a/src/api/index.ts b/src/api/index.ts index c43c9ec..95188c7 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -91,7 +91,6 @@ export const fetchEtfDetail = (data: any) => { return Request.post("/news/etfList", data); }; - // 海外先机 export const getForeignList = (data: any) => { return Request.get("/news/exclusiveList", data); @@ -99,5 +98,11 @@ export const getForeignList = (data: any) => { // 编辑精选 export const getRecommendList = (data: any) => { - return Request.get("/news/curatedList", data); -}; \ No newline at end of file + return Request.get("/news/curatedList", { params: data }); +}; + +// 宏观知微 +export const getMacroList = (data: any) => { + return Request.get("/news/globalMacroList", { params: data }); +}; + diff --git a/src/pages/macroscopic/index.vue b/src/pages/macroscopic/index.vue index 214bddd..3354223 100644 --- a/src/pages/macroscopic/index.vue +++ b/src/pages/macroscopic/index.vue @@ -16,72 +16,117 @@ - - - - 宏观 - - 行业龙头最新财报行业龙头最新财报行业龙头最新财报行业龙头最新财报 + + + + + + +