.content { display: flex; justify-content: space-between; align-items: center; height: 100vh; width: 100%; padding-top: 0.9rem; color: #3b3b3b; } .box { width: 6.4rem; padding: 0.24rem; position: relative; margin-bottom: 0.1rem; display: inline-block; cursor: pointer; background: url('@/assets/home-box-bg.png') no-repeat center; background-size: 100% 100%; // &:last-child { // margin-bottom: 0; // } .titleContent { margin: 0.2rem 0.38rem; display: inline-block; position: relative; } .boxTitle { padding: 0 0.1rem; position: relative; // z-index: 99; font-size: 0.32rem; font-weight: 600; color: #0139f1; line-height: 0.34rem; z-index: 1; } .line { position: absolute; // left: 0.38rem; bottom: 0; width: 100%; height: 0.14rem; background: url('@/assets/home-box-line.png') no-repeat center; background-size: 100% 100%; z-index: 0; } > ul { display: flex; justify-content: center; > li { text-align: center; width: 50%; } } .name { font-size: 0.22rem; font-weight: 400; color: #ffffff; line-height: 0.28rem; text-align: center; margin-top: 0.18rem; } .value { margin: 0.6rem 0; font-size: 0.4rem; font-weight: 600; color: #3b3b3b; line-height: 0.5rem; text-align: center; font-family: PangMenZhengDao-3, PangMenZhengDao-3; } } .boxBig { .box; background-image: url('@/assets/home-box-bg2.png'); } .scada { margin-bottom: 0.2rem; padding: 0 0.1rem; position: relative; .mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } } .scadaContent { padding: 0.2rem; height: 3rem; width: 10rem; display: flex; justify-content: space-between; iframe { height: 100%; width: calc(50% - 0.1rem); border: none; pointer-events: none; } } .scoreBox { display: flex; justify-content: space-around; .score { font-size: 0.5rem; font-weight: 600; font-family: PangMenZhengDao-3, PangMenZhengDao-3; color: #615d5d; } .scoreTitle { width: 3rem; font-size: 0.4rem; margin-top: 0.2rem; font-family: Source Han Sans, Source Han Sans; color: #3b3b3b; } .grade { font-size: 0.22rem; margin-top: 0.1rem; } .circle { width: 1.78rem; height: 1.78rem; text-align: center; display: flex; flex-direction: column; justify-content: center; // border-image: linear-gradient(49deg, rgba(255, 123.24999645352364, 0, 1), rgba(255, 242.24999696016312, 0, 1)) 25 25; background: url('@/assets/home-circle.png') no-repeat center; background-size: 100% 100%; } } .time { font-size: 0.22rem; margin-bottom: 0.2rem; text-align: right; margin-right: 30px; } .insTag { position: absolute; right: 0.54rem; top: 0.44rem; width: 1.14rem; height: 0.5rem; background: #4a90e2; border-radius: 0.05rem; text-align: center; line-height: 0.5rem; font-size: 0.26rem; font-weight: 400; color: #ffffff; } .insStatus { text-align: center; font-size: 0.42rem; font-weight: 500; color: #f5a623; line-height: 0.56rem; margin-top: 0.5rem; margin-bottom: 0.22rem; } .centerBox { display: flex; height: calc(100vh - 0.9rem); align-items: flex-end; } .backlog { margin-bottom: 0.4rem; padding: 0 0.2rem; overflow-y: auto; height: 2.6rem; color: #3b3b3b; .item { padding: 0.08rem 0 0.2rem; width: 100%; font-size: 0.22rem; line-height: 0.5rem; border-bottom: 1px solid #ffffff; } .titleCon { display: flex; align-items: center; } .point { display: inline-block; width: 0.12rem; height: 0.24rem; background-color: #ff8400; } .createTime { float: right; } .titleText { font-size: 0.22rem; margin: 0 0.2rem; } .bottomCon { font-size: 0.18rem; word-wrap: break-word; } } .count { background: #f69040; border-radius: 0.04rem; margin-left: 0.1rem; padding: 0 0.06rem; } .btn1 { margin-bottom: 0.2rem; padding: 0.14rem 0.3rem; font-size: 0.32rem; font-family: Source Han Sans, Source Han Sans; font-weight: 500; color: #ffffff; display: inline-block; border-radius: 1rem; background-color: #1755ff; } .btn2 { .btn1; background-color: #1d83ff; } .selfCon { display: flex; justify-content: space-around; align-items: center; .circle { width: 1.78rem; height: 1.78rem; text-align: center; line-height: 1.78rem; background: url('@/assets/home-self-circle.png') no-repeat center; background-size: 100% 100%; } .text { width: 1.19rem; height: 0.5rem; font-size: 0.5rem; font-family: Source Han Sans, Source Han Sans; font-weight: 500; } .texting { width: 2rem; font-size: 0.4rem; margin-top: 0.2rem; font-family: Source Han Sans, Source Han Sans; color: #3b3b3b; } }