ZLW-PC\Administrator
7 years ago
15 changed files with 3012 additions and 21 deletions
-
107app/Http/Controllers/Weixin/UserController.php
-
4public/css/font-awesome.min.css
-
16public/css/weixin/style.css
-
BINpublic/fonts/FontAwesome.otf
-
BINpublic/fonts/fontawesome-webfont.eot
-
2671public/fonts/fontawesome-webfont.svg
-
BINpublic/fonts/fontawesome-webfont.ttf
-
BINpublic/fonts/fontawesome-webfont.woff
-
BINpublic/fonts/fontawesome-webfont.woff2
-
5resources/views/weixin/common/footer.blade.php
-
12resources/views/weixin/user/index.blade.php
-
30resources/views/weixin/user/userAccount.blade.php
-
92resources/views/weixin/user/userMoneyList.blade.php
-
92resources/views/weixin/user/userPointList.blade.php
-
4routes/web.php
4
public/css/font-awesome.min.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Binary file not shown.
Binary file not shown.
2671
public/fonts/fontawesome-webfont.svg
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,30 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
|||
<title>资金管理</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/font-awesome.min.css" type="text/css" rel="stylesheet"> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script></head><body> |
|||
<div class="classreturn loginsignup"> |
|||
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
|||
<div class="ds-in-bl tit center"><span>资金管理</span></div> |
|||
<div class="ds-in-bl nav_menu"><a href="<?php echo route('weixin_user_money_list'); ?>">余额明细</a></div> |
|||
</div> |
|||
|
|||
<style> |
|||
.account{text-align:center;margin-top:50px;} |
|||
.account .icon{color:#FFCC00;font-size:100px;}
|
|||
.account .money{color:#353535;font-size:36px;}
|
|||
.account .tit{color:#000;font-size:18px;}
|
|||
.bottoma{display:block;font-size:18px;padding:10px;border-radius:2px;} |
|||
</style> |
|||
<div class="floor account"> |
|||
<div class="icon"><i class="fa fa-diamond"></i></div> |
|||
<div class="tit">我的余额</div> |
|||
<div class="money"><small>¥</small><?php echo $user_info['money']; ?></div>
|
|||
<br> |
|||
<a style="margin:10px;background-color:#1aad19;text-align:center;color:white;border:1px solid #179e16;" class="bottoma" href="http://www.lqycms.com/weixin/user_address_add">充值</a> |
|||
<a style="margin:0 10px 10px 10px;background-color:#f1f1f1;text-align:center;color:#000;border:1px solid #bfbfbf;" class="bottoma" href="http://www.lqycms.com/weixin/user_address_add">提现</a> |
|||
</div> |
|||
|
|||
@include('weixin.common.footer') |
|||
</body></html> |
@ -0,0 +1,92 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
|||
<title>余额明细</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script></head><body> |
|||
<div class="classreturn loginsignup"> |
|||
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
|||
<div class="ds-in-bl tit center"><span>余额明细</span></div> |
|||
</div> |
|||
|
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script> |
|||
<style> |
|||
.money_list li{padding:15px;border-bottom:1px solid #ddd;}
|
|||
.money_list .tit{color:#000;font-size:18px;margin-bottom:5px;}
|
|||
.money_list .time{color:#8e8e8e;font-size:12px;}
|
|||
.money_list span{font-size:18px;float:right;vertical-align:middle;margin-top:12px;} |
|||
.money_list span.green{color:#04ba06;}
|
|||
</style> |
|||
<div class="floor"> |
|||
<ul class="money_list cl"> |
|||
<?php if($list){foreach($list as $k=>$v){ ?>
|
|||
<li> |
|||
<span <?php if($v['type']==0){echo 'class="green"';} ?>><?php if($v['type']==0){echo '+';}else{echo '-';} ?> <?php echo $v['money']; ?></span>
|
|||
<div class="info"><p class="tit"><?php echo $v['des']; ?></p>
|
|||
<p class="time"><?php echo date('Y-m-d H:i:s',$v['add_time']); ?></p></div>
|
|||
</li> |
|||
<?php }} ?>
|
|||
</ul> |
|||
</div> |
|||
<script> |
|||
$(function(){ |
|||
var ajaxload = false; |
|||
var maxpage = false; |
|||
var startpage = 1; |
|||
var totalpage = <?php echo $totalpage; ?>;
|
|||
|
|||
var tmp_url = window.location.href; |
|||
msg = tmp_url.split("#"); |
|||
tmp_url = msg[0]; |
|||
|
|||
$(window).scroll(function () |
|||
{ |
|||
var listheight = $(".money_list").outerHeight(); |
|||
|
|||
if ($(document).scrollTop() + $(window).height() >= listheight) |
|||
{ |
|||
if(startpage >= totalpage) |
|||
{ |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
return false; |
|||
} |
|||
|
|||
if(!ajaxload && !maxpage) |
|||
{ |
|||
ajaxload = true; |
|||
//$("#submit_bt_one").html("努力加载中...");
|
|||
var url = tmp_url; |
|||
var nextpage = startpage+1; |
|||
|
|||
$.get(url,{page_ajax:1,page:nextpage},function(res) |
|||
{ |
|||
if(res) |
|||
{ |
|||
$(".money_list").append(res); |
|||
startpage++; |
|||
|
|||
if(startpage >= totalpage) |
|||
{ |
|||
maxpage = true; |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("点击加载更多");
|
|||
} |
|||
|
|||
ajaxload = false; |
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("请求失败,请稍候再试!");
|
|||
ajaxload = false; |
|||
} |
|||
},'json'); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
</script> |
|||
|
|||
@include('weixin.common.footer') |
|||
</body></html> |
@ -0,0 +1,92 @@ |
|||
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
|||
<title>积分明细</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
|||
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script></head><body> |
|||
<div class="classreturn loginsignup"> |
|||
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
|||
<div class="ds-in-bl tit center"><span>积分明细</span></div> |
|||
</div> |
|||
|
|||
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script> |
|||
<style> |
|||
.money_list li{padding:15px;border-bottom:1px solid #ddd;}
|
|||
.money_list .tit{color:#000;font-size:18px;margin-bottom:5px;}
|
|||
.money_list .time{color:#8e8e8e;font-size:12px;}
|
|||
.money_list span{font-size:18px;float:right;vertical-align:middle;margin-top:12px;} |
|||
.money_list span.green{color:#f23030;}
|
|||
</style> |
|||
<div class="floor"> |
|||
<ul class="money_list cl"> |
|||
<?php if($list){foreach($list as $k=>$v){ ?>
|
|||
<li> |
|||
<span <?php if($v['type']==0){echo 'class="green"';} ?>><?php if($v['type']==0){echo '+';}else{echo '-';} ?> <?php echo $v['point']; ?></span>
|
|||
<div class="info"><p class="tit"><?php echo $v['des']; ?></p>
|
|||
<p class="time"><?php echo date('Y-m-d H:i:s',$v['add_time']); ?></p></div>
|
|||
</li> |
|||
<?php }} ?>
|
|||
</ul> |
|||
</div> |
|||
<script> |
|||
$(function(){ |
|||
var ajaxload = false; |
|||
var maxpage = false; |
|||
var startpage = 1; |
|||
var totalpage = <?php echo $totalpage; ?>;
|
|||
|
|||
var tmp_url = window.location.href; |
|||
msg = tmp_url.split("#"); |
|||
tmp_url = msg[0]; |
|||
|
|||
$(window).scroll(function () |
|||
{ |
|||
var listheight = $(".money_list").outerHeight(); |
|||
|
|||
if ($(document).scrollTop() + $(window).height() >= listheight) |
|||
{ |
|||
if(startpage >= totalpage) |
|||
{ |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
return false; |
|||
} |
|||
|
|||
if(!ajaxload && !maxpage) |
|||
{ |
|||
ajaxload = true; |
|||
//$("#submit_bt_one").html("努力加载中...");
|
|||
var url = tmp_url; |
|||
var nextpage = startpage+1; |
|||
|
|||
$.get(url,{page_ajax:1,page:nextpage},function(res) |
|||
{ |
|||
if(res) |
|||
{ |
|||
$(".money_list").append(res); |
|||
startpage++; |
|||
|
|||
if(startpage >= totalpage) |
|||
{ |
|||
maxpage = true; |
|||
//$("#submit_bt_one").html("已是最后一页,没有更多数据!");
|
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("点击加载更多");
|
|||
} |
|||
|
|||
ajaxload = false; |
|||
} |
|||
else |
|||
{ |
|||
//$("#submit_bt_one").html("请求失败,请稍候再试!");
|
|||
ajaxload = false; |
|||
} |
|||
},'json'); |
|||
} |
|||
} |
|||
}); |
|||
}); |
|||
</script> |
|||
|
|||
@include('weixin.common.footer') |
|||
</body></html> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue