69 lines
12 KiB
PHP
69 lines
12 KiB
PHP
<?php /*a:2:{s:64:"/www/wwwroot/app.cxhxy.dev.1nww.com/app/admin/view/user/pay.html";i:1700552721;s:69:"/www/wwwroot/app.cxhxy.dev.1nww.com/app/admin/view/layout/layout.html";i:1700552721;}*/ ?>
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<title>管理后台 - <?php echo htmlentities($web['name']); ?></title>
|
||
<meta name="author" content="<?php echo htmlentities($web['name']); ?>">
|
||
<meta name="keywords" content="<?php echo htmlentities($web['keywords']); ?>">
|
||
<meta name="description" content="<?php echo htmlentities($web['description']); ?>">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<meta name="referrer" content="no-referrer-when-downgrade">
|
||
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||
<link rel="stylesheet" href="/assets/plugins/amazeui/amazeui.css?v=<?php echo htmlentities($version); ?>" />
|
||
<link rel="stylesheet" href="/assets/css/hema.app.css?v=<?php echo htmlentities($version); ?>" />
|
||
<link rel="stylesheet" href="/addons/upload/css/file.library.css?v=<?php echo htmlentities($version); ?>" />
|
||
<link rel="stylesheet" href="/assets/plugins/iconfont/iconfont.css?v=<?php echo htmlentities($version); ?>">
|
||
<script src="/assets/plugins/jquery/jquery.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/plugins/iconfont/iconfont.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script>
|
||
BASE_URL = '<?php echo isset($base_url) ? $base_url : ''; ?>';
|
||
STORE_URL = '<?php echo isset($store_url) ? $store_url : ''; ?>';
|
||
APPLET_ID = '<?php echo isset($applet_id) ? $applet_id : 0; ?>';
|
||
</script>
|
||
</head>
|
||
<body data-type="">
|
||
<div class="am-g tpl-g">
|
||
<!-- 头部 -->
|
||
<header class="tpl-header">
|
||
<!-- 右侧内容 -->
|
||
<div class="tpl-header-fluid">
|
||
<!-- 侧边切换 -->
|
||
<div class="am-fl tpl-header-button switch-button"> <i class="iconfont iconzhedie"></i> </div>
|
||
<!-- 刷新页面 -->
|
||
<div class="am-fl tpl-header-button refresh-button"> <i class="iconfont iconshuaxin"></i> </div>
|
||
<!-- 其它功能-->
|
||
<div class="am-fr tpl-header-navbar">
|
||
<ul>
|
||
<!-- 当前版本 -->
|
||
<li class="am-text-sm">
|
||
<a href="javascript:void(0);" class="hemaphp-upgrade">
|
||
<small style="color:#ccc;">版本:V<?php echo htmlentities($version); ?></small>
|
||
<?php if($is_new): ?>
|
||
<div class="news"></div>
|
||
<?php endif; ?>
|
||
</a>
|
||
</li>
|
||
<!-- 欢迎语 -->
|
||
<li class="am-text-sm">
|
||
<div class="am-dropdown" data-am-dropdown="{boundary: '.am-topbar'}">
|
||
<div class="am-topbar-btn am-dropdown-toggle" data-am-dropdown-toggle>
|
||
<img src="/assets/img/avatar.png" />
|
||
<?php echo htmlentities((isset($user['user']['user_name']) && ($user['user']['user_name'] !== '')?$user['user']['user_name']:'')); ?>
|
||
<span class="am-icon-caret-down"></span>
|
||
</div>
|
||
<ul class="am-dropdown-content">
|
||
<li><a href="<?php echo url('passport/renew'); ?>">修改密码</a></li>
|
||
<li><a href="<?php echo url('passport/logout'); ?>">安全退出</a></li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</header> <!-- 侧边导航栏 -->
|
||
<div class="left-sidebar dis-flex">
|
||
<?php $menus = $menus ?: []; $group = $group ?: 0; $second = isset($menus[$group]['submenu']) ? $menus[$group]['submenu'] : []?>
|
||
<!-- 一级菜单 -->
|
||
<ul class="sidebar-nav">
|
||
<li class="sidebar-nav-heading">管理后台</li> <?php foreach($menus as $key=>$item): ?> <li
|
||
class="sidebar-nav-link"> <a
|
||
href="<?php echo isset($item['index']) ? url($item['index']) : 'javascript:void(0);'; ?>"
|
||
class="<?php echo !empty($item['active']) ? 'active' : ''; ?>"> <?php if((isset($item['is_svg']) && ($item['is_svg'] == true))): ?>
|
||
<svg class="icon sidebar-nav-link-logo" aria-hidden="true">
|
||
<use xlink:href="#<?php echo htmlentities($item['icon']); ?>"></use>
|
||
</svg> <?php else: ?> <i class="iconfont sidebar-nav-link-logo <?php echo htmlentities($item['icon']); ?>"
|
||
style="{isset($item.color) ? 'color:'.$item.color.';' : '' }"></i> <?php endif; ?> <?php echo htmlentities($item['name']); ?>
|
||
</a> </li> <?php endforeach; ?>
|
||
</ul> <!-- 子级菜单--> <?php if((sizeof($second) > 0)): ?> <ul class="left-sidebar-second">
|
||
<li class="sidebar-second-title"><?php echo htmlentities($menus[$group]['name']); ?></li>
|
||
<li class="sidebar-second-item"> <?php foreach($second as $key=>$item): if((!isset($item['submenu']))): ?>
|
||
<!-- 二级菜单--> <a href="<?php echo url($item['index']); ?>" class="<?php echo !empty($item['active']) ? 'active' : ''; ?>">
|
||
<?php echo htmlentities($item['name']); ?> </a> <?php else: ?>
|
||
<!-- 三级菜单-->
|
||
<div class="sidebar-third-item"> <a href="javascript:void(0);"
|
||
class="sidebar-nav-sub-title <?php echo !empty($item['active']) ? 'active' : ''; ?>"> <i
|
||
class="iconfont icongengduo"></i> <?php echo htmlentities($item['name']); ?> </a>
|
||
<ul class="sidebar-third-nav-sub"> <?php foreach($item['submenu'] as $third): ?> <li> <a
|
||
class="<?php echo !empty($third['active']) ? 'active' : ''; ?>" href="<?php echo url($third['index']); ?>">
|
||
<?php echo htmlentities($third['name']); ?> </a> </li> <?php endforeach; ?> </ul>
|
||
</div> <?php endif; ?> <?php endforeach; ?>
|
||
</li>
|
||
</ul> <?php endif; ?>
|
||
</div> <!-- 内容区域 start -->
|
||
<div class="tpl-content-wrapper <?php echo sizeof($second) == 0 ? 'no-sidebar-second' : ''; ?>"> <div class="row-content am-cf">
|
||
<div class="row">
|
||
<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
|
||
<div class="widget am-cf">
|
||
<div class="widget-head am-cf">
|
||
<div class="widget-title am-cf">交易记录</div>
|
||
</div>
|
||
<div class="widget-body am-fr">
|
||
<div class="am-scrollable-horizontal am-u-sm-12">
|
||
<table width="100%" class="am-table am-table-hover tpl-table-black">
|
||
<thead>
|
||
<tr>
|
||
<th>编号</th>
|
||
<th>用户</th>
|
||
<th>单号</th>
|
||
<th>模式</th>
|
||
<th>类型</th>
|
||
<th>数值</th>
|
||
<th>备注</th>
|
||
<th>时间</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<?php if(!$list->isEmpty()): foreach($list as $item): ?>
|
||
<tr>
|
||
<td class="am-text-middle">
|
||
<p class="item-title"><?php echo htmlentities($item['record_id']); ?></p>
|
||
</td>
|
||
<td class="am-text-middle">
|
||
<div class="goods-detail">
|
||
<div class="goods-image">
|
||
<img src="<?php echo htmlentities($item['user']['avatar']); ?>" alt="">
|
||
</div>
|
||
<div class="goods-info dis-flex flex-dir-column flex-x-center">
|
||
<p class="goods-title">I D :<?php echo htmlentities($item['user']['user_id']); ?></p>
|
||
<p class="goods-title">昵称:<?php echo htmlentities($item['user']['nickname']); ?></p>
|
||
<p class="goods-title">电话:<?php echo htmlentities((isset($item['user']['phone']) && ($item['user']['phone'] !== '')?$item['user']['phone']:'--')); ?></p>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
<td class="am-text-middle"><?php echo htmlentities($item['order_no']); ?></td>
|
||
<td class="am-text-middle"><?php echo htmlentities($item['mode']['text']); ?></td>
|
||
<td class="am-text-middle"><?php echo htmlentities($item['type']['text']); ?></td>
|
||
<td class="am-text-middle"><?php echo htmlentities($item['money']); ?></td>
|
||
<td class="am-text-middle"><?php echo htmlentities((isset($item['remark']) && ($item['remark'] !== '')?$item['remark']:'--')); ?></td>
|
||
<td class="am-text-middle"><?php echo htmlentities($item['create_time']); ?></td>
|
||
</tr>
|
||
<?php endforeach; else: ?>
|
||
<tr>
|
||
<td colspan="8" class="am-text-center">暂无记录</td>
|
||
</tr>
|
||
<?php endif; ?>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="am-u-lg-12 am-cf">
|
||
<div class="am-fr"><?php echo $list->render(); ?> </div>
|
||
<div class="am-fr pagination-total am-margin-right">
|
||
<div class="am-vertical-align-middle">总记录:<?php echo $list->total(); ?></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
<!-- 内容区域 end -->
|
||
<div class="am-modal am-modal-loading am-modal-no-btn" tabindex="-1" id="addons-loading"></div>
|
||
</div>
|
||
<script src="/assets/plugins/vue/vue.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/plugins/layer/layer.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/plugins/jquery/jquery.form.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/plugins/amazeui/amazeui.min.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/js/hema.app.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/js/webuploader.html5only.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/assets/js/art-template.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script src="/addons/upload/js/file.library.js?v=<?php echo htmlentities($version); ?>"></script>
|
||
<script>
|
||
$(function() {
|
||
// 状态操作
|
||
$('.hemaphp-upgrade').click(function () {
|
||
var is_new = '<?php echo htmlentities($is_new); ?>';
|
||
if(is_new){
|
||
layer.confirm('您确定要进行升级?', {
|
||
title: '友情提示',
|
||
icon: 0,
|
||
btn:['取消','确定'],
|
||
skin: 'layui-layer-hema',
|
||
cancel : function(){
|
||
// 你点击右上角 X 回调
|
||
},
|
||
btn1:function(index,layero){
|
||
layer.close(index);
|
||
},
|
||
btn2:function(index){
|
||
$("#addons-loading").html('<div class="am-modal-dialog"><div class="am-modal-hd">系统升级中,请等待...</div><div class="am-modal-bd"><span class="am-icon-spinner am-icon-spin"></span></div></div>');
|
||
$("#addons-loading").modal('open');
|
||
$.post('/admin/addon/hemaphpUpgrade', {}, function (result) {
|
||
$("#addons-loading").modal('close');
|
||
if(typeof(result) == 'string'){
|
||
result = JSON.parse(result);
|
||
}
|
||
result.code === 1 ? $.show_success(result.msg, result.url) : $.show_error(result.msg);
|
||
});
|
||
layer.close(index);
|
||
},
|
||
end:function() {
|
||
//所有操作都会执行
|
||
}
|
||
});
|
||
return true;
|
||
}
|
||
$.show_error('已是最新版本');
|
||
});
|
||
});
|
||
</script>
|
||
</body>
|
||
</html>
|