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

请问上面的搜索框不能固定么? #8

Open
ChenxinRuyi opened this issue May 19, 2017 · 3 comments
Open

请问上面的搜索框不能固定么? #8

ChenxinRuyi opened this issue May 19, 2017 · 3 comments

Comments

@ChenxinRuyi
Copy link

No description provided.

@RebeccaHanjw
Copy link
Owner

至少按照一般的页面开发的固定方式应该都可以

@shihunyin378
Copy link

放到scroll-view外面就行了吧

@Jay-huangjie
Copy link

将position属性改为fixed并加上 top: 0;
z-index: 2;属性就可以了,但注意与下边的内容加一个边距

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

4 participants