| | |
| | | </span> |
| | | </span> |
| | | </span> |
| | | <div class="device-b">运行时间:1天1小时23分12秒</div> |
| | | <div class="device-info">主节点</div> |
| | | <div class="device-b title-bng"><span>节点数</span> <i>120</i></div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | $status-dark-font: #efefef; |
| | | $status-off: red; |
| | | .device-status-info { |
| | | width: calc(50% - 5px); |
| | | width: 50%; |
| | | height: 150px; |
| | | line-height: 40px; |
| | | background: $status-done; |
| | | margin-top: 10px; |
| | | border-radius: 4px; |
| | | color: #fff; |
| | | border: 1px solid $status-border; |
| | | box-sizing: border-box; |
| | | overflow: hidden; |
| | | float: left; |
| | | text-align: center; |
| | | font-size: 15px; |
| | | |
| | | .duan { |
| | | color: $status-off; |
| | | font-size: 26px; |
| | |
| | | .color-one, |
| | | .color-two { |
| | | height: 100%; |
| | | width: 100%; |
| | | margin-right: 10px; |
| | | width: calc(100% - 10px); |
| | | margin-right: 20px; |
| | | background: $status-done; |
| | | border: 1px solid $status-border; |
| | | box-sizing: border-box; |
| | | border-radius: 4px; |
| | | padding-top: 10px; |
| | | .device-m { |
| | | width: 100%; |
| | | display: inline-block; |
| | |
| | | } |
| | | } |
| | | .color-two { |
| | | margin-left: 10px; |
| | | margin-right: 0px; |
| | | position: relative; |
| | | .device-info { |
| | | position: absolute; |
| | | top: 5px; |
| | | right: 5px; |
| | | padding: 0px 6px; |
| | | font-size: 12px; |
| | | line-height: 20px; |
| | | background: $status-running; |
| | | color: #fff; |
| | | border-radius: 8px; |
| | | } |
| | | .title-bng { |
| | | height: 32px; |
| | | line-height: 32px; |
| | | background: url('../../../assets/images/number.png') no-repeat center center / cover; |
| | | span { |
| | | height: 32px; |
| | | display: inline-block; |
| | | text-align: center; |
| | | display: inline-block; |
| | | float: left; |
| | | margin-left: 35%; |
| | | } |
| | | i { |
| | | float: right; |
| | | margin-right: 15px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |