|
[插件开发]
UIScrollPicture BUG
[复制链接]
在模块区域不能触摸滚动,在html可以滚动。。
华为鸿蒙系统。
下面代码
- UIScrollPicture.open({
- rect: {
- x: 0,
- y: $('.sx-slide').offset().top,
- w: api.winWidth,
- h: $('.sx-slide').height(),
- },
- data: {
- paths: data_view.images
- },
- styles: {
- indicator: {
- align: 'center',
- color: 'rgba(222, 222, 222, 0.8)',
- activeColor: '#FF2442',
- bottom:api.systemType == 'ios' ?5:20
- }
- },
- placeholderImg: data_view.img,
- contentMode: 'scaleAspectFit',
- touchWait:true,
- auto:false,
- fixedOn: api.frameName,
- fixed: false,
- }, function(ret, err) {
- });
复制代码
|
|