mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改报表
This commit is contained in:
parent
48d5709fd1
commit
9658d4a665
@ -10,7 +10,7 @@
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if auth("clean")}-->
|
||||
<button data-queue='{:url("clean")}' class='layui-btn layui-btn-sm layui-btn-primary'>定时维护清理</button>
|
||||
<button data-queue='{:url("clean")}' class='layui-btn layui-btn-sm layui-btn-primary'>定时清理数据</button>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if auth("remove")}-->
|
||||
|
@ -138,19 +138,14 @@
|
||||
});
|
||||
chart2.setOption({
|
||||
title: {text: '用户等级分布统计', left: 'center'},
|
||||
legend: {orient: 'vertical', left: 'left'},
|
||||
tooltip: {trigger: 'item', formatter: '{a} <br/>{b} : {c} 人 ( {d}% )'},
|
||||
legend: {
|
||||
type: 'scroll', orient: 'vertical', right: 10, top: 20, bottom: 20, data: data2.map(function (item) {
|
||||
return item.title;
|
||||
})
|
||||
},
|
||||
grid: [{'top': '30%'}],
|
||||
series: [
|
||||
{
|
||||
name: '等级',
|
||||
name: '用户等级',
|
||||
type: 'pie',
|
||||
radius: '55%',
|
||||
center: ['40%', '50%'],
|
||||
radius: '60%',
|
||||
center: ['50%', '55%'],
|
||||
data: data2.map(function (item) {
|
||||
return {name: item.name, value: item.count}
|
||||
}),
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -24,6 +24,7 @@ fieldset {
|
||||
border-top-right-radius: @boxBorderRadius;
|
||||
|
||||
> li:first-child {
|
||||
padding:0 15px 0 17px;
|
||||
margin-left: 0 !important;
|
||||
border-top-left-radius: @boxBorderRadius;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user