Commit e4268d30 by 冷斌

fix bug

parent 1f726732
......@@ -38,7 +38,7 @@
.header .coin{
font-weight:bold;
}
.header .user-id{
float:right;
line-height:40px;
......@@ -49,10 +49,10 @@
height:10px;
}
.content{
}
.list{
}
.list li{
padding:10px 15px;
......@@ -61,14 +61,14 @@
.list li.on{
border:1px solid #FED25C;
}
.list li:after{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
overflow:hidden;
overflow:hidden;
}
.list li .li-left{
float:left;
......@@ -98,7 +98,7 @@
.footer{
text-align:center;
}
.footer a{
color:#3e97f8;
......@@ -110,15 +110,12 @@
</head>
<body >
<div class="header">
充值账号:<img src="{$userinfo['avatar_thumb']}"> <span class="coin">{$userinfo['user_nicename']}</span> <span class="user-id">ID:{$userinfo['id']}</span>
</div>
<div class="header">
余额: <span class="coin">{$userinfo['coin']}</span>
ID:<input type="text" name="id">
</div>
<div class="line"></div>
<div class="line"></div>
<div class="content">
<ul class="list">
<volist name="chargelist" id="v">
......@@ -136,14 +133,14 @@
</ul>
</div>
<div class="footer">
</div>
<script src="__PUBLIC__/share/js/jquery-1.10.1.min.js"></script>
<script>
$(function(){
$(".content .list li").on("click",function(){
var money=$(this).attr("data-price");
var chargeid=$(this).attr("data-id");
$.ajax({
......@@ -162,7 +159,7 @@
error:function(e){
console.log(e);
}
})
})
})
......
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