Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl_help
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Max
gl_help
Commits
a371c696
Commit
a371c696
authored
1 year ago
by
何毅恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c
parent
3dca1b68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
15 deletions
+19
-15
src/pages/mobile/articleDetails/index.vue
src/pages/mobile/articleDetails/index.vue
+9
-7
src/pages/mobile/index.vue
src/pages/mobile/index.vue
+10
-8
No files found.
src/pages/mobile/articleDetails/index.vue
View file @
a371c696
...
...
@@ -62,13 +62,15 @@ const downLoad = () => {
};
// jssdk 微信分享
const
wxJssdk
=
()
=>
{
let
obj
=
{
title
:
informationDetail
.
value
.
title
,
link
:
"
https://testhelp.gelifood.com/index.html#/articleDetails?id=
"
+
id
,
desc
:
""
,
imgUrl
:
"
../../assets/img/helpImg.png
"
,
};
globalProperties
.
$wx
.
wxShare
(
obj
);
if
(
globalProperties
.
$wx
.
isWeixin
())
{
let
obj
=
{
title
:
informationDetail
.
value
.
title
,
link
:
"
https://testhelp.gelifood.com/index.html#/articleDetails?id=
"
+
id
,
desc
:
""
,
imgUrl
:
"
../../assets/img/helpImg.png
"
,
};
globalProperties
.
$wx
.
wxShare
(
obj
);
}
};
</
script
>
<
style
scoped
lang=
'scss'
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/mobile/index.vue
View file @
a371c696
...
...
@@ -123,7 +123,7 @@ let informationListParam = ref({
category_id_1
:
""
,
// 1级分类id
category_id_2
:
""
,
// 2级分类id
title
:
""
,
//
is_show
:
1
is_show
:
1
,
});
let
informationList
=
ref
([]);
const
getInformationList
=
async
()
=>
{
...
...
@@ -143,13 +143,15 @@ const selectSecondClassifyItem = (row) => {
// jssdk 微信分享
const
wxJssdk
=
()
=>
{
let
obj
=
{
title
:
"
帮助中心
"
,
link
:
"
https://testhelp.gelifood.com/index.html
"
,
desc
:
""
,
imgUrl
:
"
../../assets/img/helpImg.png
"
,
};
globalProperties
.
$wx
.
wxShare
(
obj
);
if
(
globalProperties
.
$wx
.
isWeixin
())
{
let
obj
=
{
title
:
"
帮助中心
"
,
link
:
"
https://testhelp.gelifood.com/index.html
"
,
desc
:
""
,
imgUrl
:
"
../../assets/img/helpImg.png
"
,
};
globalProperties
.
$wx
.
wxShare
(
obj
);
}
};
const
value
=
ref
(
""
);
...
...
This diff is collapsed.
Click to expand it.
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