Commit 7ff86844 by 程智春

海报分享

parent 9881bfa6
......@@ -226,6 +226,7 @@ export default {
}
},
getMessage(res) {
console.log(res)
let len = res.target.data.length - 1;
console.log(res, "h5消息", res.target.data[len]);
this.shareShopName = res.target.data[len].shareShopName || "";
......@@ -235,7 +236,7 @@ export default {
this.shareOrderSn = res.target.data[len].orderSn;
this.shareTid = res.target.data[len].shareTid;
this.shareImgUrl = res.target.data[len].shareImgUrl;
console.log("分享信息:", this.shareLogoUrl, this.shareShopName);
console.log("分享信息:", this.shareLogoUrl, this.shareShopName,this.shareImgUrl);
},
checkPageUrl(val) {
for (let i = 0; i < this.sharePageList.length; i++) {
......@@ -250,6 +251,7 @@ export default {
console.log("卸载----------------", this.options);
},
onShareAppMessage(res) {
console.log(res)
console.log(
this.shareShopName,
"share",
......@@ -257,7 +259,7 @@ export default {
"0000",
this.shareLogoUrl
);
let url = res.shareImgUrl;
let url = this.shareImgUrl;
//分享页面去掉登录态
if (url.indexOf("sessionid") > -1) {
url = url.split("?")[0] + "?mixid=" + this.shopId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment