Commit 1957c6a5 by 刘海龙

111

parent a1913f57
...@@ -51,37 +51,37 @@ ...@@ -51,37 +51,37 @@
<van-tabbar-item> <van-tabbar-item>
<span 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>
</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">
<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'" />
</a> <!-- </a> -->
</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">
<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'" />
</a> <!-- </a> -->
</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')}">
<else/> <else/>
<a href="{:U('basic/Passport/login')}"> <a href="{:U('basic/Passport/login')}">
</if> </if> -->
<img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" /> <img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" />
</a> <!-- </a> -->
</template> </template>
</van-tabbar-item> </van-tabbar-item>
</van-tabbar> </van-tabbar>
...@@ -111,7 +111,11 @@ ...@@ -111,7 +111,11 @@
window.location.href = "{:U('classroom/Index/find')}" window.location.href = "{:U('classroom/Index/find')}"
break; break;
case 3: case 3:
window.location.href = "{:U('home/User/index')}" if(MID){
window.location.href = "{:U('home/User/index')}"
}else{
window.location.href = "{:U('basic/Passport/login')}"
}
break; break;
} }
} }
......
...@@ -126,37 +126,37 @@ ...@@ -126,37 +126,37 @@
<van-tabbar-item> <van-tabbar-item>
<span 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>
</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">
<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'" />
</a> <!-- </a> -->
</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">
<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'" />
</a> <!-- </a> -->
</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')}">
<else /> <else />
<a href="{:U('basic/Passport/login')}"> <a href="{:U('basic/Passport/login')}">
</if> </if> -->
<img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" /> <img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" />
</a> <!-- </a> -->
</template> </template>
</van-tabbar-item> </van-tabbar-item>
</van-tabbar> </van-tabbar>
......
...@@ -142,37 +142,37 @@ ...@@ -142,37 +142,37 @@
<van-tabbar-item> <van-tabbar-item>
<span 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>
</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">
<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'" />
</a> <!-- </a> -->
</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">
<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'" />
</a> <!-- </a> -->
</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')}">
<else /> <else />
<a href="{:U('basic/Passport/login')}"> <a href="{:U('basic/Passport/login')}">
</if> </if> -->
<img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" /> <img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" />
</a> <!-- </a> -->
</template> </template>
</van-tabbar-item> </van-tabbar-item>
</van-tabbar> </van-tabbar>
...@@ -240,7 +240,11 @@ ...@@ -240,7 +240,11 @@
window.location.href = "{:U('classroom/Index/find')}" window.location.href = "{:U('classroom/Index/find')}"
break; break;
case 3: case 3:
window.location.href = "{:U('home/User/index')}" if(MID){
window.location.href = "{:U('home/User/index')}"
}else{
window.location.href = "{:U('basic/Passport/login')}"
}
break; break;
} }
}, },
......
...@@ -92,39 +92,39 @@ ...@@ -92,39 +92,39 @@
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 class="text_10_400">名师课堂</span> <span class="text_10_400">名师课堂</span>
<template #icon="props"> <template #icon="props">
<!-- <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> -->
</template> </template>
</a>
</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">
<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'" />
</a> <!-- </a> -->
</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">
<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'" />
</a> <!-- </a> -->
</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')}">
<else/> <else/>
<a href="{:U('basic/Passport/login')}"> <a href="{:U('basic/Passport/login')}">
</if> </if> -->
<img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" /> <img :src="props.active ? '__THEME__/img/huiyuan.png' : '__THEME__/img/huiyuan_s.png'" />
</a> <!-- </a> -->
</template> </template>
</van-tabbar-item> </van-tabbar-item>
</van-tabbar> </van-tabbar>
...@@ -461,7 +461,11 @@ ...@@ -461,7 +461,11 @@
window.location.href = "{:U('classroom/Index/find')}" window.location.href = "{:U('classroom/Index/find')}"
break; break;
case 3: case 3:
window.location.href = "{:U('home/User/index')}" if(MID){
window.location.href = "{:U('home/User/index')}"
}else{
window.location.href = "{:U('basic/Passport/login')}"
}
break; break;
} }
}, },
......
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