|
@@ -47,6 +47,18 @@ Page({ |
|
|
//// 大屏-二维码-end |
|
|
//// 大屏-二维码-end |
|
|
else if (this.data.newArr[0] == 't') { |
|
|
else if (this.data.newArr[0] == 't') { |
|
|
// 普通二维码 |
|
|
// 普通二维码 |
|
|
|
|
|
options.type = this.data.newArr[1]; |
|
|
|
|
|
app.globalData.type = options.type; |
|
|
|
|
|
if(options.type == 'cd') { |
|
|
|
|
|
options.couponChannelId = this.data.newArr[2]; |
|
|
|
|
|
} else if (options.type == 'bd') { |
|
|
|
|
|
options.bt = this.data.newArr[2]; |
|
|
|
|
|
options.id = this.data.newArr[3]; |
|
|
|
|
|
} else if (options.type == 'gm') { |
|
|
|
|
|
options.id = this.data.newArr[2]; |
|
|
|
|
|
} else if (options.type == 'sd') { |
|
|
|
|
|
options.couponChannelId = this.data.newArr[2]; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|