File: /www/wwwroot/cms.smpolia.com/runtime/temp/7565d0d3868dda09db495c285ad5c8e2.php
<?php /*a:3:{s:68:"/www/wwwroot/cms.smpolia.com/application/pay/view/payment/index.html";i:1663749615;s:69:"/www/wwwroot/cms.smpolia.com/application/admin/view/index_layout.html";i:1663749615;s:62:"/www/wwwroot/cms.smpolia.com/application/admin/view/layui.html";i:1663749615;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>YZNCMS后台管理系统</title>
<meta name="author" content="YZNCMS">
<meta name="csrf-token" content="<?php echo think\facade\Request::token('__token__'); ?>">
<link rel="stylesheet" href="/static/libs/layui/css/layui.css">
<link rel="stylesheet" href="/static/admin/css/admin.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
<link rel="stylesheet" href="/static/common/font/iconfont.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
<script src="/static/libs/layui/layui.js"></script>
<script src="/static/libs/jquery/jquery.min.js"></script>
<script type="text/javascript">
//全局变量
var GV = {
'site':<?php echo json_encode($site); ?>,
'image_upload_url': '<?php echo !empty($image_upload_url) ? htmlentities($image_upload_url) : url("attachment/upload/upload", ["dir" => "images"]); ?>',
'file_upload_url': '<?php echo !empty($file_upload_url) ? htmlentities($file_upload_url) : url("attachment/upload/upload", ["dir" => "files"]); ?>',
'ueditor_upload_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) : url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor"]); ?>',
'attachment_select_url': '<?php echo !empty($attachment_select_url) ? htmlentities($attachment_select_url) : url("attachment/attachments/select"); ?>',
};
</script>
</head>
<body class="childrenBody <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
<div class="layui-card">
<div class="layui-card-header">入账记录</div>
<div class="layui-card-body">
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this"><a href="<?php echo url('payment/index'); ?>">入账记录</a></li>
<li><a href="<?php echo url('spend/index'); ?>">消费记录</a></li>
<li><a href="<?php echo url('payment/pay_list'); ?>">支付模块</a></li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show"><table class="layui-hide" id="currentTable" lay-filter="currentTable"></table></div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
layui.config({
version: '<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>',
base: '/static/libs/layui_exts/'
}).extend({
yzn: 'yzn/yzn',
yznForm: 'yznForm/yznForm',
yznTable: 'yznTable/yznTable',
treeGrid: 'treeGrid/treeGrid',
clipboard: 'clipboard/clipboard.min',
notice: 'notice/notice.min',
iconPicker: 'iconPicker/iconPicker.min',
ztree: 'ztree/ztree',
dragsort: 'dragsort/dragsort.min',
tagsinput: 'tagsinput/tagsinput',
xmSelect: 'xmSelect/xm-select',
selectPage: 'selectPage/selectpage.min',
echarts: 'echarts/echarts',
echartsTheme: 'echarts/echartsTheme',
citypicker: 'citypicker/city-picker',
webuploader: 'webuploader/webuploader',
ueditor: 'ueditor/ueditor.min',
}).use('yznForm');
</script>
<script>
layui.use('yznTable', function() {
var table = layui.yznTable;
var init = {
table_elem: '#currentTable',
table_render_id: 'currentTable',
delete_url: "<?php echo url('del'); ?>",
};
table.render({
init: init,
toolbar: ['refresh',
[{
text: '在线充值',
url: '<?php echo url("payment/modify_deposit"); ?>',
method: 'open',
class: 'layui-btn layui-btn-sm',
icon:'iconfont icon-money',
}],
],
url: '<?php echo url("index"); ?>',
cols: [
[
{ field: 'trade_sn', align: "left", title: '订单号' },
{ field: 'username', width: 120, title: '用户名' },
{ field: 'pay_type', width: 120, title: '业务方式' },
{ field: 'payment', width: 120, title: '支付方式' },
{ field: 'money', width: 120, title: '支付金额', templet: '<div>{{ d.money }} {{# if(d.type==1){ }} 元 {{# } else { }} 点 {{# } }}</div>' },
{ field: 'addtime', width: 180, title: '创建时间', search: 'range' },
{ field: 'paytime', width: 180, title: '支付时间', templet: '<div>{{# if(d.paytime){ }} {{d.paytime}} {{# } else { }} / {{# } }}</div>', search: 'range' },
{ field: 'ip', width: 180, title: 'IP' },
{ field: 'status', width: 120, align: "center", title: '订单状态', templet: '<div>{{# if(d.status=="交易成功"){ }} <button type="button" class="layui-btn layui-btn-xs">{{d.status}}</button> {{# } else { }} <button type="button" class="layui-btn layui-btn-xs layui-btn-danger">{{d.status}}</button> {{# } }}</div>' },
{ width:80, title: '操作',templet: yznTable.formatter.tool,operat: ['delete']}
]
],
page: {}
});
});
</script>
</body>
</html>