-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature: 滚轮控制缩放,拖动图片查看 #44
Open
DeepenLau
wants to merge
14
commits into
FEMessage:dev
Choose a base branch
from
unknown repository
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploy preview for img-preview ready! Built with commit 449b4f6 |
eviIIt
reviewed
Sep 18, 2019
eviIIt
reviewed
Sep 18, 2019
eviIIt
reviewed
Sep 18, 2019
eviIIt
reviewed
Sep 18, 2019
eviIIt
reviewed
Sep 18, 2019
Co-Authored-By: EVILLT <[email protected]>
Co-Authored-By: EVILLT <[email protected]>
Co-Authored-By: EVILLT <[email protected]>
Co-Authored-By: EVILLT <[email protected]>
eviIIt
approved these changes
Sep 18, 2019
eviIIt
approved these changes
Sep 18, 2019
我认为如果增加这个功能,应该给一个开关。并不是所有人都需要滚动缩放的。 |
最大缩放倍率也需要设置一下。 |
|
关闭按钮的层级比图片高一点,保证任何状态都能直接关闭 |
由于在移动端没有相关的鼠标事件,所以在移动端(微信浏览器)测试效果符合预期 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
场景:
之前遇到一个问题,某些图片的尺寸在放大后 scale 固定为1,在视觉上看起来比原图还小,且不能缩放
需求:
(pc端)
How
Describe your steps:
Demo