Commit e4268d30 by 冷斌

fix bug

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