You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
4.9 KiB
HTML

<extend name="Public/bases" />
<block name="body" >
<script src="__JS__/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="__JS__/getRem.js"></script>
<link rel="stylesheet" type="text/css" href="__CSS__/reset.css">
<link rel="stylesheet" type="text/css" href="__CSS__/foot_tabbar.css">
<link rel="stylesheet" type="text/css" href="__CSS__/my.css">
<div class="my">
<!-- 登录完成显示 -->
<div class="my-home">
<div class="my-home-heard">
<img onerror="this.src='__IMG__/empty.jpg';this.onerror=null" src="<notempty name='user.head_img'>{$user['head_img']}<else /><eq name='user.sex' value='1'>__IMG__/head_women.png<else />__IMG__/head_men.png</eq></notempty>" alt="">
<div class="name" onclick="location.href='{:U('User/usernick')}'">
<span>{$user['nickname']}</span>
<img src="__IMG__/new/xiugai.png" alt="">
</div>
</div>
<div class="platform">
<div class="platform_box">
<div class="platform_info">
<div class="del">我的平台币</div>
<!-- <img src="__IMG__/new/yiwen.png" alt="">-->
<div class="price">{$user['balance']}</div>
<?php $recharge = $user['id'] ? U('recharge') : U('login');?>
<a class="recharge" href="{$recharge}" style="display: none;">充值</a>
</div>
</div>
</div>
<div class="control">
<div class="control_box">
<?php $usergame = $user['id'] ? U('usergame') : U('login');?>
<a href="{$usergame}"><img src="__IMG__/new/youxi.png" alt="">
<span>我的游戏</span></a>
</div>
<div class="control_box">
<?php $usergift = $user['id'] ? U('usergift') : U('login');?>
<a href="{$usergift}"><img src="__IMG__/new/libao (1).png" alt="">
<span>我的礼包</span></a>
</div>
<!-- 超级签隐藏 -->
<!-- <div class="control_box">
<?php $exchangerecord = $user['id'] ? U('exchangerecord') : U('login');?>
<a href="/mobile.php/ssg/home.html"><img src="__IMG__/new/pingguo.png" alt="">
<span>超级签</span></a>
</div> -->
<div class="control_box">
<a href="mqqwpa://im/chat?chat_type=wpa&uin={:C('PC_SET_SERVER_QQ')}&version=1&src_type=web&web_src=oicqzone.com"><img src="__IMG__/new/kefuzhongxin.png" alt="">
<span>联系客服</span></a>
</div>
</div>
<div class="control">
<div class="control_box">
<a href="{:U('userset')}"><img src="__IMG__/new/shezhi.png" alt="">
<span>设置中心</span></a>
</div>
</div>
</div>
</div>
<!-- 底部导航 -->
<div class="foot_tabbar">
<div class="foot_tabbar_box">
<div class="foot_info ">
<a href="{:U('Index/index')}" class="<if condition='CONTROLLER_NAME eq Index and ACTION_NAME eq index'>active</if>">
<img src="__IMG__/new/shouye<if condition='CONTROLLER_NAME eq Index and ACTION_NAME eq index'>1</if>.png" alt="">
<span>首页</span>
</a>
</div>
<div class="foot_info ">
<a href="{:U('Index/introduce')}" class="<if condition='ACTION_NAME eq introduce'>active</if>">
<img src="__IMG__/new/qiyechaxun<if condition='ACTION_NAME eq introduce'>1</if>.png" alt="">
<span>企业简介</span></a>
</div>
<div class="foot_info ">
<a href="{:U('Index/business')}" class="<if condition='ACTION_NAME eq business'>active</if>">
<img src="__IMG__/new/hezuo<if condition='ACTION_NAME eq business'>1</if>.png" alt="">
<span>商务合作</span>
</a>
</div>
<div class="foot_info ">
<a href="{:U('User/index')}" class="<if condition='CONTROLLER_NAME eq User'>active</if>">
<img src="__IMG__/new/geren<if condition='CONTROLLER_NAME eq User'>1</if>.png" alt="">
<span>我的</span>
</a>
</div>
</div>
</div>
<div class="popmsg pop-dialog"></div>
<script src="__JS__/pop.lwx.min.js"></script>
<script>
$(function() {
var pmsg = $('.popmsg').pop();
$('.sign').click(function() {
var html = $("#sign_in").html();
var pop = $('.pop').pop().open(800,html);
$('#jsconfirm').click(function() {
$.ajax({
url:"{:U('User/sign_in')}",
type:"post",
dataType:"json",
data:{},
success:function(result){
pmsg.msg(result.info);
location.reload();
},
error:function(){
alert('服务器异常');
}
})
pop.close();
});
$('.disabled').click(function(){
pop.close();
})
$('.pop-close').click(function(){
pop.close();
})
});
});
</script>
</body>
</block>