Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8f20ebe3
authored
Jul 12, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui样式调整
1 parent
513a1f0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
src/components/ViewTabs.vue
src/components/lineOptions.js
src/views/salesData/trend.vue
src/components/ViewTabs.vue
View file @
8f20ebe
...
...
@@ -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
...
...
src/components/lineOptions.js
View file @
8f20ebe
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.0
5
)'
color
:
'rgba(254, 84, 0, 0.0
1
)'
}
]
}
...
...
src/views/salesData/trend.vue
View file @
8f20ebe
...
...
@@ -132,7 +132,7 @@ export default {
type
:
'value'
,
splitLine
:
{
lineStyle
:
{
color
:
'#606266
'
color
:
'rgba(96,98,102,0.2)
'
}
},
splitNumber
:
4
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment