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

再提个建议,z-index问题 #13

Open
iampcfox opened this issue Sep 28, 2018 · 2 comments
Open

再提个建议,z-index问题 #13

iampcfox opened this issue Sep 28, 2018 · 2 comments

Comments

@iampcfox
Copy link

当页面中存在canvas,map这类组件时,这个插件其实覆盖不了这类组件的…
所以…有没有想过用小程序原生组件实现一个

另外,实在是卡…

@KuangPF
Copy link
Member

KuangPF commented Sep 30, 2018

  1. 目前测试了下在 mpvue-picker 组件中使用 canvas,发现是能覆盖的吧:

picker-zindex-01

picker-zindex-02

笑脸为微信官方文档提示的 canvas 示例,其实该组件就是基于微信原生组件 picker-viewpicker-view-column实现的。
2.关于卡的问题,应该是使用联级模式的时候会出现,可能当数据量比较大的时候会出现卡顿现象,原因在于每次滚动都会重新去渲染每一列的数据,由于数数据格式可能传入的时候不是很合理,然后每次滚动就要重新遍历整个数据,因此性能可能比较差。下个版本考虑改变一下联级模式的数据结构,应该就可以解决这个问题。

@iampcfox
Copy link
Author

iampcfox commented Dec 9, 2018

抱歉,这么久才回复…
tim 20181209113055

psb 13

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