Skip to content

一分钟搭建影视站,支持Docker等部署方式

添加豆瓣卡片链接,允许用户在新标签页中查看详细信息

developerd85bcfd0bd95
diff --git a/js/douban.js b/js/douban.js
index 923843e..a219bbf 100644
--- a/js/douban.js
+++ b/js/douban.js
@@ -283,6 +283,11 @@ function renderDoubanCards(data, container) {
<div class="absolute bottom-2 left-2 bg-black/70 text-white text-xs px-2 py-1 rounded-sm">
<span class="text-yellow-400">★</span> ${safeRate}
</div>
+ <div class="absolute bottom-2 right-2 bg-black/70 text-white text-xs px-2 py-1 rounded-sm hover:bg-[#333] transition-colors">
+ <a href="${item.url}" target="_blank" rel="noopener noreferrer" title="在豆瓣查看">
+ 🔗
+ </a>
+ </div>
</div>
<div class="p-2 text-center bg-[#111]">
<button onclick="fillSearchInput('${safeTitle}')"