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

Landscape组件的两个bug #33

Open
mamboer opened this issue Oct 13, 2016 · 0 comments
Open

Landscape组件的两个bug #33

mamboer opened this issue Oct 13, 2016 · 0 comments

Comments

@mamboer
Copy link
Contributor

mamboer commented Oct 13, 2016

  1. 获取配置参数错误错误:不知道哪里来的_this.option,这个问题已经有PR了,在这里:Landscape 修复一些问题 #21
  2. 横屏图标指示不对,需要修改下样式动画

原样式:

+'@-webkit-keyframes '+config.prefix+'_landscapeAni{0% {-webkit-transform:rotate(-90deg);}30% {-webkit-transform:rotate(-90deg);}70%{-webkit-transform:rotate(0deg);}100% {-webkit-transform:rotate(0deg);}}'
+'@keyframes '+config.prefix+'_landscapeAni{0% {transform:rotate(-90deg);}30% {transform:rotate(-90deg);}70%{transform:rotate(0deg);}100% {transform:rotate(0deg);}}';

应改为:

+'@-webkit-keyframes '+config.prefix+'_landscapeAni{0% {-webkit-transform:rotate(0deg);}30% {-webkit-transform:rotate(0deg);}70%{-webkit-transform:rotate(90deg);}100% {-webkit-transform:rotate(90deg);}}'
+'@keyframes '+config.prefix+'_landscapeAni{0% {transform:rotate(0deg);}30% {transform:rotate(0deg);}70%{transform:rotate(90deg);}100% {transform:rotate(90deg);}}';
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

1 participant