Skip to content

Commit de7cc4b

Browse files
committed
调整顶部菜单;隐藏中间的内容
1 parent 701189b commit de7cc4b

File tree

3 files changed

+112
-85
lines changed

3 files changed

+112
-85
lines changed

.idea/workspace.xml

Lines changed: 68 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/vue/layout/index.ejs

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@
4646

4747
<div id="special-sponsor">
4848
<p align="center" style="margin-top: 0px">🏆码云最有价值开源项目<br />🚀后端接口和文档自动化,前端(客户端) 定制返回JSON的数据和结构!</p>
49-
<a class="become-backer" style="margin-top: 0px" href="https://github.com/APIJSON/APIJSON">
50-
右上角点 ⭐Star 支持
49+
<!--<a class="become-backer" style="margin-top: 0px" href="https://github.com/APIJSON/APIJSON">-->
50+
<!--右上角点 ⭐Star 支持-->
51+
<!--</a>-->
52+
<a class="become-backer" style="margin-top: 0px;width: 100px" href="http://apijson.org/auto" target="_blank">
53+
在线测试
5154
</a>
5255
</div>
5356

@@ -88,11 +91,14 @@
8891
</div>
8992
</div>
9093

91-
<div id="sponsors">
92-
<div class="inner">
93-
<%- partial('partials/sponsors') %>
94-
</div>
95-
</div>
94+
<!-- TODO 加入 APIJSON GIF 演示轮播图,自动轮播组件可用上面的 special-sponsor -->
95+
96+
<!-- TODO 恢复注释,内容改为 登录用户 和 贡献者 -->
97+
<!--<div id="sponsors">-->
98+
<!--<div class="inner">-->
99+
<!--%- partial('partials/sponsors') %-->
100+
<!--</div>-->
101+
<!--</div>-->
96102

97103
<!--<div id="news">-->
98104
<!--<div class="inner">-->
Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
1-
<li>
2-
<form id="search-form">
3-
<input type="text" id="search-query-<%- context %>" class="search-query st-default-search-input">
4-
</form>
1+
<!--<li>-->
2+
<!--<form id="search-form">-->
3+
<!--<input type="text" id="search-query-<%- context %>" class="search-query st-default-search-input">-->
4+
<!--</form>-->
5+
<!--</li>-->
6+
7+
<!-- FIXME 尝试加输入框,且点击后,浏览器打开新标签页,不行 -->
8+
<!--<li>-->
9+
<!--<form id="search-form" style="position: absolute" href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank">-->
10+
<!--<input disabled type="text" id="search-query-<%- context %>" class="search-query st-default-search-input" >-->
11+
<!--</form>-->
12+
<!--<button style="width: 160px" href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank"/>-->
13+
<!--</li>-->
14+
15+
<li style="vertical-align: middle" >
16+
<a href="https://gitee.com/TommyLemon/APIJSON" target="_blank">
17+
<img style="margin-bottom: -4px" height="24" width="60" src="https://gitee.com/logo-black.svg?20171024" >
18+
</a>
519
</li>
6-
<%- partial('partials/learn_dropdown') %>
7-
<%- partial('partials/ecosystem_dropdown') %>
8-
<li>
9-
<a href="<%- url_for("/v2/guide/team.html") %>" class="nav-link team<%- page.path.match(/team\.html/) ? ' current' : '' %>">团队</a>
10-
</li>
11-
<%- partial('partials/support_vue_dropdown') %>
12-
<%- partial('partials/language_dropdown') %>
13-
<li><a href="https://github.com/vuejs/cn.vuejs.org/" target="_blank" class="nav-link contribute">参与翻译</a></li>
20+
<li><a href="https://vincentcheng.github.io/apijson-doc/zh" target="_blank" class="nav-link contribute">文档</a></li>
21+
<li><a href="http://i.youku.com/apijson" target="_blank" class="nav-link contribute">视频</a></li>
22+
<li><a href="https://github.com/search?o=desc&q=apijson&s=stars&type=Repositories" target="_blank" class="nav-link contribute">源码</a></li>
23+
24+
25+
<!--<%- partial('partials/learn_dropdown') %>-->
26+
<!--<%- partial('partials/ecosystem_dropdown') %>-->
27+
<!--<li>-->
28+
<!--<a href="<%- url_for("/v2/guide/team.html") %>" class="nav-link team<%- page.path.match(/team\.html/) ? ' current' : '' %>">团队</a>-->
29+
<!--</li>-->
30+
<!--<%- partial('partials/support_vue_dropdown') %>-->
31+
<!--<%- partial('partials/language_dropdown') %>-->
32+
<!--<li><a href="https://github.com/vuejs/cn.vuejs.org/" target="_blank" class="nav-link contribute">参与翻译</a></li>-->

0 commit comments

Comments
 (0)