Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
9ea80d90
Commit
9ea80d90
authored
May 12, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
0de24af9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
apps/classroom/Tpl/default/Index/theme_x1_w3g.html
+48
-0
No files found.
apps/classroom/Tpl/default/Index/theme_x1_w3g.html
View file @
9ea80d90
...
...
@@ -184,4 +184,52 @@
el
:
'#vueHome'
})
$
(
document
).
ready
(
function
(){
$
(
".nav_list ul li:eq(0)"
).
addClass
(
"on"
);
});
$
(
function
(){
//banner
var
mySwiper
=
new
Swiper
(
'.swiper-container'
,{
pagination
:
'.pagination'
,
loop
:
true
,
grabCursor
:
true
,
paginationClickable
:
false
,
autoplayDisableOnInteraction
:
false
,
autoplay
:
4000
,
})
/*直播预告*/
$
(
".live-date li:first"
).
css
(
"color"
,
"#00BED4"
);
$
(
".live-date li i:first"
).
css
(
"color"
,
"#00BED4"
);
$
(
".live-data:first"
).
show
();
$
(
".live-date li"
).
on
(
"click"
,
function
(){
$
(
this
).
css
(
"color"
,
"#00BED4"
).
siblings
().
css
(
"color"
,
"#656565"
);
var
liKey
=
$
(
this
).
index
();
$
(
".live-date li i"
).
css
(
"color"
,
"#e5e5e5"
);
$
(
".live-date li i"
).
eq
(
liKey
).
css
(
"color"
,
"#00BED4"
);
$
(
".live-data"
).
fadeOut
(
200
).
hide
();
$
(
".live-data"
).
eq
(
liKey
).
fadeIn
(
200
).
show
();
})
$
(
window
).
on
(
"ready"
,
function
(){
$
(
".live-content li:last-child"
).
css
(
"border"
,
"none"
)
})
/*热门资讯*/
$
(
".slideTxtBox"
).
slide
({
autoPlay
:
true
,
delayTime
:
500
,
easing
:
"easeInQuint"
,
effect
:
"left"
,
pnLoop
:
true
,
interTime
:
5000
});
var
lis
=
$
(
".live-list li"
).
siblings
();
for
(
var
i
=
0
;
i
<
lis
.
length
;
i
++
){
if
((
i
+
1
)
%
2
==
0
){
lis
.
eq
(
i
).
css
(
"float"
,
"right"
);
}
}
})
</script>
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