Skip to content

Commit 7f3c047

Browse files
committed
首页:完成简介;隐藏赞助
1 parent 8df9f94 commit 7f3c047

File tree

3 files changed

+80
-98
lines changed

3 files changed

+80
-98
lines changed

.idea/workspace.xml

Lines changed: 41 additions & 74 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: 36 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,39 +28,53 @@
2828
</div>
2929
</div>
3030

31-
<div id="special-sponsor">
32-
<h3>特别赞助</h3>
33-
<%_ for (const sponsor of theme.platinum_sponsors_china) { _%>
34-
<a href="<%- sponsor.url %>" target="_blank">
35-
<img src="<%- url_for(`/images/${sponsor.img}`) %>" style="width:200px">
36-
</a>
37-
<%_ } _%>
38-
<%_if (theme.platinum_sponsors_china.length < 2) { _%>
39-
<br>
40-
<a class="become-backer" href="/support-vuejs/#special-sponsor-china">
41-
成为特别赞助商
42-
</a>
43-
<%_} _%>
44-
</div>
31+
<!--<div id="special-sponsor">-->
32+
<!--<h3>特别赞助</h3>-->
33+
<!--<%_ for (const sponsor of theme.platinum_sponsors_china) { _%>-->
34+
<!--<a href="<%- sponsor.url %>" target="_blank">-->
35+
<!--<img src="<%- url_for(`/images/${sponsor.img}`) %>" style="width:200px">-->
36+
<!--</a>-->
37+
<!--<%_ } _%>-->
38+
<!--<%_if (theme.platinum_sponsors_china.length < 2) { _%>-->
39+
<!--<br>-->
40+
<!--<a class="become-backer" href="/support-vuejs/#special-sponsor-china">-->
41+
<!--成为特别赞助商-->
42+
<!--</a>-->
43+
<!--<%_} _%>-->
44+
<!--</div>-->
4545

4646
<div id="highlights">
4747
<div class="inner">
4848
<div class="point">
49-
<h2>易用</h2>
50-
<p>已经会了 HTML、CSS、JavaScript?即刻阅读指南开始构建应用!</p>
49+
<h2>对于前端</h2>
50+
<p>
51+
不用再向后端同事催接口、求文档<br>
52+
数据和结构完全定制,要啥有啥<br>
53+
支持看请求知结果,所求即所得<br>
54+
可一次获取任何数据、任何结构<br>
55+
能去除重复数据,节省流量提高速度<br>
56+
</p>
5157
</div>
5258

5359
<div class="point">
54-
<h2>灵活</h2>
55-
<p>不断繁荣的生态系统,可以在一个库和一套完整框架之间自如伸缩。</p>
60+
<h2>接口工具</h2>
61+
<p>
62+
自动生成接口文档,清晰可读永远最新<br>
63+
自动校验与格式化,支持高亮和收展<br>
64+
自动生成各种语言的代码,一键下载<br>
65+
自动管理与测试接口用例,一键共享<br>
66+
自动给请求JSON加上注释,一键切换<br>
67+
</p>
5668
</div>
5769

5870
<div class="point">
59-
<h2>高效</h2>
71+
<h2>对于后端</h2>
6072
<p>
61-
20kB min+gzip 运行大小<br>
62-
超快虚拟 DOM <br>
63-
最省心的优化
73+
提供通用接口,大部分API不用再写<br>
74+
自动生成文档,不用再编写和维护<br>
75+
自动管理权限和版本、自动防SQL注入<br>
76+
开放API无需划分版本,始终保持兼容<br>
77+
支持增删改查、模糊搜索、正则匹配等<br>
6478
</p>
6579
</div>
6680
</div>

themes/vue/source/css/index.styl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,16 @@ body
130130
display: inline-block
131131
vertical-align: top
132132
box-sizing: border-box
133-
padding: 0 2em
133+
padding: 0 0.2em
134134
h2
135135
color: $green
136136
font-size: 1.5em
137137
font-weight: 400
138138
margin: 0
139-
padding: .5em 0
139+
padding: .1em 0
140140
p
141141
color: $light
142+
text-align: left
142143

143144
#footer
144145
padding: $space 0

0 commit comments

Comments
 (0)