|
|
@ -86,7 +86,7 @@ var locationUrl = configs.locationUrl; |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
uniqueId:'', |
|
|
|
|
|
|
|
|
uniqueId:this.$route.query.uniqueId, |
|
|
loading: false, |
|
|
loading: false, |
|
|
getData: {}, |
|
|
getData: {}, |
|
|
couponType: { |
|
|
couponType: { |
|
|
@ -185,11 +185,13 @@ export default { |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId |
|
|
let uuniqueId = Qs.parse(location.search.substring(1)).uniqueId |
|
|
if(uuniqueId !== undefined && uuniqueId !== null && uuniqueId !== ""){ |
|
|
|
|
|
this.uniqueId =uuniqueId |
|
|
|
|
|
|
|
|
var url = location.href |
|
|
|
|
|
if(this.uniqueId !== undefined && this.uniqueId !== null && this.uniqueId !== ""){ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
// 初始化 |
|
|
// 初始化 |
|
|
this.handleInit(); |
|
|
this.handleInit(); |
|
|
|
|
|
console.log('uniqueId:'+ this.uniqueId) |
|
|
this.wxShare({ |
|
|
this.wxShare({ |
|
|
couponNo: this.batchNo, |
|
|
couponNo: this.batchNo, |
|
|
source: 20, |
|
|
source: 20, |
|
|
|