【修改】首页对齐展示

This commit is contained in:
fengachen
2022-09-07 10:21:54 +08:00
parent 2573ad49e3
commit 29f538b1d5
4 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -70,7 +70,7 @@ const columns = [
{
title: '',
align: 'center',
width: 150,
width: 100,
dataIndex: 'indexName',
scopedSlots: {customRender: 'text'}
},
@@ -167,8 +167,8 @@ export default {
option = {
color:['#069F99','#FFA17A'],
grid: {
left: '0%',
right: '2%',
left: '4%',
right: '0%',
bottom: '3%',
containLabel: true
},
@@ -66,7 +66,7 @@ const columns = [
{
title: '',
align: 'center',
width: 150,
width: 100,
dataIndex: 'indexName',
scopedSlots: {customRender: 'text'}
},
@@ -161,8 +161,8 @@ export default {
option = {
color: ['#069F99', '#FFA17A'],
grid: {
left: '0%',
right: '2%',
left: '3%',
right: '0%',
bottom: '3%',
containLabel: true
},
+5 -5
View File
@@ -14,7 +14,7 @@
bordered
rowKey="projectId"
:columns="columns"
:scroll="{x: 1500}"
:scroll="{x: 1100}"
:dataSource="dataSource"
:pagination="false"
:loading="loading"
@@ -74,7 +74,7 @@ const columns = [
{
title: '',
align: 'center',
width: 150,
width: 90,
dataIndex: 'indexName',
scopedSlots: {customRender: 'text'}
},
@@ -200,8 +200,8 @@ export default {
right: '2%'
},
grid: {
left: '0%',
right: '2%',
left: '2.4%',
right: '0%',
bottom: '3%',
containLabel: true
},
@@ -218,7 +218,7 @@ export default {
color: '#999999'
},
type: 'category',
boundaryGap: true,
boundaryGap: ['30%','20%'],
// 刻度线设置
axisTick: {
show: false
@@ -14,7 +14,7 @@
bordered
rowKey="projectId"
:columns="columns"
:scroll="{x: 1500}"
:scroll="{x: 1100}"
:dataSource="dataSource"
:pagination="false"
:loading="loading"
@@ -74,7 +74,7 @@ const columns = [
{
title: '',
align: 'center',
width: 150,
width: 110,
dataIndex: 'indexName',
scopedSlots: {customRender: 'text'}
},
@@ -83,7 +83,7 @@ MonthDataTotal.map(tt => {
columns.push({
title: tt.name,
align: 'center',
width: 100,
width: 125,
dataIndex: tt.key,
scopedSlots: {customRender: 'allMoney'}
})
@@ -201,8 +201,8 @@ export default {
right: '2%'
},
grid: {
left: '0%',
right: '2%',
left: '2.4%',
right: '0%',
bottom: '3%',
containLabel: true
},