2020-08-21 12:32:16 +08:00
|
|
|
{$layout}
|
|
|
|
|
|
2021-01-25 16:40:49 +08:00
|
|
|
{$var "header"}
|
|
|
|
|
<!-- echart -->
|
|
|
|
|
<script type="text/javascript" src="/js/echarts/echarts.min.js"></script>
|
|
|
|
|
{$end}
|
|
|
|
|
|
2020-09-06 16:19:34 +08:00
|
|
|
{$template "/left_menu"}
|
2020-08-21 12:32:16 +08:00
|
|
|
<div class="right-box">
|
2021-01-25 16:40:49 +08:00
|
|
|
{$ if eq .statIsOn false}
|
|
|
|
|
<p class="ui message">
|
|
|
|
|
要想查看统计数据,需要先开启统计功能,<a :href="'/servers/server/settings/stat?serverId=' + serverId">[点击这里]</a>修改配置。
|
|
|
|
|
</p>
|
|
|
|
|
{$else}
|
|
|
|
|
<h4>地区排行</h4>
|
|
|
|
|
<div class="chart-box" id="country-chart">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4>省市排行</h4>
|
|
|
|
|
<div class="chart-box" id="province-chart">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h4>城市排行</h4>
|
|
|
|
|
<div class="chart-box" id="city-chart">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
{$end}
|
2020-08-21 12:32:16 +08:00
|
|
|
</div>
|