| | |
| | | } |
| | | |
| | | window.addEventListener('resize', myChart.resize); |
| | | setTimeout(()=>{ |
| | | myChart.resize |
| | | },500) |
| | | } |
| | | |
| | | const toRiskEve = ()=>{ |
| | |
| | | $homeNavLengh: 8; |
| | | |
| | | @media screen and (min-width: 1366px) { |
| | | .main-cont { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: grid; |
| | | margin-bottom: 40px; |
| | | box-sizing: border-box; |
| | | grid-gap: 20px; |
| | | grid-template-columns: repeat(3, 1fr); |
| | | grid-template-rows: repeat(2, 1fr); |
| | | grid-auto-flow: row; |
| | | justify-content: center; |
| | | } |
| | | .item-head{ |
| | | height: 25px; |
| | | line-height: 25px; |
| | |
| | | } |
| | | } |
| | | |
| | | @media screen and (max-width: 1366px){ |
| | | @media screen and (min-width: 1024px) and (max-width: 1366px){ |
| | | .main-cont { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: grid; |
| | | margin-bottom: 40px; |
| | | box-sizing: border-box; |
| | | grid-gap: 15px; |
| | | 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; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @media screen and (max-width: 1024px) { |
| | | .main-cont { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | margin-bottom: 40px; |
| | | box-sizing: border-box; |
| | | justify-content: center; |
| | | } |
| | | .item-head{ |
| | | height: 20px; |
| | | line-height: 20px; |
| | | span{ |
| | | font-size: 16px; |
| | | } |
| | | div{ |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | .levelItem{ |
| | | font-size: 12px; |
| | | |
| | | span{ |
| | | margin-bottom: 10px; |
| | | font-size: 16px; |
| | | font-weight: bolder; |
| | | } |
| | | } |
| | | } |
| | | .home-container { |
| | | height: 100%; |
| | | box-sizing: border-box; |
| | | overflow: hidden; |
| | | |
| | | .main-cont { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: grid; |
| | | margin-bottom: 40px; |
| | | box-sizing: border-box; |
| | | grid-gap: 20px; |
| | | grid-template-columns: repeat(3, 1fr); |
| | | grid-template-rows: repeat(2, 1fr); |
| | | grid-auto-flow: row; |
| | | justify-content: center; |
| | | |
| | | .table-item{ |
| | | border-radius: 8px; |
| | | background: #fff; |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | box-sizing: border-box; |
| | | |
| | | .item-head{ |
| | | display: flex; |