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.

178 lines
5.9 KiB
HTML

5 years ago
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="applicable-device" content="mobile">
<link href="__CSS__/iconfont.css" rel="stylesheet">
<link href="__CSS__/common-cz.css" rel="stylesheet">
<link href="__CSS__/unlr.css" rel="stylesheet">
<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__/user/setting.css">
5 years ago
<style>
.btnbox {
width: 5.5rem;
height: 0.8rem;
background: #389AED;
border-radius: 0.4rem;
/* margin-top: 0.5rem; */
font-size: 0.32rem;
color: #fff;
text-align: center;
line-height: 0.8rem;
border: 0;
outline: 0;
margin: .5rem auto;
}
5 years ago
.godownbox {
width: 3rem;
height: 0.8rem;
background: #389AED;
border-radius: 0.4rem;
font-size: 0.32rem;
color: #fff;
text-align: center;
line-height: 0.8rem;
border: 0;
outline: 0;
margin: .5rem auto;
}
.btnbox a,.godownbox a{
5 years ago
color: white;
}
</style>
5 years ago
</head>
<body>
<div class="setting">
<!-- 子页公共头部 -->
<div class="subpage-heard">设置中心
5 years ago
<a href="{:U('User/index')}" class="arrows"></a>
5 years ago
</div>
<div class="setting-box">
<div class="setting-info">
<div class="left">
<img src="__IMG__/user/touxiang-icon.png" alt="">
<span>头像</span>
</div>
5 years ago
<!-- //img/touxiang.png -->
<img class="portraitbtn portrait" 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="">
5 years ago
</div>
5 years ago
<div class="setting-info">
5 years ago
<div class="left">
<img src="__IMG__/user/haoma.png" alt="">
<span>账号</span>
</div>
5 years ago
<div>{$user.account}</div>
5 years ago
</div>
<div class="setting-info arror">
<div class="left">
<img src="__IMG__/user/mingzibianji.png" alt="">
<span>昵称</span>
</div>
5 years ago
<a href="{:U('usernick')}" class="right">{$user['nickname']}</a>
5 years ago
</div>
<div class="setting-info arror">
<div class="left">
<img src="__IMG__/user/mingzibianji.png" alt="">
<span>性别</span>
</div>
5 years ago
<a href="{:U('User/usersex')}" class="right"><if condition="$user['sex'] == 0"><else/></if></a>
5 years ago
</div>
<div class="setting-info arror">
<div class="left">
<img src="__IMG__/user/shoujibangding.png" alt="">
<span>绑定手机</span>
</div>
5 years ago
<a href="{:U('userphone')}" class="right rightSel"><empty name="user.phone"><span style="color:rgba(169,169,169,1);">去绑定</span><else/>已绑定</empty></a>
5 years ago
</div>
5 years ago
<div class="setting-info arror">
<div class="left">
<img src="__IMG__/user/shimingrenzhengmoren.png" alt="">
<span>实名认证</span>
</div>
5 years ago
<div class="right">
<switch name='user["age_status"]'>
<case value="0">
5 years ago
<a href="{:U('User/userauth')}" class="auth on"><span style="color:rgba(169,169,169,1);">未认证</span></a>
5 years ago
</case>
<case value="2">
<a href="{:U('User/userauth')}" class="auth on">已认证</a>
</case>
<case value="3">
5 years ago
<a href="{:U('User/userauth')}" class="auth on"><span style="color:rgba(169,169,169,1);">未成年</span></a>
5 years ago
</case>
5 years ago
<default /><a href="{:U('User/userauth')}" class="auth on"><span style="color:rgba(169,169,169,1);">未认证</span></a>
5 years ago
</switch>
5 years ago
</div>
</div>
5 years ago
<a href="{:U('userpassword')}" class="setting-info arror">
<div class="left">
<img src="__IMG__/user/xiugaimima.png" alt="">
<span>修改密码</span>
</div>
</a>
5 years ago
</div>
5 years ago
</div>
<div class="btnbox user-set-btnbox">
<a href="javascript:;" class="btn jsquit">退出登录</a>
5 years ago
</div>
5 years ago
<div class="pop pop-window" style="font-size: .28rem;">
5 years ago
<div class="pop-box pop-sign">
5 years ago
<span class="pop-close" style="width:.3rem;height: .3rem;position: absolute;right: .4rem;top: .3rem;font-size: .45rem;">X</span>
<div class="pop-wrap" style="padding: .3rem;text-align: center;">
</div>
5 years ago
</div>
5 years ago
</div>
5 years ago
<div class="popmsg pop-dialog" style="font-size: .28rem;"></div>
5 years ago
</body>
<script src="__JS__/pop.lwx.min.js"></script>
<script>
$(function () {
var pmsg = $('.popmsg').pop();
$('.portraitbtn').click(function () {
//pmsg.msg('请到PC端网站或APP应用上更改');
var pop = $('.pop').addClass('pop-head').pop();
5 years ago
pop.open(800, '<div style="font-size: .36rem;margin-top: .5rem;">请到APP上更改头像</div><div class="godownbox"><a href="/media.php?s=/Index/download.html" class="btn">去下载APP</a></div>');
5 years ago
pop.find('.pop-close').click(function () { pop.close() });
});
$(".jsquit").click(function () {
$.ajax({
url: "{:U('base/logout')}",
type: "post",
dataType: "json",
success: function (result) {
pmsg.msg(result.msg);
setTimeout(function () {
window.location.href = "{:U('Index/index')}";
}, 2000);
},
error: function () {
}
})
})
5 years ago
5 years ago
});
5 years ago
5 years ago
</script>
5 years ago
5 years ago
</html>