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

照片详情页新增方向键快捷键 #92

Closed
Zheaoli opened this issue Jul 1, 2024 · 1 comment · Fixed by #100
Closed

照片详情页新增方向键快捷键 #92

Zheaoli opened this issue Jul 1, 2024 · 1 comment · Fixed by #100
Labels
✨enhancement New feature or request

Comments

@Zheaoli
Copy link
Contributor

Zheaoli commented Jul 1, 2024

目前照片浏览过程是这样

  1. 进入相册
  2. 点开一张照片
  3. 点击关闭
  4. 点开下一张照片

如果这里能支持快捷键,方向键切换照片的话,那么能省去3/4 的步骤,方便很多

@besscroft besscroft added the ✨enhancement New feature or request label Jul 1, 2024
@besscroft
Copy link
Owner

引入灯箱组件估计是不好做了,不然现有的功能没啥意义。我觉得可以增加切换按钮,根据当前图片在 array 内的索引进行定位,然后增减索引取出对应的值来达到切换图片数据的目的。我有空会加上。
相关 issues:#64

@besscroft besscroft linked a pull request Jul 12, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants