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

[Bug] 移动端无法切换缩略图/卡片模式 #4

Open
cha0sCat opened this issue May 3, 2021 · 5 comments
Open

[Bug] 移动端无法切换缩略图/卡片模式 #4

cha0sCat opened this issue May 3, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@cha0sCat
Copy link

cha0sCat commented May 3, 2021

切换缩略图/卡片的按钮被挤出屏幕外了,导致无法切换

@umonaca
Copy link
Collaborator

umonaca commented May 3, 2021

其实不是挤出屏幕外而是故意隐藏了,比如这样一个设备是没法同时放下列表模式+缩略图模式按钮的
firefox_unP5pp7poy
窄屏设备下缩略图模式和普通模式区别仅仅在于隐藏了详细信息,并没有平板上那种缩放的好处。
相关代码:src\pages\Works.vue 有几个 $q.screen.width > 700, 如果你觉得有其它更合适的做法可以改这里。

@cha0sCat
Copy link
Author

cha0sCat commented May 3, 2021

刚刚看到代码了

音声毕竟不像视频,封面和内容的关联性并没有那么紧密,这时候我认为通过社团、标签判断是很好的选择

然后,因为以前的版本默认是缩略图模式,现在又隐藏了控制按钮,导致移动端的用户只能看到缩略图,没法选择看到完整元数据

也许把缩略图模式、缩略图详情模式、列表模式 做成同级会比较好

@umonaca umonaca closed this as completed in 4b7506d May 3, 2021
@umonaca umonaca reopened this May 3, 2021
@umonaca
Copy link
Collaborator

umonaca commented May 3, 2021

然后,因为以前的版本默认是缩略图模式,现在又隐藏了控制按钮,导致移动端的用户只能看到缩略图,没法选择看到完整元数据

不小心引入的bug,上面那个可以解决。

@cha0sCat cha0sCat closed this as completed May 3, 2021
@umonaca
Copy link
Collaborator

umonaca commented May 3, 2021

也许把缩略图模式、缩略图详情模式、列表模式 做成同级会比较好

这个提案好。可以把排序按钮的文字减少,然后加一个正反序按钮,然后右上角就能放得下三种模式切换按钮了。
firefox_boIWqpiaKl

样式还没改好但大致是这个意思

@umonaca umonaca reopened this May 3, 2021
@cha0sCat
Copy link
Author

cha0sCat commented May 4, 2021

我是这样写的
实在是找不到合适的icon了
https://github.com/cha0sCat/kikoeru-quasar/commit/dec562566575c93b674b906391f1d8c57b058e12

@umonaca umonaca added the enhancement New feature or request label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants