onLoad: function (options) {
// 分享过来推荐码
if (options && options.qrCodeUuid) {
app.qrCodeUuid = options.qrCodeUuid
app.cityCode=options.areaCode
this.getShareProducts(options.productUuid) //页面逻辑
this.getOnlyProduct(options.qrCodeUuid) //页面逻辑
}
//扫描二维码
if (options && options.scene) {
let scene = decodeURIComponent(options.scene)
this.getProducts(scene) //页面逻辑
}