feat: 设备状态展示完成
parent
8b33399747
commit
cc38378d8e
@ -1,4 +1,4 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none">
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none">
|
||||||
<path d="M1 1C1.63158 3.66667 4.91579 9 13 9" stroke="#154DDD" stroke-width="2.3"
|
<path d="M1 1C1.63158 3.66667 4.91579 9 13 9" stroke="#154DDD" stroke-width="2"
|
||||||
stroke-linecap="round" />
|
stroke-linecap="round" />
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 214 B |
@ -0,0 +1,70 @@
|
|||||||
|
@import "@/style/index";
|
||||||
|
|
||||||
|
.server-card {
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 182px;
|
||||||
|
|
||||||
|
// background-color: skyblue;
|
||||||
|
// border: 1.5px solid #52c41a
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 8px 16px 0 rgb(0 0 0 / 10%);
|
||||||
|
|
||||||
|
&_offline {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
|
||||||
|
// border: 1.5px solid #dcdcdc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.server-header {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
width: 100%;
|
||||||
|
height: 54px;
|
||||||
|
padding: 16px;
|
||||||
|
border-bottom: 1px solid #e0e0e0;
|
||||||
|
|
||||||
|
.server-state {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 48px;
|
||||||
|
height: 24px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #52c41a;
|
||||||
|
border-radius: 0 12px;
|
||||||
|
|
||||||
|
&_offline {
|
||||||
|
background-color: #dcdcdc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.server-content {
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
height: 128px;
|
||||||
|
padding: 16px;
|
||||||
|
|
||||||
|
.server-content-left {
|
||||||
|
width: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.server-content-right {
|
||||||
|
flex: 1;
|
||||||
|
padding-left: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.rectProgress_box {
|
||||||
|
padding: 4px 0;
|
||||||
|
font-size: 12px;
|
||||||
|
color: $--web-font1;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue