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 @@ - - - - 宏观 - - 行业龙头最新财报行业龙头最新财报行业龙头最新财报行业龙头最新财报 + + + + + + +