Commit 99178d1b by 陈超

T

parent 860f5418
...@@ -35,62 +35,6 @@ ...@@ -35,62 +35,6 @@
</li> </li>
</ul> </ul>
</nav> --> </nav> -->
<div id="nav">
<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">
<img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" />
</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>
<script type="text/javascript">
var footerNavVue = new Vue({
el: '#nav',
data: function() {
return {
active: 0
}
},
methods: {
onChange: function(tab) {
}
}
})
</script>
<!--footer end--> <!--footer end-->
<eq name='site.site_online_count' value='1'> <eq name='site.site_online_count' value='1'>
<script src="{:SITE_URL}/online_check.php?uid={$mid}&uname={$user.uname}&mod={:MODULE_NAME}&app={:APP_NAME}&act={:ACTION_NAME}&action=trace"></script> <script src="{:SITE_URL}/online_check.php?uid={$mid}&uname={$user.uname}&mod={:MODULE_NAME}&app={:APP_NAME}&act={:ACTION_NAME}&action=trace"></script>
......
...@@ -79,7 +79,47 @@ ...@@ -79,7 +79,47 @@
</div> </div>
</eq> </eq>
</volist> </volist>
</div>
<div id="nav">
<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">
<img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" />
</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>
</div> </div>
<!-- <include file="__THEME__/public_footer_w3g" /> --> <!-- <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