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
15307067
Commit
15307067
authored
May 12, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
2a7bad91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
42 deletions
+45
-42
apps/classroom/Tpl/default/Index/theme_x1_w3g.html
+45
-42
No files found.
apps/classroom/Tpl/default/Index/theme_x1_w3g.html
View file @
15307067
...
...
@@ -5,6 +5,8 @@
<script
src=
"__THEMEW3G__/js/idenger_swiper.js"
charset=
"utf-8"
></script>
<div
id=
"vueHome"
class=
"min-height-wrap"
>
<!--search-->
<a
href=
"{:U('classroom/Index/search')}"
>
<van-search
style=
"padding-bottom: 0 !important;"
...
...
@@ -12,8 +14,8 @@
readonly
shape=
"round"
background=
"#ffffff"
placeholder=
"搜索课程..."
>
</van-search>
placeholder=
"搜索课程..."
>
</van-search>
</a>
<!--banner start-->
...
...
@@ -185,48 +187,49 @@
$
(
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
();
})
$
(
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"
)
})
$
(
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
});
/*热门资讯*/
$
(
".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"
);
}
}
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