mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改报表
This commit is contained in:
parent
48d5709fd1
commit
9658d4a665
@ -10,7 +10,7 @@
|
|||||||
<!--{/if}-->
|
<!--{/if}-->
|
||||||
|
|
||||||
<!--{if auth("clean")}-->
|
<!--{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}-->
|
||||||
|
|
||||||
<!--{if auth("remove")}-->
|
<!--{if auth("remove")}-->
|
||||||
|
@ -138,19 +138,14 @@
|
|||||||
});
|
});
|
||||||
chart2.setOption({
|
chart2.setOption({
|
||||||
title: {text: '用户等级分布统计', left: 'center'},
|
title: {text: '用户等级分布统计', left: 'center'},
|
||||||
|
legend: {orient: 'vertical', left: 'left'},
|
||||||
tooltip: {trigger: 'item', formatter: '{a} <br/>{b} : {c} 人 ( {d}% )'},
|
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: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '等级',
|
name: '用户等级',
|
||||||
type: 'pie',
|
type: 'pie',
|
||||||
radius: '55%',
|
radius: '60%',
|
||||||
center: ['40%', '50%'],
|
center: ['50%', '55%'],
|
||||||
data: data2.map(function (item) {
|
data: data2.map(function (item) {
|
||||||
return {name: item.name, value: item.count}
|
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;
|
border-top-right-radius: @boxBorderRadius;
|
||||||
|
|
||||||
> li:first-child {
|
> li:first-child {
|
||||||
|
padding:0 15px 0 17px;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
border-top-left-radius: @boxBorderRadius;
|
border-top-left-radius: @boxBorderRadius;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user