mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-03-15 04:53:18 +08:00
feat: 更新搜索功能与标签系统,增强用户体验
* 更新 `search.ts`,调整 API 文档链接并优化请求格式,支持 Cloudflare Workers API。 * 在 `SearchHeader.vue` 中新增标签说明,帮助用户快速理解资源特性。 * 在 `SearchResults.vue` 中重构标签显示,增加样式和图标映射,提升视觉效果与信息传达。
This commit is contained in:
@@ -195,6 +195,25 @@
|
||||
>,搜索结果均来自第三方站点,下载前请各位自行判断
|
||||
<strong>资源安全性</strong>,以免翻车。
|
||||
</li>
|
||||
<li>
|
||||
• 搜索结果会显示不同的<strong>标签</strong>,帮助你快速了解资源特性:
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-green-100 text-green-700 text-xs font-medium ml-1">
|
||||
<i class="fas fa-check-circle text-[10px]"></i>直接下载
|
||||
</span>
|
||||
表示无需登录,
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-blue-100 text-blue-700 text-xs font-medium">
|
||||
<i class="fas fa-user text-[10px]"></i>需登录
|
||||
</span>
|
||||
表示需要账号,
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-emerald-100 text-emerald-700 text-xs font-medium">
|
||||
<i class="fas fa-rocket text-[10px]"></i>不限速
|
||||
</span>
|
||||
表示高速网盘,
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-violet-100 text-violet-700 text-xs font-medium">
|
||||
<i class="fas fa-magnet text-[10px]"></i>BT/磁力
|
||||
</span>
|
||||
表示种子下载等。
|
||||
</li>
|
||||
<li>
|
||||
• 搜索时请注意关键词长度!<strong>关键词太短</strong>
|
||||
可能搜不全(部分站点只显示首批结果),<strong>太长</strong>
|
||||
|
||||
Reference in New Issue
Block a user