帖子
帖子
用户
博客
课程
显示全部楼层
34
帖子
0
勋章
142
Y币

[BUG] scrollRotation的bug

[复制链接]
发表于 2017-1-5 10:41:27
测试scrollRotaion,可以显示,也可以点击,但是向左右滑动时就系统自动退出,使用的是示例代码

  1. var scrollRotation = api.require('scrollRotation');
  2. scrollRotation.open({
  3.     x: 30,
  4.     y: api.frameHeight / 2 - 170,
  5.     w: api.frameWidth - 60,
  6.     h: 340,
  7.     items: [{
  8.         imgPath: 'widget://res/img/apicloud.png',
  9.         title: 'apicloud',
  10.         fontColor: '#ffffff',
  11.         fontSize: 16
  12.     }, {
  13.         imgPath: 'widget://res/img/apicloud-gray.png',
  14.         title: 'apicloud',
  15.         fontColor: '#ffffff',
  16.         fontSize: 16
  17.     }, {
  18.         imgPath: 'widget://res/img/apicloud.png',
  19.         title: 'apicloud',
  20.         fontColor: '#ffffff',
  21.         fontSize: 16
  22.     }, {
  23.         imgPath: 'widget://res/img/apicloud-gray.png',
  24.         title: 'apicloud',
  25.         fontColor: '#ffffff',
  26.         fontSize: 16
  27.     }],
  28.     fixedOn: api.frameName
  29. }, function(ret, err) {
  30.     if (ret) {
  31.         alert(JSON.stringify(ret));
  32.     } else {
  33.         alert(JSON.stringify(err));
  34.     }
  35. });
复制代码


2
帖子
0
勋章
2271
Y币
嗯,我们查一下。
41
帖子
0
勋章
112
Y币
cjapi 发表于 2017-1-5 11:35
嗯,我们查一下。

刚用了,也是滑动闪退,安卓机
2
帖子
0
勋章
2271
Y币
cgbook 发表于 2017-11-22 18:03
刚用了,也是滑动闪退,安卓机

您好,请提供一下机型、版本。
您需要登录后才可以回帖 登录

本版积分规则