Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
Project
Project
Details
Activity
Releases
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
android
uniapp_vedio
Commits
6b6fc4fb
Commit
6b6fc4fb
authored
Nov 13, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
6f528c20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
newVideoDetail.vue
vedio/pagesC/video/newVideoDetail.vue
+8
-8
No files found.
vedio/pagesC/video/newVideoDetail.vue
View file @
6b6fc4fb
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
onShow
()
{
onShow
()
{
// 从VIP页面返回关闭弹框
// 从VIP页面返回关闭弹框
this
.
down
()
this
.
down
()
this
.
getData
()
//
this.getData()
},
},
methods
:
{
methods
:
{
paySuccess
()
{
paySuccess
()
{
...
@@ -218,12 +218,12 @@
...
@@ -218,12 +218,12 @@
navigateTo
(
`/pagesA/vipPay/vipPay`
)
navigateTo
(
`/pagesA/vipPay/vipPay`
)
},
},
timeupdate
(
event
)
{
timeupdate
(
event
)
{
//
if (event.detail.currentTime > 0 && this.originList[this.originIndex].lock) {
//
自动播放下一集
// uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).seek(0);
if
(
event
.
detail
.
currentTime
>
0
&&
this
.
originList
[
this
.
originIndex
].
lock
)
{
// uni.createVideoContext('' + this.originList[this.originIndex].vedioId, this).pause(
);
uni
.
createVideoContext
(
''
+
this
.
originList
[
this
.
originIndex
].
vedioId
,
this
).
seek
(
0
);
uni
.
createVideoContext
(
''
+
this
.
originList
[
this
.
originIndex
].
vedioId
,
this
).
pause
();
//
this.unlock(this.originIndex)
this
.
unlock
(
this
.
originIndex
)
//
}
}
},
},
selectThisVideo
(
index
)
{
selectThisVideo
(
index
)
{
this
.
down
();
this
.
down
();
...
@@ -357,7 +357,7 @@
...
@@ -357,7 +357,7 @@
];
];
this
.
displaySwiperList
=
displayList
;
this
.
displaySwiperList
=
displayList
;
audo
.
pause
()
//
audo.pause()
if
(
this
.
oid
>=
this
.
originList
.
length
)
{
if
(
this
.
oid
>=
this
.
originList
.
length
)
{
this
.
oid
=
0
this
.
oid
=
0
...
...
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