DiverseYouthNightSchool/runtime/temp/d46811008f04313aa64e646a2d7...

431 lines
16 KiB
PHP
Raw Normal View History

2024-11-04 15:00:20 +08:00
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:103:"/www/wwwroot/testy.hschool.com.cn/public/../application/admin/view/xilufitness/analyse/index/index.html";i:1730687332;s:76:"/www/wwwroot/testy.hschool.com.cn/application/admin/view/layout/default.html";i:1725591948;s:73:"/www/wwwroot/testy.hschool.com.cn/application/admin/view/common/meta.html";i:1725591948;s:75:"/www/wwwroot/testy.hschool.com.cn/application/admin/view/common/script.html";i:1725591948;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">
<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php endif; ?>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="/assets/js/html5shiv.js"></script>
<script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
var require = {
config: <?php echo json_encode($config ?? ''); ?>
};
</script>
</head>
<body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
<div id="main" role="main">
<div class="tab-content tab-addtabs">
<div id="content">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<section class="content-header hide">
<h1>
<?php echo __('Dashboard'); ?>
<small><?php echo __('Control panel'); ?></small>
</h1>
</section>
<?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
<!-- RIBBON -->
<div id="ribbon">
<ol class="breadcrumb pull-left">
<?php if($auth->check('dashboard')): ?>
<li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
<?php endif; ?>
</ol>
<ol class="breadcrumb pull-right">
<?php foreach($breadcrumb as $vo): ?>
<li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<!-- END RIBBON -->
<?php endif; ?>
<div class="content">
<style type="text/css">
.sm-st {
background: #fff;
padding: 20px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin-bottom: 20px;
}
.sm-st-icon {
width: 60px;
height: 60px;
display: inline-block;
line-height: 60px;
text-align: center;
font-size: 30px;
background: #eee;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
float: left;
margin-right: 10px;
color: #fff;
}
.sm-st-info {
padding-top: 2px;
}
.sm-st-info span {
display: block;
font-size: 24px;
font-weight: 600;
}
.orange {
background: #fa8564 !important;
}
.tar {
background: #45cf95 !important;
}
.sm-st .green {
background: #86ba41 !important;
}
.pink {
background: #AC75F0 !important;
}
.yellow-b {
background: #fdd752 !important;
}
.stat-elem {
background-color: #fff;
padding: 18px;
border-radius: 40px;
}
.stat-info {
text-align: center;
background-color: #fff;
border-radius: 5px;
margin-top: -5px;
padding: 8px;
-webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
font-style: italic;
}
.stat-icon {
text-align: center;
margin-bottom: 5px;
}
.st-red {
background-color: #F05050;
}
.st-green {
background-color: #27C24C;
}
.st-violet {
background-color: #7266ba;
}
.st-blue {
background-color: #23b7e5;
}
.stats .stat-icon {
color: #28bb9c;
display: inline-block;
font-size: 26px;
text-align: center;
vertical-align: middle;
width: 50px;
float: left;
}
.stat {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
}
.stat .value {
font-size: 20px;
line-height: 24px;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 500;
}
.stat .name {
overflow: hidden;
text-overflow: ellipsis;
margin: 5px 0;
}
.stat.lg .value {
font-size: 26px;
line-height: 28px;
}
.stat-col {
margin: 0 0 10px 0;
}
.stat.lg .name {
font-size: 16px;
}
.stat-col .progress {
height: 2px;
}
.stat-col .progress-bar {
line-height: 2px;
height: 2px;
}
.item {
padding: 30px 0;
}
#statistics .panel {
min-height: 150px;
}
#statistics .panel h5 {
font-size: 14px;
}
.z_data_row {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
}
.z_data_row .data_item {
width: 20%;
padding: 15px 0 0;
text-align: center;
}
.z_data_row .num {
margin: 0 0 10px;
font-size: 24px;
font-weight: bold;
}
.z_title1 {
font-size: 18px;
font-weight: bold;
}
.panel{
background-color: unset;
box-shadow: unset;
}
.z_data_box{
margin: 0 0 15px;
padding: 15px;
background-color: #fff;
border-radius: 10px;
}
</style>
<div class="panel panel-default panel-intro">
<div class="panel-body">
<div id="myTabContent" class="tab-content">
<div class="tab-pane fade active in" id="one">
<section class="content">
<div class="z_data_box">
<div class="z_title1">课程统计</div>
<div class="z_data_row">
<div class="data_item">
<div class="num">
<?php echo (isset($courseAnalyse['course_1']) && ($courseAnalyse['course_1'] !== '')?$courseAnalyse['course_1']:'0'); ?>
</div>
<div>
<?php echo __('待开团课'); ?>
</div>
</div>
<div class="data_item">
<div class="num">
<?php echo (isset($courseAnalyse['course_2']) && ($courseAnalyse['course_2'] !== '')?$courseAnalyse['course_2']:'0'); ?>
</div>
<div>
<?php echo __('待开私教课'); ?>
</div>
</div>
<div class="data_item">
<div class="num">
<?php echo (isset($courseAnalyse['course_3']) && ($courseAnalyse['course_3'] !== '')?$courseAnalyse['course_3']:'0'); ?>
</div>
<div>
<?php echo __('待开活动'); ?>
</div>
</div>
<div class="data_item">
<div class="num">
<?php echo (isset($dayAnalyse['record_count']) && ($dayAnalyse['record_count'] !== '')?$dayAnalyse['record_count']:'0'); ?>
</div>
<div>
<?php echo __('今日核销课程数'); ?>
</div>
</div>
<div class="data_item">
<div class="num">
<?php echo (isset($dayAnalyse['sign_count']) && ($dayAnalyse['sign_count'] !== '')?$dayAnalyse['sign_count']:'0'); ?>
</div>
<div>
<?php echo __('今日报名数'); ?>
</div>
</div>
</div>
</div>
<div class="z_data_box">
<div class="z_title1">会员/财务/统计</div>
<div class="z_data_row">
<div class="data_item">
<div class="num">
<?php echo (isset($analyseData['user_count']) && ($analyseData['user_count'] !== '')?$analyseData['user_count']:'0'); ?>
</div>
<div>
<?php echo __('会员总数量'); ?>
</div>
</div>
<div class="data_item">
<div class="num">
<?php echo (isset($courseAnalyse['course_2']) && ($courseAnalyse['course_2'] !== '')?$courseAnalyse['course_2']:'0'); ?>
</div>
<div>
<?php echo __('今日会员注册数'); ?>
</div>
</div>
<?php if($is_fitness_shop != '1'): ?>
<div class="data_item">
<div class="num">
<?php echo (isset($dayAnalyse['recharge_amount']) && ($dayAnalyse['recharge_amount'] !== '')?$dayAnalyse['recharge_amount']:'0'); ?>
</div>
<div>
<?php echo __('今日充值金额'); ?>
</div>
</div>
<div class="data_item">
<div class="num">
<?php echo (isset($analyseData['recharge_total_amount']) && ($analyseData['recharge_total_amount'] !== '')?$analyseData['recharge_total_amount']:'0'); ?>
</div>
<div>
<?php echo __('充值总金额'); ?>
</div>
</div>
<?php endif; ?>
<div class="data_item">
<div class="num">
<?php echo (isset($analyseData['sign_total_amount']) && ($analyseData['sign_total_amount'] !== '')?$analyseData['sign_total_amount']:'0'); ?>
</div>
<div>
<?php echo __('报名总金额'); ?>
</div>
</div>
</div>
</div>
<div class="z_data_box">
<div class="z_title1">门店统计</div>
<div class="z_data_row">
<?php if($is_fitness_shop != '1'): ?>
<div class="data_item">
<div class="num">
<?php echo (isset($analyseData['shop_count']) && ($analyseData['shop_count'] !== '')?$analyseData['shop_count']:'0'); ?>
</div>
<div>
<?php echo __('门店数量'); ?>
</div>
</div>
<?php endif; ?>
<div class="data_item">
<div class="num">
<?php echo (isset($courseAnalyse['coach_count']) && ($courseAnalyse['coach_count'] !== '')?$courseAnalyse['coach_count']:'0'); ?>
</div>
<div>
<?php echo __('教练'); ?>
</div>
</div>
</div>
</div>
<div class="row" style="width: 100%; background: #fff;padding: 15px;margin: 0 0 15px;border-radius: 10px;">
<form action="" method="GET" role="form" data-toggle="validator" class="form-inline nice-validator n-default n-bootstrap" style="width: 100%;">
<div class="bg-w br5" style="margin-bottom: 10px;">
<a href="javascript:;" class="btn btn-primary btn-refresh"><i class="fa fa-refresh"></i></a>
<a href="javascript:;" class="btn btn-success btn-filter">今天</a>
<a href="javascript:;" class="btn btn-success btn-filter">昨天</a>
<a href="javascript:;" class="btn btn-success btn-filter">最近7天</a>
<a href="javascript:;" class="btn btn-success btn-filter">最近30天</a>
<a href="javascript:;" class="btn btn-success btn-filter">上月</a>
<a href="javascript:;" class="btn btn-success btn-filter">本月</a>
<div class="input-group" style="width: 40%;">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
<input type="text" name="row[search_date]" id="search_date"
class="form-control input-inline datetimerange"
placeholder="指定日期"
style="padding: 6px; border: 1px solid #dadee5; box-shadow: none;"
value="<?php echo isset($params['search_date'])?$params['search_date']: ''; ?>">
</div>
</div>
</form>
<div style="width: 100%;">
<div id="echart_order" class="btn-refresh" style="height: 300px; width: 100%; -webkit-tap-highlight-color: transparent; user-select: none; position: relative;"></div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>
</body>
</html>