Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
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 f5764291
authored
Jan 20, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
分享增加广汇
1 parent
f881c0b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/mixins/shareMixin.js
src/mixins/shareMixin.js
View file @
f576429
...
@@ -63,7 +63,7 @@ export default {
...
@@ -63,7 +63,7 @@ export default {
}
else
{
}
else
{
this
.
couponShare
(
i
,
url
=>
{
this
.
couponShare
(
i
,
url
=>
{
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
appid
:
shopmall_appId
,
appid
:
channelType
==
1
?
shopmall_appId
:
'wxfe82b8d65d07808f'
,
title
:
`
${
couponName
}
(
${
window
.
$discountType
[
discountType
]}
券)`
,
title
:
`
${
couponName
}
(
${
window
.
$discountType
[
discountType
]}
券)`
,
imgUrl
,
imgUrl
,
page
:
`/packageMall/pages/coupon/coupon.html?couponId=
${
id
}
&merchantId=
${
merchantId
}
&issueName=
${
this
.
toUnicode
(
userName
)}
&issueDate=
${
new
Date
().
getTime
()}
`
page
:
`/packageMall/pages/coupon/coupon.html?couponId=
${
id
}
&merchantId=
${
merchantId
}
&issueName=
${
this
.
toUnicode
(
userName
)}
&issueDate=
${
new
Date
().
getTime
()}
`
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
if
(
tabIndex
==
0
)
{
if
(
tabIndex
==
0
)
{
let
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-ms-10004.png'
let
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-ms-10004.png'
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
appid
:
shopmall_appId
,
appid
:
channelType
==
1
?
shopmall_appId
:
'wxfe82b8d65d07808f'
,
title
:
activityName
,
title
:
activityName
,
imgUrl
,
imgUrl
,
page
:
`/packageMall/pages/detail/detail.html?isActivity=true&id=
${
id
}
&merchantId=
${
merchantId
}
`
page
:
`/packageMall/pages/detail/detail.html?isActivity=true&id=
${
id
}
&merchantId=
${
merchantId
}
`
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
let
query
=
`merchantId=
${
merchantId
}
`
let
query
=
`merchantId=
${
merchantId
}
`
const
imgUrl
=
'https://img01.glsx.com.cn/weapp/resource/scrm-mobile/activity/miniprogram-cover.jpg'
const
imgUrl
=
'https://img01.glsx.com.cn/weapp/resource/scrm-mobile/activity/miniprogram-cover.jpg'
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
appid
:
shopmall_appId
,
appid
:
channelType
==
1
?
shopmall_appId
:
'wxfe82b8d65d07808f'
,
title
:
merchantName
,
title
:
merchantName
,
imgUrl
,
imgUrl
,
page
:
`/
${
path
}
.html?
${
query
}
`
page
:
`/
${
path
}
.html?
${
query
}
`
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
.
createMiniprogramUrlLink
({
.
createMiniprogramUrlLink
({
path
,
path
,
query
:
encodeURIComponent
(
query
),
query
:
encodeURIComponent
(
query
),
appId
:
shopmall_appId
appId
:
channelType
==
1
?
shopmall_appId
:
'wxfe82b8d65d07808f'
})
})
.
then
(
url
=>
{
.
then
(
url
=>
{
this
.
shareAppMessage
(
url
,
''
,
merchantName
,
imgUrl
)
this
.
shareAppMessage
(
url
,
''
,
merchantName
,
imgUrl
)
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
}
else
if
(
tabIndex
==
1
)
{
}
else
if
(
tabIndex
==
1
)
{
let
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-qy-10004.png'
let
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-qy-10004.png'
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
appid
:
shopmall_appId
,
appid
:
channelType
==
1
?
shopmall_appId
:
'wxfe82b8d65d07808f'
,
title
:
packageName
,
title
:
packageName
,
imgUrl
,
imgUrl
,
page
:
`/packageEquity/pages/package/package.html?id=
${
id
}
&merchantId=
${
merchantId
}
`
page
:
`/packageEquity/pages/package/package.html?id=
${
id
}
&merchantId=
${
merchantId
}
`
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
})
})
}
else
{
}
else
{
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
appid
:
shopmall_appId
,
appid
:
channelType
==
1
?
shopmall_appId
:
'wxfe82b8d65d07808f'
,
title
:
goodsName
,
title
:
goodsName
,
imgUrl
:
goodsImage
,
imgUrl
:
goodsImage
,
page
:
`/packageMall/pages/detail/detail.html?id=
${
id
}
&merchantId=
${
merchantId
}
`
page
:
`/packageMall/pages/detail/detail.html?id=
${
id
}
&merchantId=
${
merchantId
}
`
...
...
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