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
71a27683
Commit
71a27683
authored
Jul 19, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人数据统计
parent
b12c170d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
899 additions
and
4 deletions
+899
-4
App.vue
src/App.vue
+17
-3
bg.png
src/assets/img/champion/bg.png
+0
-0
bottom.png
src/assets/img/champion/bottom.png
+0
-0
head.png
src/assets/img/champion/head.png
+0
-0
split.png
src/assets/img/champion/split.png
+0
-0
star.png
src/assets/img/champion/star.png
+0
-0
title.png
src/assets/img/champion/title.png
+0
-0
dashboard.vue
src/components/champion/dashboard.vue
+157
-0
mycareer.vue
src/components/champion/mycareer.vue
+724
-0
index.js
src/plug/index.js
+1
-1
No files found.
src/App.vue
View file @
71a27683
...
...
@@ -10,7 +10,9 @@
</viewer>
<chosen-open-mode
v-if=
"haveOpenMode"
:settingSys=
"settingSys"
></chosen-open-mode>
<!-- -->
<div
class=
"showMyCareer"
>
<mycareer></mycareer>
</div>
</div>
</
template
>
...
...
@@ -27,10 +29,12 @@ var sUserAgent = navigator.userAgent;
// document.html.style.minWidth = '1366px'
}
import
chosenOpenMode
from
'./components/commonPage/chosenOpenMode'
import
mycareer
from
'./components/champion/mycareer'
export
default
{
name
:
'App'
,
components
:
{
chosenOpenMode
chosenOpenMode
,
mycareer
},
created
()
{
//注册禁止后退,并且不做卸载
...
...
@@ -124,6 +128,16 @@ export default {
.BMap_cpyCtrl
{
display
:
none
;}
.anchorBL
{
display
:
none
;}
.viewer
{
display
:
none
!important
;}
.showMyCareer
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
.3
);
align-items
:
center
;
justify-content
:
center
;
z-index
:
999999999999999
;
}
</
style
>
src/assets/img/champion/bg.png
0 → 100644
View file @
71a27683
200 KB
src/assets/img/champion/bottom.png
0 → 100644
View file @
71a27683
5.01 KB
src/assets/img/champion/head.png
0 → 100644
View file @
71a27683
5.01 KB
src/assets/img/champion/split.png
0 → 100644
View file @
71a27683
16 KB
src/assets/img/champion/star.png
0 → 100644
View file @
71a27683
1 KB
src/assets/img/champion/title.png
0 → 100644
View file @
71a27683
13.3 KB
src/components/champion/dashboard.vue
0 → 100644
View file @
71a27683
<
template
>
<div
class=
"inerank-container"
>
<div
:style=
"
{height:'100%',width:'100%'}" ref="myLineRank">
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:{
score
:{
type
:
Number
,
default
:
0
},
title
:{
type
:
String
,
default
:
''
}
},
data
()
{
return
{};
},
mounted
()
{
this
.
init
();
},
methods
:
{
init
()
{
let
myChart
=
this
.
$echarts
.
init
(
this
.
$refs
.
myLineRank
);
let
option
=
{
series
:
[
{
name
:
"ze"
,
type
:
"gauge"
,
radius
:
"99%"
,
//仪表大小
// startAngle: 200, //开始角度
// endAngle: -20, //结束角度
min
:
0
,
max
:
100
,
splitNumber
:
5
,
data
:
[{
value
:
this
.
score
,
name
:
"ze"
}],
axisLine
:
{
show
:
false
,
lineStyle
:
{
color
:
[
[
(
this
.
score
/
100
),
new
this
.
$echarts
.
graphic
.
LinearGradient
(
1
,
0
,
0
,
0
,
[
{
offset
:
0
,
color
:
"#F7BF4Caa"
},
{
offset
:
1
,
color
:
"#F7BF4C00"
}
])
],
[
1
,
"#00000000"
]
],
width
:
25
}
},
splitLine
:
{
show
:
false
},
axisTick
:
{
show
:
false
},
axisLabel
:
{
show
:
false
},
pointer
:
{
//指针样式
length
:
"95%"
,
color
:
"#fff"
,
width
:
0
},
title
:
{
show
:
false
},
detail
:
{
show
:
false
}
},
{
name
:
this
.
title
,
type
:
"gauge"
,
radius
:
"100%"
,
//仪表大小
// startAngle: 200, //开始角度
// endAngle: -20, //结束角度
min
:
0
,
max
:
100
,
splitNumber
:
5
,
data
:
[{
value
:
this
.
score
,
name
:
this
.
title
}],
axisLine
:
{
show
:
false
,
lineStyle
:
{
// 属性lineStyle控制线条样式
color
:
[[
0.5
,
"#F7BF4C"
],
[
0.8
,
"#F7BF4C"
],
[
1
,
"#F7BF4C"
]],
// shadowColor: "#F7BF4C",
// shadowBlur: 250,
width
:
2
}
},
splitLine
:
{
show
:
false
},
axisTick
:
{
show
:
true
,
lineStyle
:
{
// 属性lineStyle控制线条样式
color
:
"#F7BF4C66"
,
width
:
1
}
},
axisLabel
:
{
show
:
false
},
pointer
:
{
//指针样式
length
:
"95%"
,
color
:
"#fff"
,
width
:
3
},
title
:
{
show
:
true
,
offsetCenter
:
[
0
,
"80%"
],
color
:
"#FFF"
,
fontSize
:
14
,
padding
:
5
,
fontFamily
:
"pingfangR"
},
detail
:
{
formatter
:
"{score|{value}}"
,
offsetCenter
:
[
0
,
0
],
backgroundColor
:
"#000000"
,
shadowColor
:
"#F7BF4C88"
,
shadowBlur
:
5
,
borderRadius
:
22
,
width
:
20
,
rich
:
{
score
:
{
color
:
"#FFF"
,
fontSize
:
22
,
padding
:
5
,
fontFamily
:
"pingfangR"
}
}
}
}
]
};
myChart
.
setOption
(
option
);
}
}
};
</
script
>
<
style
scoped
>
.inerank-container
{
height
:
100%
;
width
:
100%
;
}
</
style
>
src/components/champion/mycareer.vue
0 → 100644
View file @
71a27683
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
71a27683
...
...
@@ -119,7 +119,7 @@ export default {
let
domainUrl
=
''
;
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://192.168.2.214:8082";
domainUrl
=
"http://
192.168.2.65:8025
"
;
domainUrl
=
"http://
localhost:13491
"
;
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'viitto'
)
!==
-
1
)
{
...
...
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