Commit a4e7f260 by 刘海龙

111

parent cbc9714c
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
active-color="#65C000" active-color="#65C000"
inactive-color="#363636"> inactive-color="#363636">
<van-tabbar-item> <van-tabbar-item>
<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'" />
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</template> </template>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
<span @click="onBotbar('{:U('home/Home/exams')}')" class="text_10_400">真题题库</span> <span 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'" />
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</template> </template>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
<span @click="onBotbar('{:U('classroom/Index/find')}')" class="text_10_400">考试咨询</span> <span 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'" />
...@@ -116,7 +116,7 @@ ...@@ -116,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')}">
...@@ -454,10 +454,6 @@ ...@@ -454,10 +454,6 @@
onCellTap: function(url) { onCellTap: function(url) {
window.location.href = url window.location.href = url
}, },
onBotbar: function(url) {
console.log(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