Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] WebUI 搜索番剧功能改进 #753

Open
timi137137 opened this issue Apr 21, 2024 · 0 comments
Open

[RFC] WebUI 搜索番剧功能改进 #753

timi137137 opened this issue Apr 21, 2024 · 0 comments
Labels
RFC Request for Comments

Comments

@timi137137
Copy link

timi137137 commented Apr 21, 2024

背景 or 问题

在3.1版本新增的这个搜索功能,可以说是完整的半成品了。

问题一:从下图可以看见,在蜜柑搜索的这部番剧是有两个部分,但在AB中搜索只会也只有第二部分。(ps:我等了5分钟还是只有这三个结果)
image
image

相关issue:


问题二:搜索框会自动清空(开发的时候是不是没有做双向数据绑定啊=-=)直接造成了最痛苦的情况,在我要准备点击添加或者不小心点到搜索框的时候,搜索词就会boom的一下消失。这个问题可以说是极其阴间甚至于无法使用。

QQ.20240422023903.mp4

目标 & 方案简述

问题一解决方案:将整个搜索功能独立出来为一个组件,该组件也是一个新的功能页面,专供搜索。搜索框调用该组件进行搜索,同时也可以允许用户在搜索页进行搜索操作。

问题二解决方案:=-=进行数据双向绑定

方案设计 & 实现步骤

问题一:(以下全是废话)新建页面,新建路由,复制粘贴serach bar的代码,使用v-for 遍历搜索结果用ab-bangumi-card展示
问题二:N/A

替代方案 & 对比

No response

@timi137137 timi137137 added the RFC Request for Comments label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for Comments
Projects
None yet
Development

No branches or pull requests

1 participant