12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {template 'common/header'}
- <ul class="we7-page-tab">
- <li class="active"><a href="{url 'statistics/account'}">所有公众号流量统计</a></li>
- <li><a href="{url 'statistics/account/app_display'}">所有公众号app端访问统计</a></li>
- </ul>
- <div class="api">
- <div class="panel we7-panel api-target">
- <div class="panel-heading">今日/昨日关键指标</div>
- <div class="panel-body we7-padding-vertical">
- <div class="col-sm-4 text-center">
- <div class="title">整站流量总访问值</div>
- <div>
- <span class="today">{$today}</span>
- <span class="yesterday">/ {$yesterday}</span>
- </div>
- </div>
- </div>
- </div>
- <div class="panel we7-panel" id="js-system-account-analysis" ng-controller="systemAccountAnalysisCtrl" ng-cloak>
- <div class="panel-heading tab">
- <a href="javascript:;">关键指标详解</a>
- <a href="javascript:;" class="active">所有公众号流量访问值</a>
- </div>
- <div class="panel-body data-view">
- <div class="tab-bar-time clearfrix">
- <span class="we7-margin-right">时间</span>
- <div class="btn-group" role="group">
- <button type="button" class="btn btn-default" ng-class="{'active': timeType == 'week'}" ng-click="getAccountApi('week')">周统计</button>
- <button type="button" class="btn btn-default" ng-class="{'active': timeType == 'month'}" ng-click="getAccountApi('month')">月统计</button>
- <div class="btn-group" role="group" ng-class="{'active': timeType == 'daterange'}">
- <button class="btn btn-default daterange daterange-date" we7-date-range-picker ng-model="dateRange"><span>{{dateRange.startDate}} </span>至<span> {{dateRange.endDate}}</span> <i class="fa fa-calendar"></i></button>
- </div>
- </div>
- </div>
- <div class="col-sm-12" id="chart-line" style="height:500px"></div>
- </div>
- </div>
- </div>
- <script>
- require(['daterangepicker'], function() {
- angular.module('statisticsApp').value('config', {
- 'links': {
- 'accountApi': "{php echo url('statistics/account/get_account_api')}",
- },
- });
- angular.bootstrap($('#js-system-account-analysis'), ['statisticsApp']);
- })
- </script>
- {template 'common/footer'}
|