|
|
|
@ -132,21 +132,21 @@ |
|
|
|
this.getFavourite() |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
console.log('=======11111=======',options) |
|
|
|
if (options.scene) { |
|
|
|
// 单个参数 |
|
|
|
let str = decodeURIComponent(options.scene); |
|
|
|
let obj = this.parseData(str); |
|
|
|
console.log('==============',str) |
|
|
|
return |
|
|
|
if (obj.type == 'de_qr') { |
|
|
|
this.click_type = 'department_qr'; |
|
|
|
this.qr_id = obj.first_id; |
|
|
|
}else if(obj.type == 'sp_qr'){ |
|
|
|
this.click_type = 'special_qr'; |
|
|
|
this.qr_id = obj.special_id; |
|
|
|
} |
|
|
|
} |
|
|
|
// console.log('=======11111=======',options) |
|
|
|
// if (options.scene) { |
|
|
|
// // 单个参数 |
|
|
|
// let str = decodeURIComponent(options.scene); |
|
|
|
// let obj = this.parseData(str); |
|
|
|
// console.log('==============',str) |
|
|
|
// return |
|
|
|
// if (obj.type == 'de_qr') { |
|
|
|
// this.click_type = 'department_qr'; |
|
|
|
// this.qr_id = obj.first_id; |
|
|
|
// }else if(obj.type == 'sp_qr'){ |
|
|
|
// this.click_type = 'special_qr'; |
|
|
|
// this.qr_id = obj.special_id; |
|
|
|
// } |
|
|
|
// } |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
//获取猜你喜欢 |
|
|
|
|