Commit 220b67f1 by 刘海龙

111

parent 160598b4
...@@ -92,17 +92,15 @@ ...@@ -92,17 +92,15 @@
active-color="#65C000" active-color="#65C000"
inactive-color="#363636"> inactive-color="#363636">
<van-tabbar-item> <van-tabbar-item>
<a href="{:U('classroom/Index/index')}"> <span @click="onBotbar('{:U('classroom/Index/index')}')" class="text_10_400">名师课堂</span>
<span class="text_10_400">名师课堂</span>
<template #icon="props"> <template #icon="props">
<!-- <a href="{:U('classroom/Index/index')}"> --> <a href="{:U('classroom/Index/index')}">
<img :src="props.active ? '__THEME__/img/minshi.png' : '__THEME__/img/minshi_s.png'" /> <img :src="props.active ? '__THEME__/img/minshi.png' : '__THEME__/img/minshi_s.png'" />
<!-- </a> --> </a>
</template> </template>
</a>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
<span class="text_10_400">真题题库</span> <span @click="onBotbar('{:U('home/Home/exams')}')" class="text_10_400">真题题库</span>
<template #icon="props"> <template #icon="props">
<a href="{:U('home/Home/exams')}"> <a href="{:U('home/Home/exams')}">
<img :src="props.active ? '__THEME__/img/zhenti.png' : '__THEME__/img/zhenti_s.png'" /> <img :src="props.active ? '__THEME__/img/zhenti.png' : '__THEME__/img/zhenti_s.png'" />
...@@ -110,7 +108,7 @@ ...@@ -110,7 +108,7 @@
</template> </template>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
<span class="text_10_400">考试咨询</span> <span @click="onBotbar('{:U('classroom/Index/find')}')" class="text_10_400">考试咨询</span>
<template #icon="props"> <template #icon="props">
<a href="{:U('classroom/Index/find')}"> <a href="{:U('classroom/Index/find')}">
<img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" /> <img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" />
...@@ -118,7 +116,7 @@ ...@@ -118,7 +116,7 @@
</template> </template>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
<span class="text_10_400">会员中心</span> <span class="text_10_400">会员中心</span>
<template #icon="props"> <template #icon="props">
<if condition="$_SESSION['mid']"> <if condition="$_SESSION['mid']">
<a href="{:U('home/User/index')}"> <a href="{:U('home/User/index')}">
...@@ -456,6 +454,9 @@ ...@@ -456,6 +454,9 @@
onCellTap: function(url) { onCellTap: function(url) {
window.location.href = url window.location.href = url
}, },
onBotbar: function(url) {
window.location.href = url
},
onTabOrder: function() { onTabOrder: function() {
window.location.href = "{:U('home/Home/order')}" window.location.href = "{:U('home/Home/order')}"
}, },
......
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