Commit 5063779f by 陈超

T

parent 47bffac2
<include file="__THEME__/public_header_w3g" /> <include file="__THEME__/public_header_w3g" />
<link rel="stylesheet" href="__APP__/css/index_x7_3g.css"> <div id="app">
<link rel="stylesheet" href="__THEMEW3G__/css/idnger_swiper.css"> <div class="layout_v tab_container">
<script src="__THEME__/js/jquery.SuperSlide.2.1.1.js" charset="utf-8"></script> <!--search-->
<script src="__THEMEW3G__/js/idenger_swiper.js" charset="utf-8"></script> <a href="{:U('classroom/Index/search')}">
<div id="vueHome" class="min-height-wrap"> <van-search style="padding-bottom: 0 !important;" left-icon="__THEME__/img/serch@3x.png" readonly shape="round"
<!--search--> background="#ffffff" placeholder="搜索课程...">
<a href="{:U('classroom/Index/search')}"> </van-search>
<van-search style="padding-bottom: 0 !important;" left-icon="__THEME__/img/serch@3x.png" readonly shape="round" </a>
background="#ffffff" placeholder="搜索课程...">
</van-search> <!--banner start-->
</a> <van-swipe class="home_swapper" indicator-color="white">
<volist name="ad_list" id="adlt">
<!--banner start--> <van-swipe-item>
<van-swipe class="home_swapper" indicator-color="white"> <a class="home_swapper_image" href="{$adlt['bannerurl']}" title="{$adlt['banner_title']}">
<volist name="ad_list" id="adlt"> <van-image width="100%" height="100%" fit="cover" src="{:getCover($adlt['banner'],720,300)}" />
<van-swipe-item> </a>
<a class="home_swapper_image" href="{$adlt['bannerurl']}" title="{$adlt['banner_title']}"> </van-swipe-item>
<van-image width="100%" height="100%" fit="cover" src="{:getCover($adlt['banner'],720,300)}" /> </volist>
</a> </van-swipe>
</van-swipe-item>
</volist> <volist name="config_index.item" id="item_name">
</van-swipe> <eq name="item_name" value="category">
<!-- 分类 -->
<volist name="config_index.item" id="item_name"> <div class="layout_h scroll_h">
<eq name="item_name" value="category"> <volist name="re_cate" id="vo" offset="0" length='8'>
<!-- 分类 --> <div class="layout_center">
<div class="layout_h scroll_h"> <a href="{:U('course/Video/index',array('cateId'=>$vo['full_cate']))}">
<volist name="re_cate" id="vo" offset="0" length='8'> <div class="layout_v" style="width: 5.375rem;">
<div class="layout_center"> <van-image class="self_center" height="45" width="45" src="{:getCover($vo['middle_ids'],45,45)}">
<a href="{:U('course/Video/index',array('cateId'=>$vo['full_cate']))}"> </van-image>
<div class="layout_v" style="width: 5.375rem;"> <span class="text_12_400 color_333333 self_center" style="margin-top: 0.125rem;">{$vo['title']}</span>
<van-image class="self_center" height="45" width="45" src="{:getCover($vo['middle_ids'],45,45)}"> </div>
</van-image> </a>
<span class="text_12_400 color_333333 self_center" style="margin-top: 0.125rem;">{$vo['title']}</span> </div>
</div> </volist>
</a> </div>
</div> </eq>
</volist>
</div> <eq name="item_name" value="bestCourse_new">
</eq> <!-- 精选课程 -->
<div class="home_list_part" style="margin-top: 2.125rem;">
<eq name="item_name" value="bestCourse_new"> <div class="home_list_header layout_h">
<!-- 精选课程 --> <div class="home_list_header_v_line"></div>
<div class="home_list_part" style="margin-top: 2.125rem;"> <span class="text_16_600 color_333333 self_center" style="margin-left: 0.5rem;">精选课程</span>
<div class="home_list_header layout_h"> <div class="layout_h_r weight_full self_center">
<div class="home_list_header_v_line"></div> <van-icon name="../../img/tiny_right_arrow.png" class="self_center"></van-icon>
<span class="text_16_600 color_333333 self_center" style="margin-left: 0.5rem;">精选课程</span> <a href="{:U('course/Video/index', array('best'=>1))}"><span class="text_12_400 color_999999 self_center">查看全部</span></a>
<div class="layout_h_r weight_full self_center"> </div>
<van-icon name="../../img/tiny_right_arrow.png" class="self_center"></van-icon> </div>
<a href="{:U('course/Video/index', array('best'=>1))}"><span class="text_12_400 color_999999 self_center">查看全部</span></a> </div>
</div>
</div> <div class="layout_v">
</div> <volist name="bestVideo" id="vo" offset="0" length='4'>
<switch name="vo.type">
<div class="layout_v"> <case value="1"><a href="{:U('course/Video/view',array('id'=>$vo['id']))}"></case>
<volist name="bestVideo" id="vo" offset="0" length='4'> <case value="2"><a href="{:U('live/Index/view',array('id'=>$vo['id']))}"></case>
<switch name="vo.type"> <case value="6"><a href="{:U('course/Classes/view',array('id'=>$vo['id']))}"></case>
<case value="1"><a href="{:U('course/Video/view',array('id'=>$vo['id']))}"></case> </switch>
<case value="2"><a href="{:U('live/Index/view',array('id'=>$vo['id']))}"></case> <div class="home_class_item layout_v">
<case value="6"><a href="{:U('course/Classes/view',array('id'=>$vo['id']))}"></case> <div class="layout_h">
</switch> <van-image style="margin-right: 0.75rem;" height="72" width="128" fit="cover" src="{:getCover($vo['cover'] ,580 , 320 )}">
<div class="home_class_item layout_v"> </van-image>
<div class="layout_h"> <div class="weight_full layout_v">
<van-image style="margin-right: 0.75rem;" height="72" width="128" fit="cover" src="{:getCover($vo['cover'] ,580 , 320 )}"> <span class="text_14_600 color_333333 van-multi-ellipsis--l2">{$vo.video_title}</span>
</van-image> <span class="text_14_600 color_FF3B3B" style="margin-top: 0.5rem;">
<div class="weight_full layout_v"> <if condition="$vo['t_price'] eq 0">免费
<span class="text_14_600 color_333333 van-multi-ellipsis--l2">{$vo.video_title}</span> <else />¥{$vo['t_price']}</if>
<span class="text_14_600 color_FF3B3B" style="margin-top: 0.5rem;"> </span>
<if condition="$vo['t_price'] eq 0">免费 <span class="text_12_400 color_999999">
<else />¥{$vo['t_price']}</if> <php>if($marketConf['order_switch'] == 1) {</php>{$vo['video_order_count_mark']}<php>}else{</php>{$vo['video_order_count']}<php>}</php>人正在学习
</span> </span>
<span class="text_12_400 color_999999"> </div>
<php>if($marketConf['order_switch'] == 1) {</php>{$vo['video_order_count_mark']}<php>}else{</php>{$vo['video_order_count']}<php>}</php>人正在学习 </div>
</span> <div class="home_divider divider"></div>
</div> </div>
</div> </a>
<div class="home_divider divider"></div> </volist>
</div> </div>
</a> </eq>
</volist> </volist>
</div>
</eq>
</volist>
<eq name="item_name" value="teacher_new">
<!-- 讲师团队 -->
<div class="plate">
<div class="nim-plate">
<div class="titile">
<h3>讲师团队 <a href="{:U('classroom/Teacher/index')}">更多></a></h3>
</div>
<div class="lecturer-content">
<volist name="teacher" id="tea" offset="0" length="4">
<div class="lecturer-item">
<div class="lecturer-cont">
<a class="headimg" href="{:U('classroom/Teacher/view',array('id'=>$tea['id']))}"><img class="lazyload"
data-original="{:getCover($tea['head_id'],200,200)}" alt=""></a>
<h3>{:t($tea['name'])}</h3>
<p class="techername">{$tea.teacher_title|default='普通讲师'}</p>
<p class="textcont">{:mStr(t($tea['info']),25)}</p>
</div>
</div>
</volist>
</div>
</div>
</div>
</eq>
<eq name="item_name" value="hotTopic_new">
<!-- 热门资讯 -->
<div class="plate">
<div class="nim-plate">
<div class="titile">
<h3>热门资讯 <a href="{:U('news/Topic/index')}">更多></a></h3>
</div>
<div class="plate-content">
<volist name="topic" id="tpc" offset="0" length='5'>
<div class="infoitem">
<a class="info-img" href="{:U('news/Topic/view',array('id'=>$tpc['id']))}"><img class="lazyload" data-original="{:getCover($tpc['image'],580,320)}"
alt=""></a>
<div class="info-text">
<p class="textcont">{$tpc['title']}</p>
<p class="gong"><span class="time">{:date('m-d H:i',$tpc['dateline'])}</span> <span class="zan"><i class="icon icon-browse"></i>{$tpc.readcount}</span></p>
</div>
</div>
</volist>
</div>
</div>
</div> </div>
</eq>
<eq name="item_name" value="newCourse_new">
<!-- 最新课程 -->
<div class="plate">
<div class="nim-plate">
<div class="titile">
<h3>最新课程 <a href="{:U('course/Video/index', array('orderBy'=>'new'))}">更多></a></h3>
</div>
<div class="Selected-content">
<volist name="video" id="vo" offset="0" length='4'>
<switch name="vo.type">
<case value="1">
<a href="{:U('course/Video/view',array('id'=>$vo['id']))}">
<div class="Selected-item">
<a href="{:U('course/Video/view',array('id'=>$vo['id']))}">
<img class="lazyload" data-original="{:getCover($vo['cover'] ,580 , 320 )}" alt="">
</a>
</case>
<case value="2">
<a href="{:U('live/Index/view',array('id'=>$vo['id']))}">
<div class="Selected-item">
<a href="{:U('live/Index/view',array('id'=>$vo['id']))}">
<img class="lazyload" data-original="{:getCover($vo['cover'] ,580 , 320 )}" alt="">
</a>
</case>
<case value="6">
<a href="{:U('course/Classes/view',array('id'=>$vo['id']))}">
<div class="Selected-item">
<a href="{:U('course/Classes/view',array('id'=>$vo['id']))}">
<img class="lazyload" data-original="{:getCover($vo['cover'] ,580 , 320 )}" alt="">
</a>
</case>
</switch>
<div class="operation">
<p class="seleTitle">{$vo.video_title}</p>
<p class="seleDeit"><span><i>
<php>if($marketConf['order_switch'] == 1) {</php>{$vo['video_order_count_mark']}<php>}else{</php>{$vo['video_order_count']}<php>}</php>
</i> 人在学</span>
<if condition="$vo['t_price'] eq 0"><span><i style="color: #56b02a;">免费</i> </span>
<else /><span> <i>¥</i>{$vo['t_price']}</span></if>
</p>
</div>
</div>
</a>
</volist>
</div>
</div>
</div>
</eq>
<if condition="OPEN_SCHOOL">
<eq name="item_name" value="school_new">
<div class="plate">
<div class="nim-plate">
<div class="titile">
<h3>入驻机构 <a href="{:U('school/Index/index')}">更多></a></h3>
</div>
<div class="mechanism-content">
<volist name="school" id="mhm" offset="0" length="6">
<div class="mechanism-item">
<a target="_blank" href="{$mhm.domain}"><img class="lazyload" data-original="{:getCover($mhm['cover'],100,100)}"
alt=""></a>
</div>
</volist>
</div>
</div>
</div>
</eq>
</if>
</volist>
</div> </div>
<!-- <include file="__THEME__/public_footer_w3g" /> -->
<include file="__THEME__/public_footer_w3g" />
<script type="text/javascript"> <script type="text/javascript">
new Vue({ new Vue({
el: '#vueHome' el: '#app',
data: function() {
return {
active: 0
}
},
methods: {
onChange: function(tab) {
}
}
}) })
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment