| | |
| | | } |
| | | |
| | | window.addEventListener('resize', myChart.resize); |
| | | setTimeout(()=>{ |
| | | myChart.resize |
| | | },500) |
| | | } |
| | | |
| | | const toRiskEve = ()=>{ |
| | |
| | | .main-cont { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: grid; |
| | | display: flex; |
| | | flex-direction: column; |
| | | margin-bottom: 40px; |
| | | box-sizing: border-box; |
| | | grid-gap: 10px; |
| | | grid-template-columns: repeat(3, 1fr); |
| | | grid-template-rows: repeat(2, 1fr); |
| | | grid-auto-flow: row; |
| | | justify-content: center; |
| | | } |
| | | .item-head{ |
| | | height: 20px; |
| | | line-height: 20px; |
| | | span{ |
| | | font-size: 13px; |
| | | font-size: 16px; |
| | | } |
| | | div{ |
| | | font-size: 12px; |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | .levelItem{ |