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
573ba4a4
Commit
573ba4a4
authored
May 12, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
abe7e4ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
87 deletions
+33
-87
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
+33
-87
No files found.
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
View file @
573ba4a4
...
...
@@ -3,83 +3,39 @@
<link
rel=
"stylesheet"
href=
"__THEMEW3G__/css/idnger_swiper.css"
>
<script
src=
"__THEME__/js/jquery.SuperSlide.2.1.1.js"
charset=
"utf-8"
></script>
<script
src=
"__THEMEW3G__/js/idenger_swiper.js"
charset=
"utf-8"
></script>
<div
class=
"min-height-wrap"
>
<!--banner start-->
<div
class=
"device"
>
<div
class=
"swiper-container"
>
<div
class=
"swiper-wrapper"
>
<volist
name=
"ad_list"
id=
"adlt"
>
<div
class=
"swiper-slide"
>
<a
href=
"{$adlt['bannerurl']}"
title=
"{$adlt['banner_title']}"
>
<img
src=
"{:getCover($adlt['banner'],720,300)}"
alt=
"{$adlt['banner_title']}"
>
</a>
</div>
</volist>
</div>
</div>
<div
class=
"pagination"
></div>
</div>
<div
id=
"vueHome"
class=
"min-height-wrap"
>
<!--search-->
<a
href=
"{:U('classroom/Index/search')}"
>
<van-search
style=
"padding-bottom: 0 !important;"
left-icon=
"__THEME__/img/serch@3x.png"
readonly
shape=
"round"
background=
"#ffffff"
placeholder=
"搜索课程..."
>
</van-search>
</a>
<volist
name=
"config_index.item"
id=
"item_name"
>
<eq
name=
"item_name"
value=
"live_new"
>
<!-- 直播预告 -->
<if
condition=
"$live_list and count($live_list)"
>
<div
class=
"plate"
>
<div
class=
"nim-plate"
>
<div
class=
"titile"
>
<h3>
直播预告
<a
href=
"{:U('course/Video/index', array('vtype'=>2))}"
>
更多>
</a></h3>
</div>
<div
class=
"live-content"
>
<volist
name=
"live_list"
id=
"le"
offset=
"0"
length=
'1'
>
<volist
name=
"le"
id=
"vo"
offset=
"0"
length=
'3'
>
<a
class=
"live-a"
href=
"{:U('live/Index/view',array('id'=>$vo['id']))}"
>
<div
class=
"live-item"
>
<img
class=
"lazyload"
data-original=
"{:getCover($vo['cover'] ,580 , 320 )}"
alt=
""
>
<div
class=
"live-box"
>
<div
class=
"live-text-cont"
>
<p>
直播中
<img
src=
'__APP__/images/gif_live.gif'
alt=
""
></p>
<p>
{$vo['video_title']}
</p>
</div>
</div>
</div>
</a>
</volist>
</volist>
</div>
</div>
</div>
</if>
</eq>
<eq
name=
"item_name"
value=
"category"
>
<!-- 分类 -->
<div
class=
"plate"
>
<div
class=
"nim-plate"
>
<div
class=
"titile"
>
<h3>
课程分类
<a
href=
"{:U('course/Video/index')}"
>
更多>
</a></h3>
</div>
<div
class=
"fenlei-content clearfix"
>
<volist
name=
"re_cate"
id=
"vo"
offset=
"0"
length=
'8'
>
<a
class=
"fenlei-a"
href=
"{:U('course/Video/index',array('cateId'=>$vo['full_cate']))}"
>
<div
class=
"fenlei-item"
style=
"text-align: center;"
>
<img
class=
"lazyload"
data-original=
"{:getCover($vo['middle_ids'],50,50)}"
alt=
"{$vo.title}"
>
<p>
{$vo['title']}
</p>
</div>
</a>
</volist>
</div>
</div>
</div>
</eq>
<eq
name=
"item_name"
value=
"ad_banner"
>
<!-- 中部广告位-->
<volist
name=
"ad_mid_list"
id=
"vo"
>
<div
class=
"plate jubu-banner"
>
<a
href=
"{$vo['bannerurl']}"
title=
"{$vo['banner_title']}"
>
<img
class=
"lazyload"
data-original=
"{:getCover($vo['banner'],720,200)}"
alt=
"{$vo['banner_title']}"
>
</a>
</div>
</volist>
<div
class=
"layout_h scroll_h"
>
<volist
name=
"re_cate"
id=
"vo"
offset=
"0"
length=
'8'
>
<div
class=
"layout_center"
>
<a
href=
"{:U('course/Video/index',array('cateId'=>$vo['full_cate']))}"
>
<div
class=
"layout_v"
style=
"width: 5.375rem;"
>
<van-image
class=
"self_center"
height=
"45"
width=
"45"
src=
"{:getCover($vo['middle_ids'],45,45)}"
>
</van-image>
<span
class=
"text_12_400 color_333333 self_center"
style=
"margin-top: 0.125rem;"
>
{$vo['title']}
</span>
</div>
</a>
</div>
</volist>
</div>
</eq>
<eq
name=
"item_name"
value=
"bestCourse_new"
>
...
...
@@ -242,18 +198,7 @@
<include
file=
"__THEME__/public_footer_w3g"
/>
<script
type=
"text/javascript"
>
$
(
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
,
});
new
Vue
({
el
:
'#vueHome'
})
</script>
\ No newline at end of file
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