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

请问框架为什么我全局安装后不能适应移动端。 #143

Closed
gaiai opened this issue Sep 24, 2017 · 3 comments
Closed

请问框架为什么我全局安装后不能适应移动端。 #143

gaiai opened this issue Sep 24, 2017 · 3 comments

Comments

@gaiai
Copy link

gaiai commented Sep 24, 2017

网页拉拽没问题,可一到移动端高分屏就按像素,这个在哪里设置呢?

2017-09-24 8 17 14

2017-09-24 8 18 56

@chenjiahan
Copy link
Member

@gaiai 不是很明白你的意思,请问你需要的效果是什么样的?

@gaiai
Copy link
Author

gaiai commented Sep 24, 2017

@chenjiahan 就是手机端因为高分屏,会变的很小。

这我的效果
2017-09-24 10 48 14

官方的理想效果:

2017-09-24 10 47 57

@chenjiahan
Copy link
Member

@gaiai 这与组件库适配无关,请在你的 HTML 中添加 viewport 设置

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants