Commit 8f20ebe3 by 王志慧

ui样式调整

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