一分钟搭建影视站,支持Docker等部署方式
style(douban): 优化加载中状态的样式
wudi771c2e69a404
diff --git a/js/douban.js b/js/douban.jsindex d571a63..7a105a8 100644--- a/js/douban.js+++ b/js/douban.js@@ -306,9 +306,9 @@ function renderRecommend(tag, pageLimit, pageStart) {// 显示加载状态container.innerHTML = `- <div class="col-span-full text-center py-10">- <div class="w-6 h-6 border-2 border-pink-500 border-t-transparent rounded-full animate-spin mr-2 inline-block"></div>- <span class="text-pink-500">加载中...</span>+ <div class="col-span-full flex items-center justify-center py-10">+ <div class="w-6 h-6 border-2 border-pink-500 border-t-transparent rounded-full animate-spin inline-block"></div>+ <span class="text-pink-500 ml-4">加载中...</span></div>`;@@ -461,4 +461,4 @@ function resetToHome() {}// 加载豆瓣首页内容-document.addEventListener('DOMContentLoaded', initDouban);\ No newline at end of file+document.addEventListener('DOMContentLoaded', initDouban);