第一份2.0-LTS代码上传

This commit is contained in:
2026-07-26 21:55:42 +08:00
parent 542f265a35
commit e64a8687d2
8 changed files with 286 additions and 115 deletions
+1 -2
View File
@@ -267,10 +267,9 @@
<label>frp v2 隧道支持</label>
<div class="v2-switch-wrapper">
<label class="switch disabled">
<input type="checkbox" v-model="globalConfig.wireProtocolV2" disabled />
<input type="checkbox" v-model="globalConfig.wireProtocolV2" />
<span class="slider"></span>
</label>
<span class="v2-badge">即将推出</span>
</div>
<span class="hint-text v2-hint">
此功能为 frp 0.70.0 以上版本才能开启,若要打开必须搭配同版本 frps 使用,否则此功能不生效
+6 -15
View File
@@ -155,21 +155,6 @@
padding: 6px 0;
}
/* 禁用状态开关 - 灰标 */
.switch.disabled {
opacity: 0.4;
cursor: not-allowed;
pointer-events: none;
}
.switch.disabled .slider {
background: rgba(255, 255, 255, 0.08);
}
.switch.disabled input:checked + .slider {
background: rgba(74, 124, 255, 0.25);
}
.switch.disabled .slider::before {
background: #3a3a4a;
}
/* "即将推出" 徽章 */
.v2-badge {
@@ -183,6 +168,12 @@
font-weight: 500;
}
.v2-badge.v2-enabled {
background: rgba(99, 226, 183, 0.12);
border-color: rgba(99, 226, 183, 0.2);
color: #63e2b7;
}
.v2-hint {
font-size: 12px;
color: var(--text-dim);