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

背景颜色可以渐变吗 #15

Open
sayPink opened this issue Nov 7, 2019 · 7 comments
Open

背景颜色可以渐变吗 #15

sayPink opened this issue Nov 7, 2019 · 7 comments

Comments

@sayPink
Copy link

sayPink commented Nov 7, 2019

背景颜色可以渐变吗

@lingxiaoyi
Copy link
Owner

这个功能需要你自己去控制opacity值变化,组件内部没有实现这个功能,因为尝试了下,发现性能不是很好

@sayPink
Copy link
Author

sayPink commented Nov 7, 2019

ext-class这个好像没有用,能不能用这个给组件自定义背景颜色 整成渐变呢

@lingxiaoyi
Copy link
Owner

现在组件颜色值没有做监听
image
image
这样修改源码可以尝试一下,因为开发例子时候我感觉渐变体验有点差,就没考虑这个功能...

@sayPink
Copy link
Author

sayPink commented Nov 7, 2019

这个功能我觉的有必要加一下,渐变有必要加,比较有些老板喜欢花里胡哨,还有就是自定义导航以后,下拉的颜色也变成背景颜色了,希望这个下啦的背景颜色可以自定义
image

@lingxiaoyi
Copy link
Owner

lingxiaoyi commented Nov 7, 2019 via email

@lingxiaoyi
Copy link
Owner

渐变色和自定义背景色已经提交,请参考例子10

@chungmarcoo
Copy link

这个功能我觉的有必要加一下,渐变有必要加,比较有些老板喜欢花里胡哨,还有就是自定义导航以后,下拉的颜色也变成背景颜色了,希望这个下啦的背景颜色可以自定义 image

下拉時的白色背景是無法避免?

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

3 participants