Commit 59abc80f by 刘海龙

111

parent a39ee1ee
...@@ -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 class="text_10_400">名师课堂</span> <a href="{:U('classroom/Index/index')}" class="text_10_400">名师课堂</a>
<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 class="text_10_400">真题题库</span> <a href="{:U('home/Home/exams')}" class="text_10_400">真题题库</a>
<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 class="text_10_400">考试咨询</span> <a href="{:U('classroom/Index/find')}" class="text_10_400">考试咨询</a>
<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,14 @@ ...@@ -116,7 +116,14 @@
</template> </template>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
<span class="text_10_400">会员中心</span> <if condition="$_SESSION['mid']">
<a href="{:U('home/User/index')}" class="text_10_400">
<else/>
<a href="{:U('basic/Passport/login')}">
</if>
会员中心
</a>
<!-- <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')}">
......
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