|
[BUG]
scrollRotation的bug
[复制链接]
测试scrollRotaion,可以显示,也可以点击,但是向左右滑动时就系统自动退出,使用的是示例代码
- var scrollRotation = api.require('scrollRotation');
- scrollRotation.open({
- x: 30,
- y: api.frameHeight / 2 - 170,
- w: api.frameWidth - 60,
- h: 340,
- items: [{
- imgPath: 'widget://res/img/apicloud.png',
- title: 'apicloud',
- fontColor: '#ffffff',
- fontSize: 16
- }, {
- imgPath: 'widget://res/img/apicloud-gray.png',
- title: 'apicloud',
- fontColor: '#ffffff',
- fontSize: 16
- }, {
- imgPath: 'widget://res/img/apicloud.png',
- title: 'apicloud',
- fontColor: '#ffffff',
- fontSize: 16
- }, {
- imgPath: 'widget://res/img/apicloud-gray.png',
- title: 'apicloud',
- fontColor: '#ffffff',
- fontSize: 16
- }],
- fixedOn: api.frameName
- }, function(ret, err) {
- if (ret) {
- alert(JSON.stringify(ret));
- } else {
- alert(JSON.stringify(err));
- }
- });
复制代码
|
|