Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 28b2ad7a
authored
Jun 08, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
a72d89d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
packagesList/packageDiscovery/pages/productDetail/productDetail.js
packagesList/packageDiscovery/pages/productDetail/productDetail.js
View file @
28b2ad7
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment