const view = new plus.nativeObj.ImageSlider('slider',
{
width: '800px',
height: '436px',
backgroundColor: '#000',
autoplay: true,
interval: 3000,
loop: true,
images: [
{ src: 'https://cdn.novenn.com/random/images/2020-04-27.jpg' },
{ src: 'https://cdn.novenn.com/random/images/2020-06-28.jpg' }
]
});
view.addEventListener('click', (e) => {
console.log(e);
})
view.show()
2***@qq.com
- 发布:2022-08-05 13:13
- 更新:2022-08-05 13:13
- 阅读:326
0 个回复