Commit 81dc422c by 陈超

T

parent 2d354fb4
...@@ -405,3 +405,14 @@ div::-webkit-scrollbar { ...@@ -405,3 +405,14 @@ div::-webkit-scrollbar {
padding: 1.5rem 0.75rem 0 0.75rem; padding: 1.5rem 0.75rem 0 0.75rem;
} }
/* 咨询 */
.item_cell {
height:80px;
background:rgba(255,255,255,1);
border-radius:8px;
margin-top: 0.75rem;
padding-left: 0.75rem;
padding-right: 1rem;
margin-left: 0.75rem;
margin-right: 0.75rem;
}
\ No newline at end of file
<include file="__THEME__/public_header_w3g"/> <include file="__THEME__/public_header_w3g"/>
<link rel="stylesheet" href="__THEMEW3G__/css/style.css"> <div id="app">
<link rel="stylesheet" href="__APP__/css/find_3g.css"> <div class="layout_v tab_container">
<volist name="site_top_nav" id="vo">
<php>if(isset($vo['navi_key'])){</php>
<if condition="!in_array($vo['navi_key'], ['index', 'course', 'live', 'more'])">
<a class="item_cell layout_h" href="{$vo['url']}">
<div class="layout_h">
<van-icon class="self_center" name="__APP__/images/faxian_{:lcfirst($vo['navi_key'])}.png" size="36" ></van-icon>
<span class="text_16_600 color_333333 self_center" style="margin-left: 0.5rem;">{$vo.navi_name}</span>
</div>
<div class="weight_full layout_h_r">
<van-icon class="self_center" size="12" name="__THEME__/img/right_arrow.png" ></van-icon>
</div>
</a>
</if>
</volist>
</div>
<div class="my_top">发现</div> <div>
<hr> <van-tabbar
v-model="active"
@change="onChange"
:fixed="true"
:route="false"
:safe-area-inset-bottom="true"
active-color="#65C000"
inactive-color="#363636">
<van-tabbar-item>
<span class="text_10_400">名师课堂</span>
<template #icon="props">
<img :src="props.active ? '__THEME__/img/minshi.png' : '__THEME__/img/minshi_s.png'" />
</template>
</van-tabbar-item>
<van-tabbar-item>
<span class="text_10_400">真题题库</span>
<template #icon="props">
<img :src="props.active ? '__THEME__/img/zhenti.png' : '__THEME__/img/zhenti_s.png'" />
</template>
</van-tabbar-item>
<van-tabbar-item>
<span class="text_10_400">考试咨询</span>
<template #icon="props">
<a href="{:U('classroom/Index/find')}">
<img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" />
</a>
</template>
</van-tabbar-item>
<van-tabbar-item>
<span class="text_10_400">会员中心</span>
<template #icon="props">
<if condition="$_SESSION['mid']">
<a href="{:U('home/User/index')}">
<else/>
<a href="{:U('basic/Passport/login')}">
</if>
<img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" />
</a>
</template>
</van-tabbar-item>
</van-tabbar>
</div>
</div>
<!-- <hr>
<section> <section>
<ul class="more_list"> <ul class="more_list">
<volist name="site_top_nav" id="vo"> <volist name="site_top_nav" id="vo">
...@@ -94,10 +152,20 @@ ...@@ -94,10 +152,20 @@
<php>}</php> <php>}</php>
</volist> </volist>
</ul> </ul>
</section> </section> -->
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ new Vue({
$(".nav_list ul li:eq(2)").addClass("on"); el: '#app',
}); data: function() {
return {
active: 2
}
},
methods: {
onChange: function(tab) {
}
}
})
</script> </script>
<include file="__THEME__/public_footer_w3g"/>
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