Commit 7ff86844 by 程智春

海报分享

parent 9881bfa6
...@@ -226,6 +226,7 @@ export default { ...@@ -226,6 +226,7 @@ export default {
} }
}, },
getMessage(res) { getMessage(res) {
console.log(res)
let len = res.target.data.length - 1; let len = res.target.data.length - 1;
console.log(res, "h5消息", res.target.data[len]); console.log(res, "h5消息", res.target.data[len]);
this.shareShopName = res.target.data[len].shareShopName || ""; this.shareShopName = res.target.data[len].shareShopName || "";
...@@ -235,7 +236,7 @@ export default { ...@@ -235,7 +236,7 @@ export default {
this.shareOrderSn = res.target.data[len].orderSn; this.shareOrderSn = res.target.data[len].orderSn;
this.shareTid = res.target.data[len].shareTid; this.shareTid = res.target.data[len].shareTid;
this.shareImgUrl = res.target.data[len].shareImgUrl; this.shareImgUrl = res.target.data[len].shareImgUrl;
console.log("分享信息:", this.shareLogoUrl, this.shareShopName); console.log("分享信息:", this.shareLogoUrl, this.shareShopName,this.shareImgUrl);
}, },
checkPageUrl(val) { checkPageUrl(val) {
for (let i = 0; i < this.sharePageList.length; i++) { for (let i = 0; i < this.sharePageList.length; i++) {
...@@ -250,6 +251,7 @@ export default { ...@@ -250,6 +251,7 @@ export default {
console.log("卸载----------------", this.options); console.log("卸载----------------", this.options);
}, },
onShareAppMessage(res) { onShareAppMessage(res) {
console.log(res)
console.log( console.log(
this.shareShopName, this.shareShopName,
"share", "share",
...@@ -257,7 +259,7 @@ export default { ...@@ -257,7 +259,7 @@ export default {
"0000", "0000",
this.shareLogoUrl this.shareLogoUrl
); );
let url = res.shareImgUrl; let url = this.shareImgUrl;
//分享页面去掉登录态 //分享页面去掉登录态
if (url.indexOf("sessionid") > -1) { if (url.indexOf("sessionid") > -1) {
url = url.split("?")[0] + "?mixid=" + this.shopId; 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