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
d5a17619
Commit
d5a17619
authored
Jul 29, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
683eda57
bf886489
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
898 additions
and
3 deletions
+898
-3
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
No files found.
src/App.vue
View file @
d5a17619
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
</viewer>
</viewer>
<chosen-open-mode
v-if=
"haveOpenMode"
:settingSys=
"settingSys"
></chosen-open-mode>
<chosen-open-mode
v-if=
"haveOpenMode"
:settingSys=
"settingSys"
></chosen-open-mode>
<!-- -->
<!-- -->
<!--
<div
class=
"showMyCareer"
>
<mycareer></mycareer>
</div>
-->
</div>
</div>
</
template
>
</
template
>
...
@@ -27,10 +29,12 @@ var sUserAgent = navigator.userAgent;
...
@@ -27,10 +29,12 @@ var sUserAgent = navigator.userAgent;
// document.html.style.minWidth = '1366px'
// document.html.style.minWidth = '1366px'
}
}
import
chosenOpenMode
from
'./components/commonPage/chosenOpenMode'
import
chosenOpenMode
from
'./components/commonPage/chosenOpenMode'
import
mycareer
from
'./components/champion/mycareer'
export
default
{
export
default
{
name
:
'App'
,
name
:
'App'
,
components
:
{
components
:
{
chosenOpenMode
chosenOpenMode
,
mycareer
},
},
created
()
{
created
()
{
//注册禁止后退,并且不做卸载
//注册禁止后退,并且不做卸载
...
@@ -124,6 +128,16 @@ export default {
...
@@ -124,6 +128,16 @@ export default {
.BMap_cpyCtrl
{
display
:
none
;}
.BMap_cpyCtrl
{
display
:
none
;}
.anchorBL
{
display
:
none
;}
.anchorBL
{
display
:
none
;}
.viewer
{
display
:
none
!important
;}
.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
>
</
style
>
src/assets/img/champion/bg.png
0 → 100644
View file @
d5a17619
200 KB
src/assets/img/champion/bottom.png
0 → 100644
View file @
d5a17619
5.01 KB
src/assets/img/champion/head.png
0 → 100644
View file @
d5a17619
5.01 KB
src/assets/img/champion/split.png
0 → 100644
View file @
d5a17619
16 KB
src/assets/img/champion/star.png
0 → 100644
View file @
d5a17619
1 KB
src/assets/img/champion/title.png
0 → 100644
View file @
d5a17619
13.3 KB
src/components/champion/dashboard.vue
0 → 100644
View file @
d5a17619
<
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 @
d5a17619
This diff is collapsed.
Click to expand it.
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