Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
软件工程实践2022年春W班
穿梭在银河的火箭队
FZUStudyRoom
提交
e3e33288
F
FZUStudyRoom
项目概览
软件工程实践2022年春W班
/
穿梭在银河的火箭队
/
FZUStudyRoom
通知
12
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
FZUStudyRoom
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e3e33288
编写于
6月 16, 2022
作者:
qq_45757468
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '236-frontend' into dev-backstage
上级
6168d35d
ea1cf82e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
src/pages/Data/index.js
src/pages/Data/index.js
+8
-8
未找到文件。
src/pages/Data/index.js
浏览文件 @
e3e33288
...
...
@@ -76,12 +76,12 @@ class Data extends Component {
}}
/
>
<
/Col
>
<
Col
span
=
{
1
2
}
offset
=
{
2
}
style
=
{{
alignItems
:
"
start
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
center
"
}}
>
<
Col
span
=
{
1
4
}
offset
=
{
1
}
style
=
{{
alignItems
:
"
start
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
center
"
}}
>
{
/*justifyContent:"center", alignItems:"flex-start"*/
}
{
/*右侧*/
}
<
Row
justify
=
{
"
center
"
}
style
=
{{
flexDirection
:
"
row
"
,
alignItems
:
"
flex-start
"
,
justifyContent
:
"
center
"
}}
>
<
Col
span
=
{
24
}
style
=
{{
fontSize
:
window
.
innerWidth
/
100
,
marginLeft
:
5
,
marginTop
:
window
.
innerWidth
/
100
,
padding
:
0
,
height
:
window
.
innerWidth
/
100
-
10
,
fontWeight
:
"
bold
"
,
color
:
"
#4b4b4b
"
}}
>
今日访问量
<
/Col
>
<
Col
span
=
{
24
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
3
,
margin
:
0
,
padding
:
0
,
height
:
window
.
innerWidth
/
10
/
3
-
30
,
fontWeight
:
"
bolder
"
,
color
:
"
#4b4b4b
"
,
maxWidth
:
window
.
innerWidth
/
10
}}
>
{
visitsNum
}
<
/Col
>
<
Col
span
=
{
24
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
3
,
margin
:
0
,
padding
:
0
,
height
:
window
.
innerWidth
/
10
/
3
-
30
,
fontWeight
:
"
bolder
"
,
color
:
"
#4b4b4b
"
,
maxWidth
:
window
.
innerWidth
/
5
}}
>
{
visitsNum
>
99999999
?(
visitsNum
/
100000000
).
toFixed
(
2
)
+
"
亿
"
:(
visitsNum
>
9999
?(
visitsNum
/
10000
).
toFixed
(
2
)
+
"
万
"
:
visitsNum
)
}
<
/Col
>
<
/Row
>
<
/Col
>
...
...
@@ -93,11 +93,11 @@ class Data extends Component {
{
/*右一 区域对战人数占比*/
}
<
Row
justify
=
{
"
center
"
}
align
=
{
"
bottom
"
}
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
12
,
color
:
"
#333333
"
}}
>
区域PK人数占比
<
/Col
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
6
,
display
:
"
flex
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
flex-end
"
,
color
:
"
#51D351
"
,
fontWeight
:
"
bolder
"
}}
>
{(
onlineNum
===
0
?
0
:
Math
.
round
(
curAreaNum
/
onlineNum
))
*
100
}
%<
/Col
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
6
,
display
:
"
flex
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
flex-end
"
,
color
:
"
#51D351
"
,
fontWeight
:
"
bolder
"
}}
>
{(
(
onlineNum
===
0
?
0
:(
curAreaNum
/
onlineNum
))
*
100
).
toFixed
(
2
)
}
%<
/Col
>
<
/Row
>
<
Row
justify
=
{
"
center
"
}
>
<
Col
span
=
{
22
}
>
<
Progress
percent
=
{(
onlineNum
===
0
?
0
:
Math
.
round
(
curAreaNum
/
onlineNum
))
*
100
}
strokeColor
=
{
"
#51D351
"
}
trailColor
=
{
"
#E4E4E4
"
}
strokeWidth
=
{
window
.
innerWidth
/
10
/
17
}
showInfo
=
{
false
}
/
>
<
Progress
percent
=
{(
(
onlineNum
===
0
?
0
:
curAreaNum
/
onlineNum
)
*
100
).
toFixed
(
2
)
}
strokeColor
=
{
"
#51D351
"
}
trailColor
=
{
"
#E4E4E4
"
}
strokeWidth
=
{
window
.
innerWidth
/
10
/
17
}
showInfo
=
{
false
}
/
>
<
/Col
>
<
/Row
>
<
Row
justify
=
{
"
center
"
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
10
}}
>
...
...
@@ -115,11 +115,11 @@ class Data extends Component {
{
/*在线人数占比*/
}
<
Row
justify
=
{
"
center
"
}
align
=
{
"
bottom
"
}
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
12
,
color
:
"
#333333
"
}}
>
在线人数占比
<
/Col
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
6
,
display
:
"
flex
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
flex-end
"
,
color
:
"
#F2CA80
"
,
fontWeight
:
"
bolder
"
}}
>
{(
onlineNum
===
0
?
0
:
Math
.
round
(
onlineNum
/
totalNum
))
*
100
}
%<
/Col
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
6
,
display
:
"
flex
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
flex-end
"
,
color
:
"
#F2CA80
"
,
fontWeight
:
"
bolder
"
}}
>
{(
(
onlineNum
===
0
?
0
:(
onlineNum
/
totalNum
))
*
100
).
toFixed
(
2
)
}
%<
/Col
>
<
/Row
>
<
Row
justify
=
{
"
center
"
}
>
<
Col
span
=
{
22
}
>
<
Progress
percent
=
{(
totalNum
===
0
?
0
:
Math
.
round
(
onlineNum
/
totalNum
))
*
100
}
strokeColor
=
{
"
#F2CA80
"
}
trailColor
=
{
"
#E4E4E4
"
}
strokeWidth
=
{
window
.
innerWidth
/
10
/
17
}
showInfo
=
{
false
}
/
>
<
Progress
percent
=
{(
(
totalNum
===
0
?
0
:
onlineNum
/
totalNum
)
*
100
).
toFixed
(
2
)
}
strokeColor
=
{
"
#F2CA80
"
}
trailColor
=
{
"
#E4E4E4
"
}
strokeWidth
=
{
window
.
innerWidth
/
10
/
17
}
showInfo
=
{
false
}
/
>
<
/Col
>
<
/Row
>
<
Row
justify
=
{
"
center
"
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
10
}}
>
...
...
@@ -135,11 +135,11 @@ class Data extends Component {
{
/*双人PK人数占比*/
}
<
Row
justify
=
{
"
center
"
}
align
=
{
"
bottom
"
}
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
12
,
color
:
"
#333333
"
}}
>
双人PK人数占比
<
/Col
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
6
,
display
:
"
flex
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
flex-end
"
,
color
:
"
#BF7636
"
,
fontWeight
:
"
bolder
"
}}
>
{(
totalNum
===
0
?
0
:
Math
.
round
(
curPKNum
/
totalNum
))
*
100
}
%<
/Col
>
<
Col
span
=
{
11
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
6
,
display
:
"
flex
"
,
flexDirection
:
"
row
"
,
justifyContent
:
"
flex-end
"
,
color
:
"
#BF7636
"
,
fontWeight
:
"
bolder
"
}}
>
{(
(
totalNum
===
0
?
0
:(
curPKNum
/
totalNum
))
*
100
).
toFixed
(
2
)
}
%<
/Col
>
<
/Row
>
<
Row
justify
=
{
"
center
"
}
>
<
Col
span
=
{
22
}
>
<
Progress
percent
=
{(
totalNum
===
0
?
0
:
Math
.
round
(
curPKNum
/
totalNum
))
*
100
}
strokeColor
=
{
"
#BF7636
"
}
trailColor
=
{
"
#E4E4E4
"
}
strokeWidth
=
{
window
.
innerWidth
/
10
/
17
}
showInfo
=
{
false
}
/
>
<
Progress
percent
=
{(
(
totalNum
===
0
?
0
:
curPKNum
/
totalNum
)
*
100
).
toFixed
(
2
)
}
strokeColor
=
{
"
#BF7636
"
}
trailColor
=
{
"
#E4E4E4
"
}
strokeWidth
=
{
window
.
innerWidth
/
10
/
17
}
showInfo
=
{
false
}
/
>
<
/Col
>
<
/Row
>
<
Row
justify
=
{
"
center
"
}
style
=
{{
fontSize
:
window
.
innerWidth
/
10
/
10
}}
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录