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

Demo checkicon页面打不开 #2389

Closed
mymmoonoa opened this issue Jan 7, 2018 · 3 comments
Closed

Demo checkicon页面打不开 #2389

mymmoonoa opened this issue Jan 7, 2018 · 3 comments

Comments

@mymmoonoa
Copy link

https://vux.li/demos/v2/?x-page=v2-doc-home#/demo
的checkicon 打不开,一直显示加载中状态。手机端、PC端,WiFi、联通4G都有试验。
检查一下

@airyland
Copy link
Owner

airyland commented Jan 7, 2018

https://vux.li/demos/v2/#/component/check-icon
并没有发现问题。

@chumysummer
Copy link

check-icon可以修改样式和颜色吗,因为自己的项目里面是方形蓝色的

@mymmoonoa
Copy link
Author

@chumysummer
如果组件有提供可以修改你需要实现样式的props属性,你直接传递即可。
如果没有的话,你可以通过浏览器debug,观测实现样式的和颜色所使用的class。然后你加个override的class样式即可。
例如:(下面是代码假设)
vux组件原始样式

.vux-class-a {
  color: red;
  ...
}

你只需要在vux组件上添加vux-override的class
然后在公共的css文件中添加代码

.vux-override .vux-class-a {
  color: urcolor; /*你要的颜色*/
  ...
}

以上是方法,你可以边调试便实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants