|
|
|
@ -108,7 +108,8 @@ Page({ |
|
|
|
console.log(this.data.codeImgs); |
|
|
|
}, |
|
|
|
prevCodeImg:function(){ |
|
|
|
let qrcode=this.data.info.order_product_list[0].qrcode,codeIndex = this.data.codeIndex; |
|
|
|
let qrcode=this.data.codeImgs,codeIndex = this.data.codeIndex; |
|
|
|
console.log(codeIndex) |
|
|
|
if(codeIndex==0){ |
|
|
|
this.setData({ |
|
|
|
codeIndex:qrcode.length-1 |
|
|
|
@ -119,6 +120,7 @@ Page({ |
|
|
|
codeIndex:codeIndex-1 |
|
|
|
}) |
|
|
|
} |
|
|
|
console.log(codeIndex) |
|
|
|
}, |
|
|
|
nextCodeImg:function(){ |
|
|
|
console.log(this.data.codeImgs); |
|
|
|
|