Browse Source

优化排版

Pchen0 1 month ago
parent
commit
f35de4d069
2 changed files with 6 additions and 16 deletions
  1. 5 15
      src/pages/admin/lepaoProxy/index.vue
  2. 1 1
      src/router/index.js

+ 5 - 15
src/pages/admin/lepaoProxy/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="lepao-proxy-page">
-    <Breadcrumb :items="['网站管理', '乐跑出口代理']" />
+    <Breadcrumb :items="['网站管理', '网络代理']" />
 
     <a-spin :loading="pageLoading">
       <a-card class="hero-card" :bordered="false">
@@ -10,7 +10,6 @@
             <a-tag color="arcoblue" size="small">青果 · 通道提取</a-tag>
           </div>
           <div class="hero-desc">
-            对学校 HTTPS 接口经 HTTP 代理出口;密钥在服务端 <code>qgChannelProxy</code>。
             <a-link href="https://www.qg.net/doc/1850.html" target="_blank" rel="noopener">资源地区 API</a-link>
             ·
             <a-link href="https://www.qg.net/doc/1846.html" target="_blank" rel="noopener">提取 IP</a-link>
@@ -61,7 +60,7 @@
       </a-row>
 
       <a-row :gutter="16" style="margin-top: 16px">
-        <a-col :xs="24" :lg="16">
+        <a-col :xs="24" :lg="24">
           <a-card title="筛选与路由" :bordered="false" class="panel">
             <a-form :model="form" layout="vertical">
               <a-form-item label="启用青果出站">
@@ -123,15 +122,6 @@
             </a-form>
           </a-card>
         </a-col>
-        <a-col :xs="24" :lg="8">
-          <a-card title="说明" :bordered="false" class="panel side-tips">
-            <ul class="tips-list">
-              <li>资源列表来自青果「查询资源地区」接口,请以控制台实际可用为准。</li>
-              <li>日志表中「出口 IP」为青果 proxy_ip;「出口属地」仅据此 IP 解析(ip2region)。</li>
-              <li>单通道时请避免频繁作废 IP;后端已对 /get 与 POST 做多轮退让重试。</li>
-            </ul>
-          </a-card>
-        </a-col>
       </a-row>
 
       <a-card title="出站与切换摘要" class="panel log-card" style="margin-top: 16px" :bordered="false">
@@ -178,13 +168,13 @@
                 <a-tag size="small" :color="record.event_color">{{ record.event_label }}</a-tag>
               </template>
             </a-table-column>
-            <a-table-column title="节点 server" data-index="server" :width="160" ellipsis tooltip />
-            <a-table-column title="出口 IP" :width="130">
+            <a-table-column title="节点 server" data-index="server" :width="170" ellipsis tooltip />
+            <a-table-column title="出口 IP" :width="150">
               <template #cell="{ record }">
                 <span class="mono">{{ record.egress_ip ?? '—' }}</span>
               </template>
             </a-table-column>
-            <a-table-column title="出口属地" :width="200">
+            <a-table-column title="出口属地" :width="190">
               <template #cell="{ record }">
                 <span v-if="!record.egress_ip" class="hint-muted">—</span>
                 <a-tag v-else color="cyan" size="small">{{ shortenRegion(record.egress_region || '未知') }}</a-tag>

+ 1 - 1
src/router/index.js

@@ -329,7 +329,7 @@ const routes = [
                 name: 'admin.lepaoProxy',
                 component: () => import('../pages/admin/lepaoProxy/index.vue'),
                 meta: {
-                    title: '乐跑出口代理',
+                    title: '网络代理',
                     permission: ['admin', 'service']
                 }
             },