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

在小程序中,可以直接用flex处理grid了 #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

在小程序中,可以直接用flex处理grid了 #23

wants to merge 1 commit into from

Conversation

zzefff
Copy link

@zzefff zzefff commented Jan 9, 2017

没有flex兼容性的担忧

@BearJ
Copy link
Collaborator

BearJ commented Jan 11, 2017

@JeffCz 其实不是担心兼容性问题,因为cell也是用flex布局。而是这里跟随weui走如果weui改了,这里会跟着改

@liujians
Copy link

image
我自己写的Wa-UI也是flex的栅格布局、主要还是参考ionic css的布局
https://github.com/liujians/Wa-UI
官方后面换成用flex更符合小程序的初衷吧

@emeryao
Copy link

emeryao commented Jan 19, 2017

display:flex 在iphone上表现还是不尽如人意 亲测

@kid1412621
Copy link

image
我自己写的 Wa-UI 也是 flex 的栅格布局、主要还是参考 ionic css 的布局
https://github.com/liujians/Wa-UI
官方后面换成用 flex 更符合小程序的初衷吧

col 的 display 应该是 inline-block 吧.
我现在直接用 display: grid. 但是 view 组件可以, scroll-view 不行, 又要包一层

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

Successfully merging this pull request may close these issues.

5 participants