文档样式优化

This commit is contained in:
click33
2021-12-28 23:35:56 +08:00
parent 2286b02881
commit f4272c3ad4
7 changed files with 245 additions and 150 deletions

View File

@@ -13,68 +13,82 @@
<script type="text/javascript" src="https://cdn.wwads.cn/js/makemoney.js" async></script>
</head>
<body>
<a href="/">
<div class="doc-header">
<div class="nav-left">
<a href="index.html">
<div class="logo-box">
<img src="logo.png" title="logo" />
<h1 class="logo-text">Sa-Token</h1>
<sub>v1.28.0</sub>
</div>
</a>
</div>
<nav class="nav-right">
<div class="sear-box" tabindex="-1" >
<!-- 加载中…… -->
</div>
<select onchange="location.href=this.value">
<option value="http://sa-token.dev33.cn/doc/index.html">最新版</option>
<option value="http://sa-token.dev33.cn/v/v1.27.0/doc/index.html">v1.27.0</option>
<option value="http://sa-token.dev33.cn/v/v1.26.0/doc/index.html">v1.26.0</option>
<option value="http://sa-token.dev33.cn/v/v1.25.0/doc/index.html">v1.25.0</option>
<option value="http://sa-token.dev33.cn/v/v1.24.0/doc/index.html">v1.24.0</option>
<option value="http://sa-token.dev33.cn/v/v1.23.0/doc/index.html">v1.23.0</option>
<option value="http://sa-token.dev33.cn/v/v1.22.0/doc/index.html">v1.22.0</option>
<option value="http://sa-token.dev33.cn/v/v1.21.0/doc/index.html">v1.21.0</option>
<option value="http://sa-token.dev33.cn/v/v1.20.0/doc/index.html">v1.20.0</option>
<option value="http://sa-token.dev33.cn/v/v1.19.0/doc/index.html">v1.19.0</option>
<option value="http://sa-token.dev33.cn/v/v1.18.0/doc/index.html">v1.18.0</option>
<option value="http://sa-token.dev33.cn/v/v1.17.0/doc/index.html">v1.17.0</option>
<option value="http://sa-token.dev33.cn/v/v1.16.0/doc/index.html">v1.16.0</option>
<option value="http://sa-token.dev33.cn/v/v1.15.0/doc/index.html">v1.15.0</option>
<option value="http://sa-token.dev33.cn/v/v1.14.0/doc/index.html">v1.14.0</option>
<option value="http://sa-token.dev33.cn/v/v1.13.0/doc/index.html">v1.13.0</option>
<option value="http://sa-token.dev33.cn/v/v1.12.1/doc/index.html">v1.12.1</option>
<option value="http://sa-token.dev33.cn/v/v1.12.0/doc/index.html">v1.12.0</option>
<option value="http://sa-token.dev33.cn/v/v1.11.0/doc/index.html">v1.11.0</option>
<option value="http://sa-token.dev33.cn/v/v1.10.0/doc/index.html">v1.10.0</option>
<option value="http://sa-token.dev33.cn/v/v1.9.0/doc/index.html">v1.9.0</option>
<option value="http://sa-token.dev33.cn/v/v1.8.0/doc/index.html">v1.8.0</option>
<option value="http://sa-token.dev33.cn/v/v1.7.0/doc/index.html">v1.7.0</option>
<option value="http://sa-token.dev33.cn/v/v1.6.0/doc/index.html">v1.6.0</option>
<option value="http://sa-token.dev33.cn/v/v1.5.1/doc/index.html">v1.5.1</option>
<option value="http://sa-token.dev33.cn/v/v1.4.0/doc/index.html">v1.4.0</option>
<option value="http://sa-token.dev33.cn/v/v1.3.0/doc/index.html">v1.3.0</option>
<option value="http://sa-token.dev33.cn/v/v1.2.0/doc/index.html">v1.2.0</option>
<option value="http://sa-token.dev33.cn/v/v1.1.0/doc/index.html">v1.1.0</option>
<option value="http://sa-token.dev33.cn/v/v1.0.0/doc/index.html">v1.0.0</option>
</select>
<a class="wzi" href="../index.html">🔨️️ 首页</a>
<a class="p-none wzi" href="#/more/link">🌱 生态</a>
<a class="p-none wzi" href="#/more/sa-token-donate">❤️ 赞助</a>
<div class="zk-box">
<a class="wzi" href="javascript:;">
<span>🔖 相关资源 </span>
<span class="zk-icon"></span>
</a>
<div class="zk-context">
<div>
<!-- <a href="#/more/sa-token-donate">❤️ &nbsp;赞助</a> -->
<a href="#/more/update-log"><span style="transform: rotateY(180deg); display: inline-block;">🧾</span> &nbsp;更新日志</a>
<a href="#/more/common-questions">💥️ &nbsp;常见报错</a>
<a href="#/more/tj-gzh">🚩️ &nbsp;推荐公众号</a>
<a href="#/fun/sa-token-test">🗞️ &nbsp;在线考试 ++</a>
<div class="zk-fengexian"></div>
<a href="http://sa-app.dev33.cn/wall.html?name=sa-token" target="_blank">🧱 &nbsp;需求墙</a>
<a href="https://wj.qq.com/s2/8475114/2f6a/" target="_blank">📝 &nbsp;问卷调查</a>
</div>
</div>
</div>
</nav>
</div>
<!-- <a href="/">
<div class="logo-box">
<img src="logo.png" title="logo" />
<h1 class="logo-text">Sa-Token</h1>
</div>
</a>
<nav class="a-box">
<select onchange="location.href=this.value">
<option value="http://sa-token.dev33.cn/doc/index.html">最新版</option>
<option value="http://sa-token.dev33.cn/v/v1.27.0/doc/index.html">v1.27.0</option>
<option value="http://sa-token.dev33.cn/v/v1.26.0/doc/index.html">v1.26.0</option>
<option value="http://sa-token.dev33.cn/v/v1.25.0/doc/index.html">v1.25.0</option>
<option value="http://sa-token.dev33.cn/v/v1.24.0/doc/index.html">v1.24.0</option>
<option value="http://sa-token.dev33.cn/v/v1.23.0/doc/index.html">v1.23.0</option>
<option value="http://sa-token.dev33.cn/v/v1.22.0/doc/index.html">v1.22.0</option>
<option value="http://sa-token.dev33.cn/v/v1.21.0/doc/index.html">v1.21.0</option>
<option value="http://sa-token.dev33.cn/v/v1.20.0/doc/index.html">v1.20.0</option>
<option value="http://sa-token.dev33.cn/v/v1.19.0/doc/index.html">v1.19.0</option>
<option value="http://sa-token.dev33.cn/v/v1.18.0/doc/index.html">v1.18.0</option>
<option value="http://sa-token.dev33.cn/v/v1.17.0/doc/index.html">v1.17.0</option>
<option value="http://sa-token.dev33.cn/v/v1.16.0/doc/index.html">v1.16.0</option>
<option value="http://sa-token.dev33.cn/v/v1.15.0/doc/index.html">v1.15.0</option>
<option value="http://sa-token.dev33.cn/v/v1.14.0/doc/index.html">v1.14.0</option>
<option value="http://sa-token.dev33.cn/v/v1.13.0/doc/index.html">v1.13.0</option>
<option value="http://sa-token.dev33.cn/v/v1.12.1/doc/index.html">v1.12.1</option>
<option value="http://sa-token.dev33.cn/v/v1.12.0/doc/index.html">v1.12.0</option>
<option value="http://sa-token.dev33.cn/v/v1.11.0/doc/index.html">v1.11.0</option>
<option value="http://sa-token.dev33.cn/v/v1.10.0/doc/index.html">v1.10.0</option>
<option value="http://sa-token.dev33.cn/v/v1.9.0/doc/index.html">v1.9.0</option>
<option value="http://sa-token.dev33.cn/v/v1.8.0/doc/index.html">v1.8.0</option>
<option value="http://sa-token.dev33.cn/v/v1.7.0/doc/index.html">v1.7.0</option>
<option value="http://sa-token.dev33.cn/v/v1.6.0/doc/index.html">v1.6.0</option>
<option value="http://sa-token.dev33.cn/v/v1.5.1/doc/index.html">v1.5.1</option>
<option value="http://sa-token.dev33.cn/v/v1.4.0/doc/index.html">v1.4.0</option>
<option value="http://sa-token.dev33.cn/v/v1.3.0/doc/index.html">v1.3.0</option>
<option value="http://sa-token.dev33.cn/v/v1.2.0/doc/index.html">v1.2.0</option>
<option value="http://sa-token.dev33.cn/v/v1.1.0/doc/index.html">v1.1.0</option>
<option value="http://sa-token.dev33.cn/v/v1.0.0/doc/index.html">v1.0.0</option>
</select>
<a href="../index.html">🔨️️ 首页</a>
<a class="p-none" href="#/more/link">🌱 生态</a>
<a class="p-none" href="#/more/sa-token-donate">❤️ 赞助</a>
<div class="zk-box">
<a href="javascript:;">
<span>🔖 相关资源 </span>
<span class="zk-icon"></span>
</a>
<div style="height: 10px;"></div>
<div class="zk-context">
<div>
<!-- <a href="#/more/sa-token-donate">❤️ &nbsp;赞助</a> -->
<a href="#/more/update-log"><span style="transform: rotateY(180deg); display: inline-block;">🧾</span> &nbsp;更新日志</a>
<a href="#/more/common-questions">💥️ &nbsp;常见报错</a>
<a href="#/more/tj-gzh">🚩️ &nbsp;推荐公众号</a>
<a href="#/fun/sa-token-test">🗞️ &nbsp;在线考试 ++</a>
<div class="zk-fengexian"></div>
<a href="http://sa-app.dev33.cn/wall.html?name=sa-token" target="_blank">🧱 &nbsp;需求墙</a>
<a href="https://wj.qq.com/s2/8475114/2f6a/" target="_blank">📝 &nbsp;问卷调查</a>
</div>
</div>
</div>
</nav>
</a> -->
<div class="main-box">
<div id="app">加载中...</div>
</div>
@@ -99,7 +113,7 @@
var name = '<img style="width: 60px; height: 60px; vertical-align: middle;" src="logo.png" alt="logo" /> ';
name += '<b style="font-size: 28px; vertical-align: middle;">Sa-Token</b> <sub>v' + saTokenTopVersion + '</sub>';
window.$docsify = {
name: name, // 名字
// name: name, // 名字
repo: 'https://github.com/dromara/sa-token', // github地址
// themeColor: '#06A3D7', // 主题颜色
basePath: location.pathname.substr(0, location.pathname.lastIndexOf('/') + 1), // 自动计算项目名字
@@ -146,6 +160,7 @@
<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css" />
<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script> -->
<!-- jqeury -->
<script src="https://unpkg.zhimg.com/jquery@3.4.1/dist/jquery.min.js"></script>
<!-- 搜索引擎自动提交 -->