diff --git a/src/api/newsInfo.ts b/src/api/newsInfo.ts index e7e9408..43b43f7 100644 --- a/src/api/newsInfo.ts +++ b/src/api/newsInfo.ts @@ -15,6 +15,12 @@ export const getConceptCount = (data: any) => { return request.get("/news_info/concept/count", data); }; +// 概念标签贴标 +export const getTopNewsDay = (data: any) => { + // return request.get("/top_news_h5_period?start_date=" + data.start_date + "&end_date=" + data.end_date + "&limit_num=" + data.limit_num, data); + return request.get("/top_news_h5_d", data); +}; + // 概念标签贴标 export const getTopNews = (data: any) => { return request.get("/top_news_h5_period?start_date=" + data.start_date + "&end_date=" + data.end_date + "&limit_num=" + data.limit_num, data); diff --git a/src/pages/realtimeInfo/pc/rank.vue b/src/pages/realtimeInfo/pc/rank.vue index 4c2f943..e25858c 100644 --- a/src/pages/realtimeInfo/pc/rank.vue +++ b/src/pages/realtimeInfo/pc/rank.vue @@ -2,10 +2,7 @@ - + 资讯头条榜 @@ -16,34 +13,20 @@ - {{ - index + 1 - }} - {{ index + 1 }} - {{ index + 1 }} + {{ index + 1 }} + {{ index + 1 }} + {{ index + 1 }} {{ index + 1 }} - {{ - item.title - }} + {{ item.title }} {{ item.summary }} {{ item.source }} - {{ - dayjs(item.publish_time).format("YYYY-MM-DD HH:MM:ss") - }} + {{ dayjs(item.publish_time).format("YYYY-MM-DD HH:MM:ss") }} {{ item.news_score }} @@ -57,15 +40,14 @@ mode="center" @handlePopupClose="handlePopupClose" @handlePopupSuccessCallback="handlePopupSuccessCallback" - @handlePopupErrorCallback="handlePopupErrorCallback" - /> + @handlePopupErrorCallback="handlePopupErrorCallback" />