2026-02-06 03:34:50 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="physical-server-demo">
|
|
|
|
|
|
<div class="demo-header">
|
2026-02-14 12:14:07 +08:00
|
|
|
|
<span class="icon">🖥️</span>
|
|
|
|
|
|
<span class="title">物理服务器时代演示</span>
|
|
|
|
|
|
<span class="subtitle">观察早期 CGI 服务器的处理瓶颈</span>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="demo-stage">
|
|
|
|
|
|
<div class="client-zone">
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div class="zone-title">
|
|
|
|
|
|
👤 用户浏览器
|
|
|
|
|
|
</div>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
<div class="request-queue">
|
|
|
|
|
|
<div
|
|
|
|
|
|
v-for="(req, idx) in pendingRequests"
|
|
|
|
|
|
:key="req.id"
|
|
|
|
|
|
class="request-card"
|
|
|
|
|
|
:style="{ animationDelay: idx * 0.1 + 's' }"
|
|
|
|
|
|
>
|
|
|
|
|
|
<span class="req-method">{{ req.method }}</span>
|
|
|
|
|
|
<span class="req-path">{{ req.path }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<button
|
|
|
|
|
|
class="send-btn"
|
|
|
|
|
|
:disabled="isProcessing"
|
|
|
|
|
|
@click="sendRequest"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{ isProcessing ? '处理中...' : '🚀 发起请求' }}
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="connection-zone">
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div
|
|
|
|
|
|
class="network-line"
|
|
|
|
|
|
:class="{ busy: isProcessing }"
|
|
|
|
|
|
>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
<div class="packets">
|
|
|
|
|
|
<div
|
|
|
|
|
|
v-for="pkt in packets"
|
|
|
|
|
|
:key="pkt.id"
|
|
|
|
|
|
class="packet"
|
|
|
|
|
|
:class="pkt.type"
|
|
|
|
|
|
:style="{ top: pkt.top + 'px' }"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{ pkt.type === 'req' ? '📤' : '📥' }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div
|
|
|
|
|
|
v-if="currentLatency > 0"
|
|
|
|
|
|
class="latency-display"
|
|
|
|
|
|
>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
⏱️ {{ currentLatency }}ms
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="server-zone">
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div class="zone-title">
|
|
|
|
|
|
🖥️ CGI 服务器
|
|
|
|
|
|
</div>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
<div class="server-status">
|
|
|
|
|
|
<div
|
|
|
|
|
|
class="status-indicator"
|
|
|
|
|
|
:class="{ processing: isProcessing }"
|
|
|
|
|
|
>
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<span class="status-dot" />
|
2026-02-06 03:34:50 +08:00
|
|
|
|
<span class="status-text">{{ serverStatus }}</span>
|
|
|
|
|
|
</div>
|
2026-02-18 17:38:10 +08:00
|
|
|
|
<div
|
|
|
|
|
|
v-if="isProcessing"
|
|
|
|
|
|
class="cpu-usage"
|
|
|
|
|
|
>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
<div class="cpu-bar">
|
|
|
|
|
|
<div
|
|
|
|
|
|
class="cpu-fill"
|
|
|
|
|
|
:style="{ width: cpuUsage + '%' }"
|
2026-02-18 17:38:10 +08:00
|
|
|
|
/>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<span class="cpu-text">CPU: {{ cpuUsage }}%</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="process-queue">
|
|
|
|
|
|
<div
|
|
|
|
|
|
v-for="proc in processQueue"
|
|
|
|
|
|
:key="proc.id"
|
|
|
|
|
|
class="process-item"
|
|
|
|
|
|
>
|
|
|
|
|
|
<span class="proc-name">{{ proc.name }}</span>
|
|
|
|
|
|
<div class="proc-progress">
|
|
|
|
|
|
<div
|
|
|
|
|
|
class="proc-bar"
|
|
|
|
|
|
:style="{ width: proc.progress + '%' }"
|
2026-02-18 17:38:10 +08:00
|
|
|
|
/>
|
2026-02-06 03:34:50 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
2026-02-14 12:14:07 +08:00
|
|
|
|
<div class="info-box">
|
|
|
|
|
|
<span class="icon">💡</span>
|
|
|
|
|
|
<strong>核心思想:</strong>进程级隔离带来了稳定性,但也带来了巨大的性能开销。
|
2026-02-06 03:34:50 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
|
import { ref, computed } from 'vue'
|
|
|
|
|
|
|
|
|
|
|
|
const isProcessing = ref(false)
|
|
|
|
|
|
const currentLatency = ref(0)
|
|
|
|
|
|
const cpuUsage = ref(0)
|
|
|
|
|
|
const packets = ref([])
|
|
|
|
|
|
const pendingRequests = ref([])
|
|
|
|
|
|
const processQueue = ref([])
|
|
|
|
|
|
const requestCounter = ref(0)
|
|
|
|
|
|
const packetCounter = ref(0)
|
|
|
|
|
|
|
|
|
|
|
|
const serverStatus = computed(() => {
|
|
|
|
|
|
if (isProcessing.value) return '处理中...'
|
|
|
|
|
|
return '等待请求'
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const sendRequest = async () => {
|
|
|
|
|
|
if (isProcessing.value) return
|
|
|
|
|
|
|
|
|
|
|
|
isProcessing.value = true
|
|
|
|
|
|
requestCounter.value++
|
|
|
|
|
|
const requestId = requestCounter.value
|
|
|
|
|
|
|
|
|
|
|
|
// Add request to queue
|
|
|
|
|
|
pendingRequests.value.push({
|
|
|
|
|
|
id: requestId,
|
|
|
|
|
|
method: 'GET',
|
|
|
|
|
|
path: '/index.cgi'
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// Simulate network latency
|
|
|
|
|
|
currentLatency.value = 0
|
|
|
|
|
|
const latencyInterval = setInterval(() => {
|
|
|
|
|
|
currentLatency.value += Math.floor(Math.random() * 50) + 20
|
|
|
|
|
|
}, 100)
|
|
|
|
|
|
|
|
|
|
|
|
// Simulate packet
|
|
|
|
|
|
const packetId = ++packetCounter.value
|
|
|
|
|
|
packets.value.push({
|
|
|
|
|
|
id: packetId,
|
|
|
|
|
|
type: 'req',
|
|
|
|
|
|
top: 20
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// Add process to queue
|
|
|
|
|
|
processQueue.value.push({
|
|
|
|
|
|
id: requestId,
|
|
|
|
|
|
name: `CGI Process #${requestId}`,
|
|
|
|
|
|
progress: 0
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// Simulate CPU usage fluctuation
|
|
|
|
|
|
const cpuInterval = setInterval(() => {
|
|
|
|
|
|
cpuUsage.value = Math.min(100, cpuUsage.value + Math.random() * 20 + 10)
|
|
|
|
|
|
processQueue.value.forEach(p => {
|
|
|
|
|
|
p.progress = Math.min(100, p.progress + Math.random() * 15 + 5)
|
|
|
|
|
|
})
|
|
|
|
|
|
}, 100)
|
|
|
|
|
|
|
|
|
|
|
|
// Simulate processing time
|
|
|
|
|
|
await new Promise(resolve => setTimeout(resolve, 2000))
|
|
|
|
|
|
|
|
|
|
|
|
clearInterval(latencyInterval)
|
|
|
|
|
|
clearInterval(cpuInterval)
|
|
|
|
|
|
|
|
|
|
|
|
// Cleanup
|
|
|
|
|
|
pendingRequests.value = pendingRequests.value.filter(r => r.id !== requestId)
|
|
|
|
|
|
packets.value = packets.value.filter(p => p.id !== packetId)
|
|
|
|
|
|
processQueue.value = processQueue.value.filter(p => p.id !== requestId)
|
|
|
|
|
|
|
|
|
|
|
|
cpuUsage.value = 0
|
|
|
|
|
|
currentLatency.value = 0
|
|
|
|
|
|
isProcessing.value = false
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
.physical-server-demo {
|
|
|
|
|
|
border: 1px solid var(--vp-c-divider);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 6px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
background: var(--vp-c-bg-soft);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
|
margin: 0.5rem 0;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-header {
|
2026-02-14 12:14:07 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.4rem;
|
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
|
padding-bottom: 0.4rem;
|
2026-02-14 12:14:07 +08:00
|
|
|
|
border-bottom: 1px solid var(--vp-c-divider);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-header .icon {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 1rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-14 12:14:07 +08:00
|
|
|
|
.demo-header .title {
|
|
|
|
|
|
font-weight: bold;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 0.9rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
color: var(--vp-c-text-1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-14 12:14:07 +08:00
|
|
|
|
.demo-header .subtitle {
|
2026-02-06 03:34:50 +08:00
|
|
|
|
color: var(--vp-c-text-2);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
|
margin-left: 0.4rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.demo-stage {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
margin-bottom: 0.75rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.client-zone,
|
|
|
|
|
|
.server-zone {
|
|
|
|
|
|
background: var(--vp-c-bg);
|
|
|
|
|
|
border: 1px solid var(--vp-c-divider);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
padding: 0.5rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.zone-title {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 0.7rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--vp-c-brand);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
margin-bottom: 0.4rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.request-queue {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
min-height: 40px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
background: var(--vp-c-bg-soft);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
padding: 0.3rem;
|
|
|
|
|
|
margin-bottom: 0.4rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.15rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.request-card {
|
|
|
|
|
|
background: var(--vp-c-brand);
|
|
|
|
|
|
color: white;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
padding: 0.25rem 0.3rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
|
font-size: 0.6rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.req-method {
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
padding: 0.05rem 0.2rem;
|
|
|
|
|
|
border-radius: 2px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.send-btn {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
background: var(--vp-c-brand);
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
border: none;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
padding: 0.4rem;
|
|
|
|
|
|
font-size: 0.75rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.send-btn:hover:not(:disabled) {
|
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.send-btn:disabled {
|
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.connection-zone {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
min-width: 40px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.network-line {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
width: 2px;
|
|
|
|
|
|
height: 80px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
background: var(--vp-c-divider);
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
transition: opacity 0.3s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.network-line.busy {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
background: var(--vp-c-brand);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.latency-display {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
|
|
font-size: 0.6rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
color: var(--vp-c-brand);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.server-status {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
margin-bottom: 0.4rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-indicator {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
|
padding: 0.3rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
background: var(--vp-c-bg-soft);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
margin-bottom: 0.3rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-dot {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
width: 6px;
|
|
|
|
|
|
height: 6px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: var(--vp-c-success);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-indicator.processing .status-dot {
|
|
|
|
|
|
background: var(--vp-c-danger);
|
|
|
|
|
|
animation: blink 1s infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
|
|
0%, 100% { opacity: 1; }
|
|
|
|
|
|
50% { opacity: 0.3; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-text {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 0.65rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
color: var(--vp-c-text-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cpu-usage {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.3rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cpu-bar {
|
|
|
|
|
|
flex: 1;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
height: 4px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
background: var(--vp-c-bg-soft);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 2px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cpu-fill {
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
background: var(--vp-c-danger);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 2px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
transition: width 0.1s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cpu-text {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 0.55rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
color: var(--vp-c-text-2);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
min-width: 50px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
text-align: right;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.process-queue {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.25rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.process-item {
|
|
|
|
|
|
background: var(--vp-c-bg-soft);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
padding: 0.3rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.proc-name {
|
|
|
|
|
|
display: block;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
font-size: 0.55rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
color: var(--vp-c-text-2);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
margin-bottom: 0.2rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.proc-progress {
|
2026-02-14 20:23:34 +08:00
|
|
|
|
height: 3px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
background: var(--vp-c-bg);
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.proc-bar {
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
background: var(--vp-c-brand);
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
transition: width 0.1s linear;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.demo-stage {
|
|
|
|
|
|
grid-template-columns: 1fr;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.5rem;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.connection-zone {
|
|
|
|
|
|
flex-direction: row;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
height: 40px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.network-line {
|
|
|
|
|
|
width: 100%;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
height: 2px;
|
2026-02-06 03:34:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-14 12:14:07 +08:00
|
|
|
|
|
|
|
|
|
|
.info-box {
|
|
|
|
|
|
background: var(--vp-c-bg-alt);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
font-size: 0.75rem;
|
2026-02-14 12:14:07 +08:00
|
|
|
|
color: var(--vp-c-text-2);
|
2026-02-14 20:23:34 +08:00
|
|
|
|
margin-top: 0.5rem;
|
2026-02-14 12:14:07 +08:00
|
|
|
|
display: flex;
|
2026-02-14 20:23:34 +08:00
|
|
|
|
gap: 0.2rem;
|
2026-02-14 12:14:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.info-box .icon {
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.info-box strong {
|
|
|
|
|
|
color: var(--vp-c-text-1);
|
|
|
|
|
|
}
|
2026-02-06 03:34:50 +08:00
|
|
|
|
</style>
|