Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
dj-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 019fecfe
authored
Nov 01, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
abcdb92c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletions
src/components/LineChart.vue
src/components/ViewTitle.vue
src/components/barChart.vue
src/components/lineBar.vue
src/components/LineChart.vue
View file @
019fecf
...
@@ -93,6 +93,9 @@ export default {
...
@@ -93,6 +93,9 @@ export default {
mounted
()
{
mounted
()
{
this
.
lineDom
=
document
.
getElementById
(
this
.
domId
)
this
.
lineDom
=
document
.
getElementById
(
this
.
domId
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
lineDom
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
lineDom
)
window
.
addEventListener
(
'resize'
,
()
=>
{
this
[
this
.
domId
].
resize
()
})
},
},
methods
:
{
methods
:
{
chartBindEvent
()
{
chartBindEvent
()
{
...
...
src/components/ViewTitle.vue
View file @
019fecf
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<
template
>
<
template
>
<div
class=
"content flex"
>
<div
class=
"content flex"
>
<div
class=
"logo user-select"
>
<div
class=
"logo user-select"
>
<img
style=
"height: 3
.17vh
"
src=
"@/assets/images/logo.png"
alt=
"logo"
/>
<img
style=
"height: 3
2px
"
src=
"@/assets/images/logo.png"
alt=
"logo"
/>
</div>
</div>
<div
class=
"view-title user-select"
>
嘀加智慧门店运营看板
</div>
<div
class=
"view-title user-select"
>
嘀加智慧门店运营看板
</div>
<div
class=
"time"
>
<div
class=
"time"
>
...
...
src/components/barChart.vue
View file @
019fecf
...
@@ -127,6 +127,9 @@ export default {
...
@@ -127,6 +127,9 @@ export default {
this
.
lineDom
=
document
.
getElementById
(
this
.
domId
)
this
.
lineDom
=
document
.
getElementById
(
this
.
domId
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
lineDom
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
lineDom
)
// this.chartBindEvent()
// this.chartBindEvent()
window
.
addEventListener
(
'resize'
,
()
=>
{
this
[
this
.
domId
].
resize
()
})
},
},
methods
:
{
methods
:
{
chartBindEvent
()
{
chartBindEvent
()
{
...
...
src/components/lineBar.vue
View file @
019fecf
...
@@ -93,6 +93,9 @@ export default {
...
@@ -93,6 +93,9 @@ export default {
mounted
()
{
mounted
()
{
this
.
lineDom
=
document
.
getElementById
(
this
.
domId
)
this
.
lineDom
=
document
.
getElementById
(
this
.
domId
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
lineDom
)
this
[
this
.
domId
]
=
echarts
.
init
(
this
.
lineDom
)
window
.
addEventListener
(
'resize'
,
()
=>
{
this
[
this
.
domId
].
resize
()
})
},
},
methods
:
{
methods
:
{
chartBindEvent
()
{
chartBindEvent
()
{
...
...
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