一分钟搭建影视站,支持Docker等部署方式
fix
developerb8f8d06a627d
diff --git a/index.html b/index.htmlindex cb39dfc..53448f3 100644--- a/index.html+++ b/index.html@@ -198,27 +198,29 @@<p class="text-gray-400 mb-8">自由观影,畅享精彩</p></header>-- <div id="searchArea" class="flex-1 flex flex-col items-center justify-center">+ <div id="searchArea" class="flex-1 flex flex-col items-center justify-center"></div><h2 class="text-3xl font-bold gradient-text mb-8">视频搜索</h2><div class="w-full max-w-2xl">- <div class="flex items-center mb-3">- <div class="flex w-full max-w-2xl">- <button onclick="resetToHome()"- class="px-4 py-4 bg-white text-black font-medium hover:bg-gray-200 transition-colors border border-gray-300 rounded-l-lg"- aria-label="返回首页" title="返回首页">- <!-- ...existing SVG icon... -->- </button>- <input type="text" id="searchInput"- class="flex-1 bg-[#111] border-t border-b border-gray-300 text-white px-6 py-4 focus:outline-none focus:border-white transition-colors"- placeholder="搜索你喜欢的视频..."- aria-label="视频搜索框">- <button onclick="search()"- class="px-8 py-4 bg-white text-black font-medium hover:bg-gray-200 transition-colors border border-gray-300 rounded-r-lg"- aria-label="搜索按钮">- 搜索- </button>- </div>+ <div class="flex">+ <!-- 修改返回首页按钮样式,与搜索按钮一致 -->+ <button onclick="resetToHome()"+ class="bg-white text-black px-4 py-4 rounded-l-lg hover:bg-gray-200 transition-colors flex items-center justify-center"+ aria-label="返回首页"+ title="返回首页">+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />+ </svg>+ </button>+ <input type="text"+ id="searchInput"+ class="w-full bg-[#111] border-y border-r-0 border-l-0 border-[#333] text-white px-6 py-4 focus:outline-none focus:border-white transition-colors"+ placeholder="搜索你喜欢的视频..."+ aria-label="视频搜索框">+ <button onclick="search()"+ class="px-8 py-4 bg-white text-black font-medium rounded-r-lg hover:bg-gray-200 transition-colors"+ aria-label="搜索按钮">+ 搜索+ </button></div><!-- 添加最近搜索记录部分 -->