02 2023 档案
摘要:最近要写一个自动播放下一集的功能:前提是:当前页面是一个列表,播放完一个,在播放下一个 var player = new Aliplayer({ id: 'MPSplayer', width: that.screenWidth - Number(width), height: that.screen
阅读全文
摘要:在之前的项目中,有一个是需要使用在H5中预览pdf文件,当时使用了hybrid来预览, 现在是需要一套程序,两处使用,因此下边将会展示小程序中预览文件 // #ifdef MP */ 是区分运行的环境,在小程序中可使用如下方法 uni.downloadFile({ url: item.link,//
阅读全文