保存更多图片元数据并同步更新前端

This commit is contained in:
2026-01-27 13:52:40 +08:00
parent 6dfffe1236
commit 9c2a5d5cd8
11 changed files with 331 additions and 72 deletions

View File

@@ -49,10 +49,10 @@
{{ image.copyright }}
</p>
<!-- Quiz 链接 -->
<!-- 版权详情链接 -->
<a
v-if="image.quiz"
:href="getBingQuizUrl(image.quiz)"
v-if="image.copyrightlink"
:href="image.copyrightlink"
target="_blank"
class="inline-flex items-center gap-2 px-4 py-2 bg-white/20 hover:bg-white/30 text-white rounded-lg text-sm font-medium transition-all group"
>
@@ -175,10 +175,7 @@ const getFullImageUrl = () => {
return bingPaperApi.getImageUrlByDate(currentDate.value, 'UHD', 'jpg')
}
// 获取必应 quiz URL
const getBingQuizUrl = (quiz: string) => {
return `https://www.bing.com${quiz}`
}
// copyrightlink 现在是完整的 URL无需额外处理
// 返回首页
const goBack = () => {