Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
葛齐林
energyai_vue
Commits
4fafd5e5
Commit
4fafd5e5
authored
Apr 22, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
67d52c49
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
cardList.vue
src/pages/components/cardList.vue
+1
-1
myPies.vue
src/pages/components/myPies.vue
+6
-7
No files found.
src/pages/components/cardList.vue
View file @
4fafd5e5
...
...
@@ -68,7 +68,7 @@ export default {
// }
.card-list-content
{
padding
:
20px
;
height
:
calc
(
100%
-
9
0px
);
height
:
calc
(
100%
-
5
0px
);
}
}
</
style
>
src/pages/components/myPies.vue
View file @
4fafd5e5
...
...
@@ -26,15 +26,14 @@ export default {
]
const
option
=
{
tooltip
:
{
trigger
:
'item'
,
formatter
:
'{a} <br/>{b}: {c} ({d}%)'
trigger
:
'item'
},
legend
:
{
show
:
true
,
orient
:
'horizontal'
,
// left: "center",
bottom
:
'
4
0'
,
bottom
:
'0'
,
itemHeight
:
13
,
itemWidth
:
13
,
itemGap
:
35
,
...
...
@@ -80,13 +79,12 @@ export default {
],
series
:
[
{
name
:
'访问来源'
,
type
:
'pie'
,
radius
:
[
'50%'
,
'70%'
],
center
:
[
'50%'
,
'40%'
],
avoidLabelOverlap
:
false
,
label
:
{
// show: tru
e,
show
:
fals
e
,
position
:
'center'
,
normal
:
{
show
:
true
,
...
...
@@ -96,14 +94,15 @@ export default {
},
textStyle
:
{
fontSize
:
30
,
color
:
'#F2637B'
lineHeight
:
20
,
color
:
'#36CBCB'
}
}
},
emphasis
:
{
label
:
{
show
:
false
,
fontSize
:
'
3
0'
,
fontSize
:
'
2
0'
,
fontWeight
:
'bold'
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment