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

请问 minirefresh.vue 这个文件是不是需要我手动c+v到自己工程里面去的? #3

Open
qhhuang opened this issue Dec 11, 2017 · 4 comments

Comments

@qhhuang
Copy link

qhhuang commented Dec 11, 2017

minirefresh-vue-examples/src/components/minirefresh/minirefresh.vue
请问 minirefresh.vue 这个文件是不是需要我手动c+v到自己工程里面去的?

@dailc
Copy link
Member

dailc commented Dec 11, 2017

嗯,这里面只是对minirefresh进行一个vue版本的初步二次封装而已。
你移动到自己项目后也可以继续拓展

@qhhuang
Copy link
Author

qhhuang commented Dec 11, 2017

请问下这个能不能flex 布局, 就是demo里nested swipe
.swiper-container {
position: absolute;
top: 90px;
left: 0;
width: 100%;
height: 100%;
}
要是不知道swiper-container 距顶部高度的具体数值的时候要怎么写?

@dailc
Copy link
Member

dailc commented Dec 11, 2017

你可以试试,swiper-container只是外层的一个示例而已。
真实的下拉刷新区域是从minirefresh-wrap开始算得。正常来说外部的其它布局内部并不依赖。

@qhhuang
Copy link
Author

qhhuang commented Dec 12, 2017

minirefresh-wrap 这个是absolute 的, 改了之后 开始刷新就会一直刷新-..- 应该没办法

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