Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-psd
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 d44c5938
authored
Dec 24, 2022
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改detail
1 parent
342b2c98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
src/views/psd/detail.vue
src/views/psd/detail.vue
View file @
d44c593
...
@@ -36,7 +36,7 @@ import { marketingApi } from '@/api'
...
@@ -36,7 +36,7 @@ import { marketingApi } from '@/api'
import
{
shareMixin
}
from
'@/mixins'
import
{
shareMixin
}
from
'@/mixins'
export
default
{
export
default
{
mixins
:
[
shareMixin
],
mixins
:
[
shareMixin
],
name
:
''
,
name
:
'
detail
'
,
data
()
{
data
()
{
return
{
return
{
curIdx
:
0
,
curIdx
:
0
,
...
@@ -52,21 +52,20 @@ export default {
...
@@ -52,21 +52,20 @@ export default {
this
.
getDetail
(
id
)
this
.
getDetail
(
id
)
},
},
mounted
()
{
mounted
()
{
try
{
if
(
!
this
.
info
.
videoUrl
)
return
if
(
!
this
.
info
.
videoUrl
)
return
const
video
=
document
.
getElementById
(
'swiper_video'
)
const
video
=
document
.
getElementById
(
'swiper_video'
)
video
.
addEventListener
(
'play'
,
()
=>
{
if
(
video
)
{
this
.
autoplay
=
0
video
.
addEventListener
(
'play'
,
()
=>
{
})
this
.
autoplay
=
0
video
.
addEventListener
(
'pause'
,
()
=>
{
})
this
.
autoplay
=
3000
video
.
addEventListener
(
'pause'
,
()
=>
{
})
this
.
autoplay
=
3000
video
.
addEventListener
(
'ended'
,
()
=>
{
})
this
.
autoplay
=
3000
video
.
addEventListener
(
'ended'
,
()
=>
{
},
false
)
this
.
autoplay
=
3000
}
catch
(
error
)
{
},
false
)
console
.
log
(
'监听失败'
,
error
)
}
}
},
},
methods
:
{
methods
:
{
changeSwiper
(
idx
)
{
changeSwiper
(
idx
)
{
...
...
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