Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mini-program-wepy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mini-program-wepy
Commits
c31eedea
Commit
c31eedea
authored
Jul 15, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"style: lint修复"
parent
616867c9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.eslintcache
.eslintcache
+1
-1
video.wpy
src/components/custom/video.wpy
+1
-1
No files found.
.eslintcache
View file @
c31eedea
This diff is collapsed.
Click to expand it.
src/components/custom/video.wpy
View file @
c31eedea
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
// 滑动到当前元素时,其他video都暂停,只播放当前video
// 滑动到当前元素时,其他video都暂停,只播放当前video
this._videoContexts.forEach(function (ctx, index) {
this._videoContexts.forEach(function (ctx, index) {
if (ctx) {
if (ctx) {
const showType = that.curQueue[current] && that.curQueue[current].showType && that.curQueue[current].showType.value == 2;
const showType = that.curQueue[current] && that.curQueue[current].showType && that.curQueue[current].showType.value ==
=
2;
if (index === current || showType) {
if (index === current || showType) {
ctx.play();
ctx.play();
} else {
} else {
...
...
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