| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- .panel {
- position: relative;
- box-sizing: border-box;
- display: flex;
- flex-wrap: wrap;
- .head {
- display: flex;
- margin-bottom: 20rpx;
- .item {
- line-height: 40rpx;
- font-family: PingFang SC, PingFang SC;
- font-weight: 700;
- font-size: 28rpx;
- color: #333333;
- .iconfont {
- margin-left: 10rpx;
- }
- }
- }
- .explain {
- position: absolute;
- top: 20rpx;
- right: 20rpx;
- font-size: 24rpx;
- height: 40rpx;
- width: 40rpx;
- text-align: right;
- }
- .chart {
- display: flex;
- width: 100%;
- justify-content: center;
- margin: 20rpx 0;
- .circle {
- width: 280rpx;
- height: 280rpx;
- position: relative;
- border-radius: 50%;
- box-shadow: inset 0 0 0 20rpx var(--assist); // Adjusted thickness
- transform: translateZ(0);
- .ab {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- &_left {
- border: 20rpx solid #EBEEF5;
- border-radius: 50%;
- clip-path: inset(0 50% 0 0);
- }
- &_right {
- border: 20rpx solid #EBEEF5;
- border-radius: 50%;
- clip-path: inset(0 0 0 50%);
- }
- &_text {
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- font-size: 45rpx;
- font-family: PingFang SC-Regular, PingFang SC;
- color: #666666;
- .name {
- line-height: 42rpx;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-size: 32rpx;
- color: #999999;
- }
- .value {
- line-height: 42rpx;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: bold;
- font-size: 32rpx;
- color: #333333;
- margin-top: 20rpx;
- }
- }
- }
- }
- .card {
- width: 100%;
- border-radius: 20rpx;
- border: 1rpx solid #E0E0E0;
- padding: 20rpx 40rpx;
- margin-top: 20rpx;
- .title {
- line-height: 32rpx;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-size: 24rpx;
- color: #999999;
- }
- .price {
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-size: 24rpx;
- color: #3685FC;
- margin-top: 10rpx;
- text {
- font-size: 40rpx;
- margin-right: 6rpx;
- }
- }
- .row {
- line-height: 32rpx;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-size: 24rpx;
- color: #999999;
- margin-top: 6rpx;
- .increase,
- .decrease {
- display: inline-block;
- width: 0;
- height: 0;
- border-left: 8rpx solid transparent;
- border-right: 8rpx solid transparent;
- margin-left: 10rpx;
- }
- .increase {
- border-bottom: 14rpx solid #009966;
- }
- .decrease {
- border-top: 14rpx solid #EF0606;
- }
- }
- }
- }
|