diff --git a/src/api/newsInfo.ts b/src/api/newsInfo.ts
index dd9c60b..5c52abd 100644
--- a/src/api/newsInfo.ts
+++ b/src/api/newsInfo.ts
@@ -19,6 +19,10 @@ export const getConceptCount = (data: any) => {
export const getTopNews = (data: any) => {
return request.get("/top_news_h5_d", data);
};
+// 概念标签贴标
+export const getTopNewsAll = (data: any) => {
+ return request.get("/top_news_release_h5_all", data);
+};
// 热门行业top10:
export const getTopIndustry_d = (data: any) => {
diff --git a/src/components/RankList.vue b/src/components/RankList.vue
index e36002c..3ba5c84 100644
--- a/src/components/RankList.vue
+++ b/src/components/RankList.vue
@@ -24,7 +24,7 @@
{{ item.source }}
{{ dayjs(item.publish_time).format("YYYY-MM-DD HH:MM:ss") }}
-
+
资讯评分:
{{ item.news_score }}
@@ -77,6 +77,9 @@ watch(
watch(
() => props.newsList,
(newValue, oldValue) => {
+ if (!props.needExp) {
+ isExp.value = true;
+ }
rankListLocal.value = [];
props.newsList.forEach((item, index) => {
if (!isExp.value && index > 9) {
diff --git a/src/pages/realtimeInfo/indexRelease.vue b/src/pages/realtimeInfo/indexRelease.vue
index f9cf438..12fce46 100644
--- a/src/pages/realtimeInfo/indexRelease.vue
+++ b/src/pages/realtimeInfo/indexRelease.vue
@@ -27,7 +27,7 @@ import tagicon_2 from "@/assets/zixun/tagicon_2.png";
import LoginPopup from "@/components/loginPopup/index.vue";
import { Session } from "@/utils/storage";
-import { getindustryCount, getConceptCount, getTopNews, getTopIndustry_d, getTopConcept_d, getNews_cnt_d, newsInfoScore } from "@/api/newsInfo";
+import { getindustryCount, getConceptCount, getTopNewsAll, getTopIndustry_d, getTopConcept_d, getNews_cnt_d, newsInfoScore } from "@/api/newsInfo";
import countTo from "@/components/count-to/vue-countTo.vue";
import RankList from "@/components/RankList.vue"; // 路径根据实际调整
import InfoSummary from "@/components/InfoSummary.vue"; // 路径根据实际调整
@@ -64,7 +64,7 @@ async function getTopNum() {
// 概念标签贴标
async function getNewsList() {
- newsList.value = await getTopNews({});
+ newsList.value = await getTopNewsAll({});
}
// 热门行业top10