Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
a9b21d67
Commit
a9b21d67
authored
Nov 04, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享
parent
15110286
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shareActCmpt.vue
src/components/shareActCmpt.vue
+1
-1
detail.vue
src/views/mobile/article/detail.vue
+2
-2
No files found.
src/components/shareActCmpt.vue
View file @
a9b21d67
...
...
@@ -320,7 +320,7 @@
link
:
document
.
location
.
href
+
"&rDeviceId="
+
that
.
publicFun
.
getCookie
(
"getGuid32"
)
+
"&rEmpId="
+
(
that
.
userInfo
?
that
.
userInfo
.
empId
:
undefined
)
+
"&rTargetType=1"
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
this
.
documentFront
+
"/public/articleShare
Logo401.pn
g"
,
// 分享图标
imgUrl
:
this
.
documentFront
+
"/public/articleShare
Icon.jp
g"
,
// 分享图标
type
:
''
,
// 分享类型,music、video或link,不填默认为link
...
...
src/views/mobile/article/detail.vue
View file @
a9b21d67
...
...
@@ -390,7 +390,7 @@
this
.
configVal
=
{
title
:
this
.
articleInfo
.
contentTitle
,
desc
:
this
.
articleInfo
.
contentValidity
,
img
:
this
.
frontImgUrl
+
"/public/articleShare
Logo401.pn
g"
,
img
:
this
.
frontImgUrl
+
"/public/articleShare
Icon.jp
g"
,
link
:
document
.
location
.
href
+
"&rDeviceId="
+
this
.
publicFun
.
getCookie
(
"getGuid32"
)
+
"&rEmpId="
+
(
this
.
userInfo
?
this
.
userInfo
.
empId
:
undefined
)
+
"&rTargetType="
}
if
(
Object
.
keys
(
this
.
configVal
).
length
!=
0
){
...
...
@@ -872,7 +872,7 @@
link
:
document
.
location
.
href
+
"&rDeviceId="
+
that
.
publicFun
.
getCookie
(
"getGuid32"
)
+
"&rEmpId="
+
(
that
.
userInfo
?
that
.
userInfo
.
empId
:
undefined
)
+
"&rTargetType=1"
,
// 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl
:
this
.
frontImgUrl
+
"/public/articleShare
Logo401.pn
g"
,
// 分享图标
imgUrl
:
this
.
frontImgUrl
+
"/public/articleShare
Icon.jp
g"
,
// 分享图标
success
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment