Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
d3e6245e
Commit
d3e6245e
authored
May 11, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
db908545
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
index.js
src/pages/websiteindex/index.js
+1
-1
onlineclassroomplay.js
src/pages/websiteindex/onlineclassroomplay.js
+2
-2
No files found.
src/pages/websiteindex/index.js
View file @
d3e6245e
...
...
@@ -357,7 +357,7 @@ Page({
let
that
=
this
let
scrollTop
=
e
.
scrollTop
;
if
(
that
.
data
.
websiteCourses
&&
that
.
data
.
websiteCourses
.
switch
==
1
){
if
(
scrollTop
>=
8
00
)
{
if
(
scrollTop
>=
3
00
)
{
// 当页面顶端距离大于一定高度时
this
.
setData
({
fixBtnShow
:
true
...
...
src/pages/websiteindex/onlineclassroomplay.js
View file @
d3e6245e
...
...
@@ -1180,8 +1180,8 @@ audioStorage[value].isWaiting = true;
prevContentImg
(
e
)
{
const
{
dataset
}
=
e
.
currentTarget
;
const
current
=
dataset
.
src
;
console
.
log
(
current
,
'当前'
);
let
type
=
current
.
indexOf
(
'pdf'
)
!=-
1
?
'media'
:
''
;
// 4ppt/ 5pdf
let
type
=
(
this
.
data
.
coursesDetail
.
content
.
type
==
4
||
this
.
data
.
coursesDetail
.
content
.
type
==
5
)
?
'media'
:
''
;
const
images
=
this
.
data
.
coursesDetail
.
content
.
images
;
wxPreviewImage
({
urls
:
images
,
...
...
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