代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<meta charset="GB2312">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" id="viewport">
<title>我的账户-迅泊达</title>
<link rel="shortcut icon" href="favicon.ico"/>
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/my-account.css" />
<link rel="stylesheet" href="font/fanhui/iconfont.css" />
<script src="js/jquery-1.11.2.min.js"></script>
<script src="js/xbddai.js"></script>
<script src="js/base.js"></script>
<script src="js/51size.js"></script>
</head>
<body>
<!--头部开始-->
<header class="clearfix">
<div class="header clearfix">
<ul>
<li>
<a href="index.html">
<i class="iconfont left-icon"></i>
<em>首页</em>
</a>
</li>
<li>我的账户</li>
<li><a id="logout" href="javascript:;">退出</a></li>
</ul>
<div>
</header>
<!--头部结束-->
<main>
<!--信息模块1开始-->
<div class="my-information">
<div class="my-icon"><img src="img/defaultavatar.png" alt="" /></div>
<div class="text">
<div class="data">
<p class="profit">
<em>¥</em>
<u id="income">0.0</u>
<i>(赚取收益)</i>
</p>
<p class="authentication">
<em id="authPhone">手机已认证</em>
<u id="authEmail" style="display: none">邮箱已认证</u>
<i id="authReal" style="display: none">实名已认证</i>
</p>
</div>
</div>
<a href="stand-inside-letter.html">
<div class="information">
</div>
</a>
</div>
<!--信息模块1结束-->
<!--信息模块2开始-->
<table class="the-amount-of">
<tr>
<td>账号总额</td>
<td><em id="amount">0.0</em><i>元</i></td>
</tr>
<tr>
<td>可用余额</td>
<td><em id="balance">0.0</em><i>元</i></td>
</tr>
<tr>
<td>待收本金</td>
<td><em id="awaitFund">0.0</em><i>元</i></td>
</tr>
<tr>
<td>待收利息</td>
<td><em id="awaitInterest">0.0</em><i>元</i></td>
</tr>
<tr>
<td>待领奖金</td>
<td><em id="stayAmount">0.0</em><i>元</i></td>
</tr>
<tr>
<td>
<input type="button" value="充值" onclick="window_href('recharge.html')"/>
</td>
<td>
<input type="button" value="提现" onclick="window_href('account-withdrawal.html')"/>
</td>
</tr>
</table>
<!--信息模块2结束-->
<div class="interval"></div>
<div class="list-information">
<ul>
<li onclick="window_href('invite.html')">
<div>
<em>
<img src="img/my-account-recommend-icon.gif" alt="" />
</em>
<span>推荐好友</span>
<u></u>
</div>
<!--<div class="my-account-next1">
<a href="invite.html">
http://www.xbddai.com/index.php?user&q=action/reginvite&u=cmVnX2ludml0ZTI4NDM=
</a>
</div>-->
</li>
<li onclick="window_href('authentication-real-name.html')">
<div>
<em>
<img src="img/my-account-certification-icon.gif" alt="" />
</em>
<span>认证中心</span>
<u></u>
</div>
<!--<div class="my-account-next2 clearfix">
<dl class="clearfix">
<dd><a href="authentication-real-name.html">实名认证</a></dd>
<dd><a href="authentication-real-name.html">邮箱认证</a></dd>
<dd><a href="authentication-real-name.html">手机认证</a></dd>
</dl>
</div>-->
</li>
<li onclick="window_href('bid-information.html')">
<div class="my-account-next2 clearfix">
<em>
<img src="img/i04.jpg"/>
</em>
<span>投标明细</span>
<u></u>
</div>
<!--<div>
<dl class="clearfix">
<dd><a href="bid-information.html">成功投标</a></dd>
<dd><a href="bid-information.html">正在投标</a></dd>
</dl>
</div>-->
</li>
<li onclick="window_href('financial-details.html')">
<em>
<img src="img/i03.jpg"/>
</em>
<span>资金明细</span>
<u></u>
</li>
<li>
<em>
<img src="img/account-anquan.gif" height="60" width="52" alt="">
</em>
<span>账户管理</span>
<u></u>
</li>
</ul>
</div>
</main>
</body>
<script type="text/javascript">
$("#logout").click(function(){
localStorage.clear();
window.location.href="login.html";
});
$(function() {
var personal=JSON.parse(localStorage.getItem('personal'));
if(personal==null){
alert('您还没有登录,请登录!!!');
window_href('login.html');
} else{
var uid=personal.uid;
//读取个人信息
$.ajax({
type: 'post',
dataType: 'JSON',
async: false,
url: baseUrl + "/app/account/info",
data:{uid:uid},
success: function(result) {
var code = result["code"];
var msg = result["msg"];
var entity = result["entity"];
//console.log(result);
if (code == '-1') {
var account = entity["account"];
var auth = entity["auth"];
$("#income").text(changePrice2money(account["totalIncome"]));
$("#amount").text(changePrice2money(account["totalAmount"]));
$("#balance").text(changePrice2money(account["balance"]));
$("#stayAmount").text(changePrice2money(account["stayAmount"]));
$("#awaitFund").text(changePrice2money(account["awaitFund"]));
$("#awaitInterest").text(changePrice2money(account["awaitInterest"]));
if(auth["id5"] == 1) {
$("#authReal").show();
}
if(auth["email"] == 1) {
$("#authEmail").show();
}
}
}
});
}
});
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。