diff --git a/src/views/system/vpn-server-config.vue b/src/views/system/vpn-server-config.vue index ab8d14f..22980e6 100644 --- a/src/views/system/vpn-server-config.vue +++ b/src/views/system/vpn-server-config.vue @@ -4,6 +4,11 @@ +
-
{{ server.name }}
+
+ + {{ server.name }} +
{{ server.server_ip }}
@@ -219,10 +227,10 @@ @@ -518,6 +535,22 @@ onMounted(() => { .server-name { font-weight: bold; margin-bottom: 4px; + display: flex; + align-items: center; +} + +.status-indicator { + width: 8px; + height: 8px; + border-radius: 50%; + background-color: #909399; + margin-right: 8px; + transition: background-color 0.3s; +} + +.status-indicator.online { + background-color: #67c23a; + box-shadow: 0 0 4px rgba(103, 194, 58, 0.5); } .server-ip {