News window & make the hot news that uses google news rss legacy.

This commit is contained in:
yuanhau 2025-06-01 08:15:53 +08:00
parent dcf1b7db66
commit 046f5ae446
8 changed files with 14 additions and 12 deletions

View file

@ -20,7 +20,7 @@ const {
data: fetchNewsOrgInfo,
pending,
error,
} = useFetch("/api/cached/getData/fetchNewsOrgInfo/2293", {
} = useFetch(`/api/cached/getData/fetchNewsOrgInfo/${props.values}`, {
method: "POST",
headers: {
"Content-Type": "application/json",

View file

@ -305,9 +305,6 @@ const openPublisher = (text: string) => {
找不到類似文章
</div>
</div>
<!--<div v-for="item in findRel(item.title)">
{{ item }}
</div>-->
</div>
<!--<p :class="getCheckResult(item.title) ? 'hidden' : ''">
{{ item.shortDescription }}

View file

@ -68,7 +68,12 @@ const aiSummary = async () => {
class="w-4 h-4 align-middle justify-center text-center"
/>Activate
</button>
<div v-else>{{ summaryText }}</div>
<div v-else>
<div v-if="!summaryText">
Loading...
</div>
<div v-else>{{ summaryText }}</div>
</div>
</div>
<div class="flex flex-col bg-gray-500">
<div class="flex flex-row" v-for="item in likeart">