Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-chart-show-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-chart-show-pc
Commits
299e3dce
提交
299e3dce
authored
4月 01, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
适配修改
上级
092fa8cf
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
54 行增加
和
39 行删除
+54
-39
card.vue
src/components/chart/card.vue
+1
-1
monthIncome.vue
src/components/chart/chart210323/monthIncome.vue
+2
-2
nowApply.vue
src/components/chart/chart210323/nowApply.vue
+7
-7
nowIncome.vue
src/components/chart/chart210323/nowIncome.vue
+1
-1
nowIncome2.vue
src/components/chart/chart210323/nowIncome2.vue
+2
-1
yearIncome.vue
src/components/chart/chart210323/yearIncome.vue
+11
-10
yearRankingApply.vue
src/components/chart/chart210323/yearRankingApply.vue
+7
-7
index.html
src/index.html
+12
-0
chart-210323.vue
src/pages/chart/chart-210323.vue
+11
-10
没有找到文件。
src/components/chart/card.vue
浏览文件 @
299e3dce
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
.tit
{
.tit
{
padding
:
2%
0
0
4
.1%
;
padding
:
2%
0
0
4
.1%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
font-size
:
18px
;
font-size
:
.18rem
;
color
:
#F3F3F3
;
color
:
#F3F3F3
;
}
}
}
}
...
...
src/components/chart/chart210323/monthIncome.vue
浏览文件 @
299e3dce
...
@@ -44,13 +44,13 @@ export default {
...
@@ -44,13 +44,13 @@ export default {
z
:
10
,
z
:
10
,
axisLabel
:
{
axisLabel
:
{
show
:
true
,
show
:
true
,
fontSize
:
1
2
,
fontSize
:
1
0
,
interval
:
0
,
interval
:
0
,
formatter
:
function
(
value
)
{
formatter
:
function
(
value
)
{
const
fIndex
=
_this
.
data
.
projectName
.
findIndex
(
item
=>
{
const
fIndex
=
_this
.
data
.
projectName
.
findIndex
(
item
=>
{
return
item
===
value
return
item
===
value
})
})
return
fIndex
===
0
?
''
:
`
${
value
}
(
${(
_this
.
data
.
data
[
fIndex
].
value
/
10000
).
toFixed
(
2
)}
万)
`
return
fIndex
===
0
?
''
:
`
${
value
}
(
${(
_this
.
data
.
data
[
fIndex
].
value
/
10000
).
toFixed
(
2
)}
万)
`
}
}
},
},
axisLine
:
{
axisLine
:
{
...
...
src/components/chart/chart210323/nowApply.vue
浏览文件 @
299e3dce
...
@@ -79,17 +79,17 @@ export default {
...
@@ -79,17 +79,17 @@ export default {
.nav-title-apply
{
.nav-title-apply
{
display
:
flex
;
display
:
flex
;
div
{
div
{
line-height
:
39px
;
line-height
:
.39rem
;
color
:
#34A6D2
;
color
:
#34A6D2
;
text-align
:
center
;
text-align
:
center
;
width
:
20%
;
width
:
20%
;
height
:
39px
;
height
:
.39rem
;
font-size
:
14px
;
font-size
:
.14rem
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:ellipsis
;
text-overflow
:ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
span
{
span
{
font-size
:
12px
;
font-size
:
.12rem
;
}
}
}
}
border-bottom
:
1px
solid
rgba
(
52
,
166
,
210
,
.4
);
border-bottom
:
1px
solid
rgba
(
52
,
166
,
210
,
.4
);
...
@@ -97,14 +97,14 @@ export default {
...
@@ -97,14 +97,14 @@ export default {
.apply-content
{
.apply-content
{
li
{
li
{
display
:
flex
;
display
:
flex
;
height
:
39px
;
height
:
.39rem
;
border-bottom
:
1px
solid
rgba
(
52
,
166
,
210
,
.4
);
border-bottom
:
1px
solid
rgba
(
52
,
166
,
210
,
.4
);
div
{
div
{
width
:
20%
;
width
:
20%
;
line-height
:
39px
;
line-height
:
.39rem
;
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-align
:
center
;
font-size
:
16px
;
font-size
:
.16rem
;
span
{
span
{
width
:
40%
;
width
:
40%
;
display
:
block
;
display
:
block
;
...
...
src/components/chart/chart210323/nowIncome.vue
浏览文件 @
299e3dce
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
}
}
.nav-title
{
.nav-title
{
display
:
flex
;
display
:
flex
;
font-size
:
16px
;
font-size
:
.16rem
;
color
:
#34A6D2
;
color
:
#34A6D2
;
padding-top
:
2%
;
padding-top
:
2%
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
src/components/chart/chart210323/nowIncome2.vue
浏览文件 @
299e3dce
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
}
}
.nav-title
{
.nav-title
{
display
:
flex
;
display
:
flex
;
font-size
:
16px
;
font-size
:
.16rem
;
color
:
#34A6D2
;
color
:
#34A6D2
;
padding-top
:
2%
;
padding-top
:
2%
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -176,6 +176,7 @@ export default {
...
@@ -176,6 +176,7 @@ export default {
}
}
}
}
div
{
div
{
font-size
:
.14rem
;
color
:
#E59700
;
color
:
#E59700
;
text-align
:
center
;
text-align
:
center
;
&
:nth-child
(
1
)
{
&
:nth-child
(
1
)
{
...
...
src/components/chart/chart210323/yearIncome.vue
浏览文件 @
299e3dce
...
@@ -121,14 +121,14 @@ export default {
...
@@ -121,14 +121,14 @@ export default {
// align-items: center;
// align-items: center;
.tips-box
{
.tips-box
{
padding-top
:
5%
;
padding-top
:
5%
;
transform
:
translateX
(
-
20px
);
transform
:
translateX
(
-
.2rem
);
li
{
li
{
width
:
1
42px
;
width
:
1
.42rem
;
display
:
flex
;
display
:
flex
;
margin-bottom
:
10px
;
margin-bottom
:
.1rem
;
.block
{
.block
{
width
:
13px
;
width
:
.13rem
;
height
:
13px
;
height
:
.13rem
;
&
.col-Sofia
{
&
.col-Sofia
{
background
:
rgba
(
252
,
101
,
75
,
1
);
background
:
rgba
(
252
,
101
,
75
,
1
);
}
}
...
@@ -146,15 +146,15 @@ export default {
...
@@ -146,15 +146,15 @@ export default {
}
}
}
}
.project-name
{
.project-name
{
font-size
:
12px
;
font-size
:
.12rem
;
color
:
#F3F3F3
;
color
:
#F3F3F3
;
line-height
:
13px
;
line-height
:
.13rem
;
margin-left
:
12px
;
margin-left
:
.12rem
;
}
}
.num
{
.num
{
font-size
:
14px
;
font-size
:
.14rem
;
color
:
#F3F3F3
;
color
:
#F3F3F3
;
line-height
:
13px
;
line-height
:
.13rem
;
margin-left
:
auto
;
margin-left
:
auto
;
}
}
}
}
...
@@ -166,5 +166,6 @@ export default {
...
@@ -166,5 +166,6 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
color
:
#fff
;
color
:
#fff
;
font-size
:
.14rem
;
}
}
</
style
>
</
style
>
src/components/chart/chart210323/yearRankingApply.vue
浏览文件 @
299e3dce
...
@@ -63,30 +63,30 @@ export default {
...
@@ -63,30 +63,30 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
.name
{
.name
{
width
:
18%
;
width
:
18%
;
font-size
:
12px
;
font-size
:
.14rem
;
color
:
#0A7199
;
color
:
#0A7199
;
line-height
:
12px
;
line-height
:
.12rem
;
}
}
.progress-box
{
.progress-box
{
width
:
95%
;
width
:
95%
;
height
:
12px
;
height
:
.12rem
;
// border: 1px solid #0A7199;
// border: 1px solid #0A7199;
border-radius
:
5px
;
border-radius
:
5px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.block
{
.block
{
width
:
50%
;
width
:
50%
;
height
:
8px
;
height
:
.08rem
;
background
:
rgba
(
52
,
166
,
210
,
1
);
background
:
rgba
(
52
,
166
,
210
,
1
);
border-radius
:
3px
;
border-radius
:
3px
;
margin
:
1px
0
;
margin
:
.01rem
0
;
}
}
}
}
.num
{
.num
{
width
:
18%
;
width
:
18%
;
text-align
:
right
;
text-align
:
right
;
font-size
:
14px
;
font-size
:
.14rem
;
color
:
#E59700
;
color
:
#E59700
;
line-height
:
12px
;
line-height
:
.12rem
;
}
}
}
}
}
}
...
...
src/index.html
浏览文件 @
299e3dce
...
@@ -13,6 +13,18 @@
...
@@ -13,6 +13,18 @@
<!-- <meta http-equiv="Expires" content="0" /> -->
<!-- <meta http-equiv="Expires" content="0" /> -->
<title>
标题
</title>
<title>
标题
</title>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"
>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"
>
<script>
var
oHtml
=
document
.
getElementsByTagName
(
'html'
)[
0
];
function
setFontSize
()
{
let
width1
=
oHtml
.
clientWidth
;
// 320px的屏幕基准像素为12px
oHtml
.
style
.
fontSize
=
100
*
(
width1
/
1920
)
+
"px"
;
}
setFontSize
();
window
.
onresize
=
function
()
{
setFontSize
();
}
</script>
</head>
</head>
<body>
<body>
<div
id=
"app"
></div>
<div
id=
"app"
></div>
...
...
src/pages/chart/chart-210323.vue
浏览文件 @
299e3dce
...
@@ -206,14 +206,15 @@ export default {
...
@@ -206,14 +206,15 @@ export default {
z-index
:
9
;
z-index
:
9
;
max-width
:
1920px
;
max-width
:
1920px
;
width
:
100%
;
width
:
100%
;
height
:
96px
;
height
:
.96rem
;
// padding: 2% 0;
background
:
url(https://zws-imgs-pub.ezijing.com/static/public/4d17cfb3f6d4afec61a026d18b190ccf.png)
center
;
background
:
url(https://zws-imgs-pub.ezijing.com/static/public/4d17cfb3f6d4afec61a026d18b190ccf.png)
center
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
36px
;
font-size
:
.36rem
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#F3F3F3
;
color
:
#F3F3F3
;
line-height
:
70px
;
line-height
:
.7rem
;
}
}
.chart-content
{
.chart-content
{
width
:
100%
;
width
:
100%
;
...
@@ -344,20 +345,20 @@ export default {
...
@@ -344,20 +345,20 @@ export default {
.name
{
.name
{
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
18px
;
font-size
:
.18rem
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#F3F3F3
;
color
:
#F3F3F3
;
margin-top
:
30px
;
margin-top
:
.6rem
;
}
}
.num
{
.num
{
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
36px
;
font-size
:
.36rem
;
// font-weight: bold;
// font-weight: bold;
color
:
#03FDF0
;
color
:
#03FDF0
;
padding-top
:
5px
;
padding-top
:
.2rem
;
span
{
span
{
font-size
:
18px
;
font-size
:
.18rem
;
}
}
}
}
}
}
...
@@ -439,9 +440,9 @@ export default {
...
@@ -439,9 +440,9 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
2%
;
top
:
2%
;
right
:
2%
;
right
:
2%
;
font-size
:
16px
;
font-size
:
.16rem
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
line-height
:
27px
;
line-height
:
.27rem
;
}
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论