.content { display: flex; justify-content: space-between; align-items: center; height: 100vh; width: 100%; padding-top: 300px; } .box { background: url('@/assets/home-box-bg.png') no-repeat center; background-size: 100% 100%; width: 520px; padding: 24px; position: relative; margin-bottom: 40px; cursor: pointer; color: #fff; &:last-child { margin-bottom: 0; } .boxTitle { padding-left: 68px; margin-bottom: 20px; font-size: 26px; font-weight: 400; color: #ffffff; line-height: 34px; } > ul { display: flex; justify-content: center; > li { width: 50%; } } .name { font-size: 22px; font-weight: 400; color: #ffffff; line-height: 28px; text-align: center; margin-top: 18px; } .value { font-size: 32px; font-weight: 600; color: #329bfe; line-height: 50px; text-align: center; } } .boxBig { .box; background-image: url('@/assets/home-box-bg2.png'); } .scada { padding: 0 10px; } .scadaContent { padding: 20px; height: 300px; width: 1000px; display: flex; justify-content: space-between; iframe { height: 100%; width: calc(50% - 10px); border: none; pointer-events: none; } } .scoreBox { display: flex; flex-direction: column; align-items: center; .scoreTitle { font-size: 24px; margin-top: 10px; margin-bottom: 14px; } .grade { font-size: 22px; margin-top: 10px; } } .time { font-size: 22px; margin-bottom: 20px; text-align: center; } .insTag { position: absolute; right: 54px; top: 44px; width: 114px; height: 50px; background: #4a90e2; border-radius: 5px; text-align: center; line-height: 50px; font-size: 26px; font-weight: 400; color: #ffffff; } .insStatus { text-align: center; font-size: 42px; font-weight: 500; color: #f5a623; line-height: 56px; margin-top: 50px; margin-bottom: 22px; } .centerBox { display: flex; height: 880px; align-items: flex-end; .box { width: 100%; } } .backlog { padding: 0 10px; overflow-y: auto; height: 200px; .createTime { } .item { margin: 4px 0 10px; width: 100%; height: 50px; background-color: #346194; line-height: 50px; } .point { margin: 0 10px; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background-color: yellow; } } .count { background: #f69040; border-radius: 4px; margin-left: 10px; padding: 0 6px; }