<footer class="footer">
	<div class="u-ft-nav" id="fLoginInfo">
	    <span><a href="{WEB_PATH}/mobile/mobile/">首页</a><b></b></span>
		<span><a href="{WEB_PATH}/mobile/mobile/about">新手指南</a><b></b></span>
		{wc:if uidcookie('uid')}
		<span>
		<a  class="Member" href="{WEB_PATH}/index.php/mobile/home">{wc:$name}</a>
		<a class="Exit" href="{WEB_PATH}/index.php/mobile/user/cook_end">退出</a>
		</span>
		{wc:else}
		<span><a href="{WEB_PATH}/mobile/user/login">登录</a><b></b></span>
		<span><a href="{WEB_PATH}/mobile/user/register">注册</a></span>
		{wc:if:end}	
		
	</div>
	<p class="m-ftA">
		<a href="{WEB_PATH}/mobile/mobile">触屏版</a>|<a href="{WEB_PATH}">电脑版</a>	
	</p>
	<p class="grayc">客服热线<span class="orange">{wc:fun:_cfg('cell')}</span></p>
	<p class="grayc">{wc:fun:_cfg('web_copyright')}</p>
	<a id="btnTop" href="javascript:;" class="z-top" style="display:none;"><b class="z-arrow"></b></a>
</footer>
{wc:php:start}
	$f_home = '';
	$f_whole = '';
	$f_jiexiao = '';
	$f_car = '';
	$f_personal = '';

	if( ROUTE_C == 'home' || ROUTE_C == 'user' ){
		$f_personal = 'cur';
	}else if( ROUTE_C == 'mobile' && ROUTE_A == 'init'){
		$f_home = 'cur';
	}else if( ROUTE_C == 'mobile' && ROUTE_A == 'glist'){
		$f_whole = 'cur';
	}else if( ROUTE_C == 'mobile' && ROUTE_A == 'lottery'){
		$f_jiexiao = 'cur';
	}else if( ROUTE_C == 'cart'){
		$f_car = 'cur';
	}
{wc:php:end}
<p>
	<br />
</p>
<p>
	<br />
</p>
<p>
	<br />
</p>
<style>
.footerdi .f_home i.cur{
	background-position: 0 0 !important;
}
.footerdi .f_whole i.cur{
	background-position: 0 -52px !important;
}
.footerdi .f_jiexiao i.cur{
	background-position: 0 -222px !important;
}
.footerdi .f_car i.cur{
	background-position: 0 -105px !important;
}
.footerdi .f_personal i.cur{
	background-position: 0 -152px !important;
}
</style>
<div class="footerdi" style="bottom: 0px;">
	<ul>
		<li class="f_home">
			<a title="首页" href="{WEB_PATH}/mobile/mobile/"><i class="{wc:$f_home}">&nbsp;</i>首页</a>
		</li>
		<li class="f_whole">
			<a title="所有商品" href="{WEB_PATH}/mobile/mobile/glist"><i class="{wc:$f_whole}">&nbsp;</i>所有商品</a>
		</li>
		<li class="f_jiexiao">
			<a title="最新揭晓" href="{WEB_PATH}/mobile/mobile/lottery"><i class="{wc:$f_jiexiao}">&nbsp;</i>最新揭晓</a>
		</li>
		<li class="f_car">
			<a title="首页" href="{WEB_PATH}/mobile/cart/cartlist"><i class="{wc:$f_car}">&nbsp;</i>购物车</a>
		</li>
		<li class="f_personal">
			<a title="首页" href="{WEB_PATH}/mobile/home"><i class="{wc:$f_personal}">&nbsp;</i>我的云购</a>
		<li>
	</ul>
</div>
{wc:if uidcookie('uid')}
{wc:php:start}
$rs=$this->db->GetOne("select * from `@#_member_go_record` where `uid`='".uidcookie('uid')."' and `huode`>'10000000'  and `read`=0 ORDER BY id DESC");
{wc:php:end}
{wc:if $rs['status']=='已付款,未发货,未完成' && $_SERVER["REQUEST_URI"]!='/mobile/home/orderlist'}
<style type="text/css">
#zhongjiangtishi{ background:rgba(0,0,0,0.5); width:100%; height: 100%; position: fixed; top: 0; z-index: 9999;}
#zhongjiangtishi dl{ width:80%; height: 80%; position: absolute;left: 10%;top: 10%; text-align: center;}
#zhongjiangtishi dt{ text-align: right;}
#zhongjiangtishi dt img{ width:50px; height: auto;}
#zhongjiangtishi dd img{ width: 80%;}
#zhongjiangtishi .txt{ background:rgba(255,255,255,0.7); font-size: 14px; line-height: 1.5em; padding: 10px; text-align: left;}
</style>
<div id="zhongjiangtishi">
	<dl>
		<dt><img src="/statics/templates/mowov9mb1/images/guanbi.png"/></dt>
		<dd><a href="/mobile/home/orderlist"><img src="/statics/templates/mowov9mb1/images/csy.png"/></a></dd>
		<dd class="txt"><a href="/mobile/home/orderlist">恭喜你中奖，你的中奖号码是{wc:$rs['huode']}</a></dd>
	</dl>
</div>
<script type="text/javascript">
jQuery(document).ready(function($){ 
    try{
    	$("#zhongjiangtishi").height($(window).height());
    	$("#zhongjiangtishi dt").on('click',function () {
    		$("#zhongjiangtishi").remove();
    	})
    }catch(e){}
});
</script>
{wc:if:end}
{wc:if:end}
