diff --git a/src/components/RankList.vue b/src/components/RankList.vue index f6e3a90..eda5c06 100644 --- a/src/components/RankList.vue +++ b/src/components/RankList.vue @@ -24,17 +24,19 @@ - {{ - item - }} + {{ + item + }} - {{ - item - }} + {{ + item + }} @@ -51,8 +53,7 @@ 资讯评分: - {{ item.news_score }} + {{ item.news_score }} @@ -65,11 +66,8 @@ - + @@ -97,7 +95,7 @@ watch( try { concept_label = JSON.parse(item.concept_label); industry_label = JSON.parse(item.industry_label); - } catch (e) {} + } catch (e) { } rankListLocal.value.push({ ...item, conceptLabels: concept_label, @@ -125,7 +123,7 @@ watch( try { concept_label = JSON.parse(item.concept_label); industry_label = JSON.parse(item.industry_label); - } catch (e) {} + } catch (e) { } rankListLocal.value.push({ ...item, @@ -310,11 +308,16 @@ function timeFormat(dateTime = null, formatStr = "yyyy-mm-dd hh:MM:ss") { text-align: left; font-style: normal; - display: -webkit-box; /* 设置为WebKit内核的弹性盒子模型 */ - -webkit-box-orient: vertical; /* 垂直排列 */ - -webkit-line-clamp: 2; /* 限制显示三行 */ - overflow: hidden; /* 隐藏超出范围的内容 */ - text-overflow: ellipsis; /* 使用省略号 */ + display: -webkit-box; + /* 设置为WebKit内核的弹性盒子模型 */ + -webkit-box-orient: vertical; + /* 垂直排列 */ + -webkit-line-clamp: 2; + /* 限制显示三行 */ + overflow: hidden; + /* 隐藏超出范围的内容 */ + text-overflow: ellipsis; + /* 使用省略号 */ } .news-meta { diff --git a/src/pages/realtimeInfo/index.vue b/src/pages/realtimeInfo/index.vue index 2f52479..9a97740 100644 --- a/src/pages/realtimeInfo/index.vue +++ b/src/pages/realtimeInfo/index.vue @@ -58,7 +58,8 @@ - + @@ -66,7 +67,9 @@
- + {{ chooseDate.startDate.split(" ")[0] }} @@ -81,7 +84,8 @@ - + 查看全部 @@ -93,7 +97,8 @@ - + 查看全部 @@ -106,21 +111,11 @@ 退出登录 - + - @@ -208,7 +203,7 @@ async function getNewsList() { end_date: chooseDate.endDate ? timeFormat(chooseDate.endDate) : timeFormat(new Date(today.getFullYear(), today.getMonth(), today.getDate(), 12, 0, 0, 0)), - limit_num: 20, + limit_num: 1000, }); } diff --git a/src/pages/realtimeInfo/pc/components/PageTop.vue b/src/pages/realtimeInfo/pc/components/PageTop.vue index 4c51b4d..0e15dbc 100644 --- a/src/pages/realtimeInfo/pc/components/PageTop.vue +++ b/src/pages/realtimeInfo/pc/components/PageTop.vue @@ -17,10 +17,10 @@ - +