diff --git a/src/pages/realtimeInfo/index.vue b/src/pages/realtimeInfo/index.vue index a1ad0a6..1bc8b70 100644 --- a/src/pages/realtimeInfo/index.vue +++ b/src/pages/realtimeInfo/index.vue @@ -58,7 +58,16 @@ - + @@ -66,7 +75,17 @@
- + {{ chooseDate.startDate.split(" ")[0] }} @@ -81,7 +100,9 @@ - + 查看全部 @@ -93,7 +114,9 @@ - + 查看全部 @@ -110,7 +133,8 @@ :show="LoginShow" @handlePopupClose="handlePopupClose" @handlePopupSuccessCallback="handlePopupSuccessCallback" - @handlePopupErrorCallback="handlePopupErrorCallback" /> + @handlePopupErrorCallback="handlePopupErrorCallback" + /> + @close="calendarShow = false" + > @@ -138,7 +163,15 @@ 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, + getTopNews, + 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"; // 路径根据实际调整 @@ -261,9 +294,9 @@ function onViewAll(type1) { } } -const timer = setInterval(() => { - initData(); -}, 5000); +// const timer = setInterval(() => { +// initData(); +// }, 5000); function showCalendar() { calendarShow.value = true; @@ -396,7 +429,9 @@ function timeFormat(dateTime = null, formatStr = "yyyy-mm-dd hh:MM:ss") { } text { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 24rpx; color: rgba(255, 255, 255, 0.8); @@ -439,7 +474,9 @@ function timeFormat(dateTime = null, formatStr = "yyyy-mm-dd hh:MM:ss") { } .tag_title { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 24rpx; color: #222222; @@ -447,7 +484,9 @@ function timeFormat(dateTime = null, formatStr = "yyyy-mm-dd hh:MM:ss") { } .tag_num { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: bold; font-size: 38rpx; color: #222222; @@ -455,7 +494,9 @@ function timeFormat(dateTime = null, formatStr = "yyyy-mm-dd hh:MM:ss") { } .tag_status { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 22rpx; color: #999999; diff --git a/src/pages/realtimeInfo/indexRelease.vue b/src/pages/realtimeInfo/indexRelease.vue index 8687f43..5be70e8 100644 --- a/src/pages/realtimeInfo/indexRelease.vue +++ b/src/pages/realtimeInfo/indexRelease.vue @@ -223,9 +223,9 @@ function onViewAll(type) { } } -const timer = setInterval(() => { - initData(); -}, 5000); +// const timer = setInterval(() => { +// initData(); +// }, 5000); const LoginShow = ref(false); const isLoginStatus = ref(); @@ -350,7 +350,9 @@ onMounted(async () => { } text { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 24rpx; color: rgba(255, 255, 255, 0.8); @@ -393,7 +395,9 @@ onMounted(async () => { } .tag_title { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 24rpx; color: #222222; @@ -401,7 +405,9 @@ onMounted(async () => { } .tag_num { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: bold; font-size: 38rpx; color: #222222; @@ -409,7 +415,9 @@ onMounted(async () => { } .tag_status { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 22rpx; color: #999999; @@ -532,7 +540,9 @@ onMounted(async () => { } .sreach_text { - font-family: PingFangSC, PingFang SC; + font-family: + PingFangSC, + PingFang SC; font-weight: 400; font-size: 24rpx; color: #999999;