Commit 8f20ebe3 by 王志慧

ui样式调整

1 parent 513a1f0c
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
type: 'value', type: 'value',
splitLine: { splitLine: {
lineStyle: { lineStyle: {
color: '#606266' color: 'rgba(96,98,102,0.2)'
} }
}, },
axisLabel: { axisLabel: {
...@@ -306,11 +306,11 @@ export default { ...@@ -306,11 +306,11 @@ export default {
colorStops: [ colorStops: [
{ {
offset: 0, offset: 0,
color: 'rgba(254, 84, 0, 0.6)' color: 'rgba(254, 84, 0, 0.3)'
}, },
{ {
offset: 1, offset: 1,
color: 'rgba(254, 84, 0, 0.05)' color: 'rgba(254, 84, 0, 0.01)'
} }
] ]
} }
......
function getLineOptions (obj) { function getLineOptions(obj) {
const { tooltipFormatter } = obj const { tooltipFormatter } = obj
var lineOptions = { var lineOptions = {
tooltip: { tooltip: {
...@@ -10,7 +10,7 @@ function getLineOptions (obj) { ...@@ -10,7 +10,7 @@ function getLineOptions (obj) {
fontSize: '8px' fontSize: '8px'
}, },
formatter: tooltipFormatter || '', formatter: tooltipFormatter || '',
confine:true confine: true
}, },
grid: { grid: {
left: '3%', left: '3%',
...@@ -31,7 +31,7 @@ function getLineOptions (obj) { ...@@ -31,7 +31,7 @@ function getLineOptions (obj) {
type: 'value', type: 'value',
splitLine: { splitLine: {
lineStyle: { lineStyle: {
color: '#606266' color: 'rgba(96,98,102,0.2)'
} }
}, },
splitNumber: 4 splitNumber: 4
...@@ -57,11 +57,11 @@ function getLineOptions (obj) { ...@@ -57,11 +57,11 @@ function getLineOptions (obj) {
colorStops: [ colorStops: [
{ {
offset: 0, offset: 0,
color: 'rgba(254, 84, 0, 0.6)' color: 'rgba(254, 84, 0, 0.3)'
}, },
{ {
offset: 1, offset: 1,
color: 'rgba(254, 84, 0, 0.05)' color: 'rgba(254, 84, 0, 0.01)'
} }
] ]
} }
......
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
type: 'value', type: 'value',
splitLine: { splitLine: {
lineStyle: { lineStyle: {
color: '#606266' color: 'rgba(96,98,102,0.2)'
} }
}, },
splitNumber: 4 splitNumber: 4
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!