You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
988 B
62 lines
988 B
.lineChart {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: left;
|
|
flex-wrap: nowrap;
|
|
height: 420px;
|
|
position: relative;
|
|
}
|
|
|
|
.empty {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
border-radius: 10rpx;
|
|
color: #00D6AC;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: rgba(#fff, .9);
|
|
}
|
|
|
|
.records {
|
|
font-size: 30rpx;
|
|
font-family: PingFang SC-Medium, PingFang SC;
|
|
font-weight: 500;
|
|
color: #323635;
|
|
margin-bottom: 42rpx;
|
|
}
|
|
|
|
.columnBox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.column {
|
|
width: 30rpx;
|
|
background: linear-gradient(180deg, #03D9B3 0%, #05BF88 100%);
|
|
border-radius: 30rpx;
|
|
margin-bottom: 20rpx;
|
|
overflow: hidden;
|
|
animation: rise 300ms ease-in-out forwards;
|
|
max-height: 0;
|
|
}
|
|
|
|
.line {
|
|
width: 1rpx;
|
|
background: #F2F8F6;
|
|
height: 100%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
@keyframes rise {
|
|
from {
|
|
max-height: 0;
|
|
}
|
|
to {
|
|
max-height: 300rpx;
|
|
}
|
|
}
|
|
|