Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-group-course
Overview
Overview
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
黄志
ydl-group-course
Commits
f290c6ef
Commit
f290c6ef
authored
Apr 08, 2023
by
huangzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 分享ok
parent
ba96cdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
web.vue
src/pages/web/web.vue
+11
-1
No files found.
src/pages/web/web.vue
View file @
f290c6ef
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
<
script
>
<
script
>
import
{
hostPrefix
}
from
'@/config.js'
import
{
hostPrefix
}
from
'@/config.js'
import
{
ffrom
}
from
'@/utils/enums'
import
{
ffrom
}
from
'@/utils/enums'
import
qs
from
'qs'
export
default
{
export
default
{
name
:
'WebPage'
,
name
:
'WebPage'
,
...
@@ -71,6 +70,17 @@ export default {
...
@@ -71,6 +70,17 @@ export default {
}
}
}
}
},
},
watch
:
{
loadUrl
:
{
handler
(
url
)
{
// 课程详情时不隐藏,其他都隐藏
if
(
url
&&
url
.
includes
(
'h5-course/detail'
))
{
return
}
uni
.
hideShareMenu
()
},
},
},
mounted
()
{
mounted
()
{
// this.options.scene 无值,说明是非扫描二维码,此时自己拼装路径
// this.options.scene 无值,说明是非扫描二维码,此时自己拼装路径
if
(
!
this
.
options
.
scene
)
{
if
(
!
this
.
options
.
scene
)
{
...
...
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