feat: 顶部导航增加代理登录入口
This commit is contained in:
1 parent
4a3a30af9c
commit
217c083544
2 files changed
+21
-1
No files matched your search
@@ -17,6 +17,7 @@
|
||||
</div>
|
||||
<div class="top-actions">
|
||||
<router-link to="/shop" class="top-btn btn-primary">进入购买中心</router-link>
|
||||
<router-link to="/agent/login" class="top-btn btn-agent">代理登录</router-link>
|
||||
<router-link to="/login" class="top-btn btn-ghost">管理登录</router-link>
|
||||
</div>
|
||||
</header>
|
||||
@@ -290,7 +291,7 @@ curl -X POST https://你的域名/api/public/installations/heartbeat \
|
||||
<li><b>忘记绑定的机器码?</b>用卡密在「授权查询」中即可反查。</li>
|
||||
<li><b>客户端一直不提示更新?</b>请确认管理端已发布版本且状态启用;并传入 <code>client_version</code>;检查项目 API Key 是否正确。</li>
|
||||
<li><b>强制更新会拦住旧用户吗?</b>不会阻断授权,仅在客户端弹出强制更新提示;是否升级由客户端 UI 实现决定。</li>
|
||||
<li><b>如何成为代理?</b>通过 <router-link to="/agent/login" class="docs-link">代理登录入口</router-link> 注册,审核通过后可在额度内采购卡密。</li>
|
||||
<li><b>如何成为代理?</b>点击顶部 <router-link to="/agent/login" class="docs-link">代理登录</router-link>,注册后审核通过即可在额度内采购卡密;也可直接访问 <code>/agent/login</code>。</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -344,6 +345,8 @@ const year = new Date().getFullYear()
|
||||
}
|
||||
.btn-primary { background: linear-gradient(135deg, #7367f0, #9d67ff); color: #fff; box-shadow: 0 4px 14px rgba(115,103,240,.35); }
|
||||
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(115,103,240,.45); }
|
||||
.btn-agent { border: 1px solid rgba(16,185,129,.45); color: #059669; background: #fff; }
|
||||
.btn-agent:hover { background: rgba(16,185,129,.08); }
|
||||
.btn-ghost { border: 1px solid rgba(115,103,240,.4); color: #6758e8; background: #fff; }
|
||||
.btn-ghost:hover { background: rgba(115,103,240,.08); }
|
||||
|
||||
|
||||
@@ -50,6 +50,10 @@
|
||||
<span>{{ tab.label }}</span>
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
<div class="header-links">
|
||||
<a href="#/agent/login" class="header-link-btn agent">代理登录</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -1026,6 +1030,19 @@ function clearQueryResults() { cardResult.value = null; cardDialogVisible.value
|
||||
.nav-tab .tab-icon { transition: transform 0.3s var(--ease-bounce); }
|
||||
.nav-tab.active .tab-icon { transform: scale(1.1); }
|
||||
.tab-icon { display: flex; align-items: center; }
|
||||
.header-links { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
|
||||
.header-link-btn {
|
||||
display: inline-flex; align-items: center;
|
||||
padding: 8px 14px; border-radius: 10px;
|
||||
font-size: 13px; font-weight: 600; text-decoration: none;
|
||||
border: 1px solid var(--border); color: var(--text-secondary);
|
||||
background: var(--bg-inset); transition: all .2s;
|
||||
}
|
||||
.header-link-btn:hover { color: var(--text-primary); border-color: var(--border-strong); }
|
||||
.header-link-btn.agent {
|
||||
border-color: rgba(16,185,129,.45); color: #059669; background: rgba(16,185,129,.08);
|
||||
}
|
||||
.header-link-btn.agent:hover { background: rgba(16,185,129,.16); }
|
||||
|
||||
/* ================================================================
|
||||
3. 主内容
|
||||
|
||||
Reference in new issue
Block a user