We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
希望提供Loading组件居中显示的方法
The text was updated successfully, but these errors were encountered:
Loading 本来就是居中显示。
Sorry, something went wrong.
手动覆盖样式
.vux-loading .weui-toast { top: 50%; transform: translateX(-50%) translateY(-50%); }
手动覆盖样式很low啊
Toast和Loading已插件的形式引入,Toast插件Vue.use(ToastPlugin, {position: 'middle'})这样配置也无法垂直居中,后来通过定义的一个全局函数才搞定。不过Loading插件没提供垂直居中的属性,要是以插件的形式引入,需要在单独的页面中覆盖样式,这样就麻烦了,每个页面都得这么写~
No branches or pull requests
希望提供Loading组件居中显示的方法
The text was updated successfully, but these errors were encountered: