merge
This commit is contained in:
@@ -31,8 +31,7 @@ Page({
|
||||
},
|
||||
swiperChange(e){
|
||||
let { current } = e.detail
|
||||
|
||||
console.log(current)
|
||||
// console.log(current)
|
||||
let swipers = this.data.swipers
|
||||
let item = swipers[current]
|
||||
let type = item.type
|
||||
@@ -40,7 +39,7 @@ Page({
|
||||
|
||||
if(current == 0 || this.data.playId == '' || this.data.playId != item.id){
|
||||
let id = 'myVideo'+item.id
|
||||
console.log(id)
|
||||
// console.log(id)
|
||||
let videoContext = wx.createVideoContext(`${id}`)
|
||||
videoContext.play()
|
||||
this.setData({
|
||||
@@ -122,7 +121,7 @@ Page({
|
||||
// 预览图片
|
||||
preImg(e){
|
||||
let current = e.currentTarget.dataset.idx
|
||||
console.log(current)
|
||||
// console.log(current)
|
||||
let urls = e.currentTarget.dataset.urls
|
||||
wx.previewImage({
|
||||
urls,
|
||||
|
||||
Reference in New Issue
Block a user