Commit 28b2ad7a by 王志慧

commit

1 parent a72d89d9
...@@ -121,9 +121,13 @@ Page({ ...@@ -121,9 +121,13 @@ Page({
setTimeout(() => { setTimeout(() => {
utils.setNavigationBarTitle(proData?.proName) utils.setNavigationBarTitle(proData?.proName)
}, 100) }, 100)
// 设置转发标题
let userInfoObj = wx.$storage.get("userInfo");
// #服务商账号#取该分享者商户的联系人字段,无则取商户简称,无则取商户全称
let name = userInfoObj.merchantName;
// this.shareQuery = `sceneCode=${sceneObj.sceneCode}&productCode=${proInfo?.productCode}&isShare=${true}&productDesc=${proInfo?.productName}&category=${proInfo?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}&sharephone=${sharephone}` // this.shareQuery = `sceneCode=${sceneObj.sceneCode}&productCode=${proInfo?.productCode}&isShare=${true}&productDesc=${proInfo?.productName}&category=${proInfo?.category}&actNum=${actNum}&activeNavIdx=${activeNavIdx}&sharephone=${sharephone}`
this.shareQuery = `id=${id}&sceneCode=${sceneCode}&productCode=${proData?.productCode}&isShare=${true}&sharephone=${sharephone}` this.shareQuery = `id=${id}&sceneCode=${sceneCode}&productCode=${proData?.productCode}&isShare=${true}&sharephone=${sharephone}`
this.shareTitle = `${name || ''}给你分享一个活动${proData?.proName},戳我参与~`;
this.shareAppMessage = { this.shareAppMessage = {
title: this.shareTitle, title: this.shareTitle,
path: `/${this.route}?${this.shareQuery}`, path: `/${this.route}?${this.shareQuery}`,
...@@ -244,7 +248,7 @@ Page({ ...@@ -244,7 +248,7 @@ Page({
let { let {
productData productData
} = this.data } = this.data
if(productData){ if (productData) {
setTimeout(() => { setTimeout(() => {
utils.setNavigationBarTitle(productData.proName) utils.setNavigationBarTitle(productData.proName)
}, 100) }, 100)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!