Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
11a3556a
Commit
11a3556a
authored
Jun 27, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
be7a4d41
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
516 additions
and
172 deletions
+516
-172
App.vue
src/App.vue
+1
-1
personalCenter.vue
src/components/personalCenter.vue
+387
-171
fince.vue
src/components/personalCenter/fince.vue
+128
-0
No files found.
src/App.vue
View file @
11a3556a
...
...
@@ -113,7 +113,7 @@ export default {
}
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
ztxwijjubn
.css"
;
@import
"//at.alicdn.com/t/font_635492_
wocd5xem6qe
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/components/personalCenter.vue
View file @
11a3556a
This diff is collapsed.
Click to expand it.
src/components/personalCenter/fince.vue
0 → 100644
View file @
11a3556a
<
template
>
<div
class=
"inerank-container"
>
<div
:style=
"
{height:'100%',width:'100%'}" ref="myLineRank">
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{};
},
mounted
()
{
this
.
init
();
},
methods
:
{
init
()
{
let
myChart
=
this
.
$echarts
.
init
(
this
.
$refs
.
myLineRank
);
var
dataAxis
=
[
"9"
,
"10"
,
"11"
,
"12"
,
"13"
,
"14"
,
"15"
,
"16"
,
"17"
,
"18"
,
"19"
];
var
data
=
[
220
,
182
,
191
,
234
,
290
,
330
,
310
,
100
,
30
,
60
,
650
];
var
data2
=
[
130
,
202
,
101
,
500
,
10
,
220
,
310
,
98
,
17
,
52
,
360
];
var
yMax
=
500
;
var
dataShadow
=
[];
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
dataShadow
.
push
(
yMax
);
}
let
option
=
{
backgroundColor
:
"#fd397a"
,
//"#19133e6e",
title
:
{
show
:
false
},
xAxis
:
{
data
:
dataAxis
,
axisLabel
:
{
textStyle
:
{
color
:
"#79778a"
,
fontFamily
:
"DIN"
},
margin
:
10
,
interval
:
0
,
show
:
false
},
axisTick
:
{
show
:
false
},
axisLine
:
{
show
:
false
}
},
yAxis
:
{
axisLine
:
{
show
:
false
},
axisTick
:
{
show
:
false
},
axisLabel
:
{
textStyle
:
{
color
:
"#272938"
,
fontFamily
:
"DIN"
},
show
:
false
},
splitLine
:
{
show
:
false
},
interval
:
1000
,
max
:
1000
,
min
:
0
,
splitNumber
:
5
},
grid
:
{
left
:
-
30
,
right
:
-
30
,
top
:
0
,
bottom
:
0
},
tooltip
:
{
trigger
:
"item"
,
axisPointer
:
{
type
:
"none"
,
snap
:
true
,
label
:
{
backgroundColor
:
"#6a7985"
}
}
},
series
:
[
{
name
:
"同行浏览与分享"
,
type
:
"line"
,
smooth
:
false
,
symbol
:
"none"
,
itemStyle
:
{
normal
:
{
lineStyle
:
{
color
:
"#e63a5e"
},
areaStyle
:
{
color
:
"#e14c86"
}
}
},
data
:
data2
}
]
};
myChart
.
setOption
(
option
);
}
}
};
</
script
>
<
style
>
.inerank-container
{
height
:
100%
;
width
:
100%
;
}
</
style
>
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