<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:66:"/www/wwwroot/10.168.1.202/public/../app/index/view/admin/home.html";i:1611631006;}*/ ?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>工作台 - 6gym.com 6G源码 </title>
    <link rel="stylesheet" href="/static/assets/libs/layui/css/layui.css"/>
    <link rel="stylesheet" href="/static/assets/module/admin.css?v=318"/>
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        /** 应用快捷块样式 */
        .console-app-group {
            padding: 16px;
            border-radius: 4px;
            text-align: center;
            background-color: #fff;
            cursor: pointer;
            display: block;
        }

        .console-app-group .console-app-icon {
            width: 32px;
            height: 32px;
            line-height: 32px;
            margin-bottom: 6px;
            display: inline-block;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            font-size: 32px;
            color: #69c0ff;
        }

        .console-app-group:hover {
            box-shadow: 0 0 15px rgba(0, 0, 0, .08);
        }

        /** //应用快捷块样式 */

        /** 小组成员 */
        .console-user-group {
            position: relative;
            padding: 10px 0 10px 60px;
        }

        .console-user-group .console-user-group-head {
            width: 32px;
            height: 32px;
            position: absolute;
            top: 50%;
            left: 12px;
            margin-top: -16px;
            border-radius: 50%;
        }

        .console-user-group .layui-badge {
            position: absolute;
            top: 50%;
            right: 8px;
            margin-top: -10px;
        }

        .console-user-group .console-user-group-name {
            line-height: 1.2;
        }

        .console-user-group .console-user-group-desc {
            color: #8c8c8c;
            line-height: 1;
            font-size: 12px;
            margin-top: 5px;
        }

        /** 卡片轮播图样式 */
        .admin-carousel .layui-carousel-ind {
            position: absolute;
            top: -41px;
            text-align: right;
        }

        .admin-carousel .layui-carousel-ind ul {
            background: 0 0;
        }

        .admin-carousel .layui-carousel-ind li {
            background-color: #e2e2e2;
        }

        .admin-carousel .layui-carousel-ind li.layui-this {
            background-color: #999;
        }

        /** 广告位轮播图 */
        .admin-news .layui-carousel-ind {
            height: 45px;
        }

        .admin-news a {
            display: block;
            line-height: 70px;
            text-align: center;
        }

        /** 最新动态时间线 */
        .layui-timeline-dynamic .layui-timeline-item {
            padding-bottom: 0;
        }

        .layui-timeline-dynamic .layui-timeline-item:before {
            top: 16px;
        }

        .layui-timeline-dynamic .layui-timeline-axis {
            width: 9px;
            height: 9px;
            left: 1px;
            top: 7px;
            background-color: #cbd0db;
        }

        .layui-timeline-dynamic .layui-timeline-axis.active {
            background-color: #0c64eb;
            box-shadow: 0 0 0 2px rgba(12, 100, 235, .3);
        }

        .dynamic-card-body {
            box-sizing: border-box;
            overflow: hidden;
        }

        .dynamic-card-body:hover {
            overflow-y: auto;
            /** padding-right: 9px; */
        }

        /** 优先级徽章 */
        .layui-badge-priority {
            border-radius: 50%;
            width: 20px;
            height: 20px;
            padding: 0;
            line-height: 18px;
            border-width: 2px;
            font-weight: 600;
        }
    </style>
</head>
<body>
<!-- 正文开始 -->
<div class="layui-fluid ew-console-wrapper">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
            <div class="layui-card">
                <div class="layui-card-header">
                    今日<span class="layui-badge layui-badge-green pull-right">金额</span>
                </div>
                <div class="layui-card-body">
                    <p class="lay-big-font"><?php echo $tj_data['jr_pay']; ?> <span style="font-size: 22px;line-height: 1;">元</span></p>
                    <p>昨日<span class="pull-right"><?php echo $tj_data['zr_pay']; ?> 元</span></p>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
            <div class="layui-card">
                <div class="layui-card-header">
                    今日<span class="layui-badge layui-badge-blue pull-right">订单量</span>
                </div>
                <div class="layui-card-body">
                    <p class="lay-big-font"><?php echo $tj_data['jr_count']; ?> <span style="font-size: 22px;line-height: 1;">笔</span></p>
                    <p>昨日<span class="pull-right"><?php echo $tj_data['zr_count']; ?> 笔</span></p>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
            <div class="layui-card">
                <div class="layui-card-header">
                    今日<span class="layui-badge layui-badge-red pull-right">手续费</span>
                </div>
                <div class="layui-card-body">
                    <p class="lay-big-font"><?php echo $tj_data['jr_sxf']; ?> <span style="font-size: 22px;line-height: 1;">元</span></p>
                    <p>昨日<span class="pull-right"><?php echo $tj_data['zr_sxf']; ?> 元</span></p>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md3">
            <div class="layui-card">
                <div class="layui-card-header">
                    商户总数
                    <span class="icon-text pull-right" lay-tips="商户" lay-direction="4" lay-offset="5px,5px">
                        <i class="layui-icon layui-icon-tips"></i>
                    </span>
                </div>
                <div class="layui-card-body">
                    <p class="lay-big-font"><?php echo $tj_data['user_num']; ?> <span style="font-size: 22px;line-height: 1;">位</span></p>
                    <p>今日新增<span class="pull-right"><?php echo $tj_data['user_hy']; ?> 人</span></p>
                </div>
            </div>
        </div>
    </div>
    <!-- 快捷方式 -->
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm2" style="padding-bottom: 0;">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-xs6 layui-col-sm12">
                    <div class="console-app-group" ew-href="<?php echo url('admin/user'); ?>" ew-title="商户列表">
                        <i class="console-app-icon layui-icon layui-icon-group"
                           style="font-size: 26px;padding-top: 3px;margin-right: 6px;"></i>
                        <div class="console-app-name">商户列表</div>
                    </div>
                </div>
                <div class="layui-col-xs6 layui-col-sm12">
                    <div class="console-app-group" ew-href="<?php echo url('admin/orders'); ?>" ew-title="支付订单">
                        <i class="console-app-icon layui-icon layui-icon-chart" style="color: #95de64;"></i>
                        <div class="console-app-name">支付订单</div>
                    </div>
                </div>
                <div class="layui-col-xs6 layui-col-sm12">
                    <div class="console-app-group" ew-href="<?php echo url('admin/land'); ?>" ew-title="通道账户">
                        <i class="console-app-icon layui-icon layui-icon-cart" style="color: #ff9c6e;"></i>
                        <div class="console-app-name">通道账户</div>
                    </div>
                </div>
                <div class="layui-col-xs6 layui-col-sm12">
                    <div class="console-app-group" ew-href="<?php echo url('admin/log'); ?>" ew-title="手续费订单">
                        <i class="console-app-icon layui-icon layui-icon-form"
                           style="color: #b37feb;font-size: 30px;"></i>
                        <div class="console-app-name">手续费订单</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-sm6" style="padding-bottom: 0;">
            <div class="layui-row layui-col-space15">
             <div class="layui-col-xs12 layui-col-sm6 layui-col-md12">
         
         <div class="layui-col-xs12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-tab layui-tab-brief" lay-filter="tabZZT">
                        <ul class="layui-tab-title">
                            <li class="layui-this">订单数量</li>
                            <li>成交金额</li>
                            <li>手续费金额</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <div class="layui-row layui-col-space30">
                                    <div class="layui-col-xs12 layui-col-md12">
                                        <div id="xse" style="height: 300px;margin-top: 20px;"></div>
                                    </div>
                                   
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <div class="layui-row layui-col-space30">
                                    <div class="layui-col-xs12 layui-col-md12">
                                        <div id="fwl" style="height: 300px;margin-top: 20px;"></div>
                                    </div>
                                    
                                </div>
                            </div>
                            
                             <div class="layui-tab-item">
                                <div class="layui-row layui-col-space30">
                                    <div class="layui-col-xs12 layui-col-md12">
                                        <div id="sxf" style="height: 300px;margin-top: 20px;"></div>
                                    </div>
                                    
                                </div>
                            </div>
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
         </div>   
            </div>
        </div>
            <div class="layui-col-sm4" style="padding-bottom: 0;">
            <div class="layui-row layui-col-space15">
             <div class="layui-col-xs12 layui-col-sm6 layui-col-md12">
         
             <div class="layui-col-xs12">
           <div class="layui-card">
                <div class="layui-card-header">系统信息</div>
                <div class="layui-card-body">
                    <table class="layui-table layui-text">
                        <colgroup>
                            <col width="90">
                            <col>
                        </colgroup>
                        <tbody>
                       
                           
                            <tr>
                                <td>系统名称</td>
                                <td><?php echo $name; ?></td>
                            </tr>
                            <tr>
                                <td>系统类型</td>
                                <td><?php echo $web_type; ?></td>
                            </tr>
                       
                             <tr>
                                <td>系统版本</td>
                                <td><?php echo $version; ?></td>
                             </tr> 
                             
                        
                        
                       
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
       
         </div>    
         <div class="layui-col-xs12 layui-col-sm6 layui-col-md12">
         <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">系统更新（2021-01-26）</div>
                        <div class="layui-card-body dynamic-card-body mini-bar" style="height: 160px;">
                            <ul class="layui-timeline layui-timeline-dynamic">
                                <li>
                                  <p><h3>2021-01-26</h3></p>  
                                   <p>1, 账号页面新增通道分类搜索账号</p> 
                                   <p>2, 异常配置新增触发操作（删除账号）</p> 
                                   <p>3, 新增支付网关控制</p> 
                                   <p>4, 新增Q币任意金额通道</p> 
                                   <p>5, 订单页新增订单状态查询</p> 

                                </li>
                               
                                <li>
                                  <p><h3>2021-01-14</h3></p>  
                                  <p>1, 新增后台可控制订单超时时间</p>  
                                  <p>2, YY陪玩支付宝新增H5方式</p>  
                                  <p>3, 新增后台可控制订单支付成功或超时等是否弹窗提示</p>  

                                </li>
                                <hr>
                                 <li>
                                 <p><h3>2021-01-10</h3></p>  
                                  <p>1, 我的账号页面完善支持模糊搜索</p>  
                                  <p>2, 订单类页面完善订单号支持模糊搜索</p>  
                                  <p>3, 订单类页面支持选中删除订单</p>  
                                  <p>4, 新增可控制商户注册开关功能</p>  
                                
                                </li>
                                <hr>
                                <li>
                                 <p><h3>2021-01-07</h3></p>  
                                  <p>1, 新增DNF任意金额通道</p>  
                                  <p>2, 新增剑灵任意金额通道</p>  
                                  <p>3, 抖音新增支付宝,微信PC端扫码方式</p>  
                                  <p>4, 新增后端验证是否已支付,防止掉单</p>  
                                  <p>5, 新增YY直播（Y币）新版，只需输入YY号即可</p>  
                                </li>
                                <hr>
                                <li>
                                 <p><h3>2020-12-31</h3></p>  
                                 <p>1, 支付系统新增虎牙【支付宝】方式</p>
                                 <p>2, 支付系统新增虎牙金豆（支付宝，微信）通道</p>
                                 <p>3, 商户系统新增账号定时限量控制</p>
                                </li>
                                <hr>
                                <li>
                                 <p><h3>2020-12-30</h3></p>  
                                 <p>1, 管理系统新增商户指定可用通道</p>
                                 <p>2, 支付系统新增YY直播【支付宝】方式</p>
                                 <p>3, 支付系统新增YY陪玩【支付宝】方式</p>
                                 <p>4, 商户系统新增账号异常配置</p>
                                 <p>5, 商户系统新增账号发起支付测试</p>
                                </li>
                                <hr>
                                <li>
                                 <p><h3>2020-12-21</h3></p> 
                                 <p>1, 系统全新上线，正式推出部署搭建</p>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
         
      
   
</div>
<!-- js部分 -->
<script type="text/javascript" src="/static/assets/libs/layui/layui.js"></script>
<script type="text/javascript" src="/static/assets/js/common.js?v=318"></script>
<script src="/static/assets/libs/echarts/echarts.min.js"></script>
<script src="/static/assets/libs/echarts/echartsTheme.js"></script>
<script>
    layui.use(['layer', 'carousel', 'element'], function () {
        var $ = layui.jquery;
        var layer = layui.layer;
        var carousel = layui.carousel;
        var device = layui.device();
        var element = layui.element;
        // 渲染轮播
        carousel.render({
            elem: '#workplaceNewsCarousel',
            width: '100%',
            height: '70px',
            arrow: 'none',
            autoplay: true,
            trigger: device.ios || device.android ? 'click' : 'hover',
            anim: 'fade'
        });
        
         // 渲染销售额图表
        var myCharts3 = echarts.init(document.getElementById('xse'), myEchartsTheme);
        var option3 = {
            title: {
                text: '成交订单数（笔）',
                textStyle: {
                    color: '#000',
                    fontSize: 14
                }
            },
            tooltip: {},
            grid: {
                left: '0',
                right: '0',
                bottom: '0',
                containLabel: true
            },
            xAxis: {
                data: eval(<?php echo $time; ?>)
            },
            yAxis: {},
            series: [{
                type: 'bar',
                data: eval(<?php echo $biao_count; ?>),
                barMaxWidth: 45
            }]
        };
        myCharts3.setOption(option3);

        // 渲染访问量图表
        var myCharts4 = echarts.init(document.getElementById('fwl'), myEchartsTheme);
        var option4 = {
            title: {
                text: '成交订单金额（元）',
                textStyle: {
                    color: '#000',
                    fontSize: 14
                }
            },
            tooltip: {},
            grid: {
                left: '0',
                right: '0',
                bottom: '0',
                containLabel: true
            },
            xAxis: {
                data: eval(<?php echo $time; ?>)
            },
            yAxis: {},
            series: [{
                type: 'bar',
                data: eval(<?php echo $biao_money; ?>),
                barMaxWidth: 45
            }]
        };
        myCharts4.setOption(option4);
        
         // 渲染手续费图表
        var myCharts5 = echarts.init(document.getElementById('sxf'), myEchartsTheme);
        var option5 = {
            title: {
                text: '手续费金额（元）',
                textStyle: {
                    color: '#000',
                    fontSize: 14
                }
            },
            tooltip: {},
            grid: {
                left: '0',
                right: '0',
                bottom: '0',
                containLabel: true
            },
            xAxis: {
                data: eval(<?php echo $time; ?>)
            },
            yAxis: {},
            series: [{
                type: 'bar',
                data: eval(<?php echo $sxf_money; ?>),
                barMaxWidth: 45
            }]
        };
        myCharts5.setOption(option5);

        // 切换选项卡重新渲染
        element.on('tab(tabZZT)', function (data) {
            if (data.index == 0) {
                myCharts3.resize();
            } else if(data.index == 1) {
                myCharts4.resize();
            } else {
                myCharts5.resize();
            }
        });

        // 窗口大小改变事件
        window.onresize = function () {
            myCharts3.resize();
            myCharts4.resize();
            myCharts5.resize();
        };

    });
</script>
</body>
</html>
