📝(home): 更新主页

更新文档
This commit is contained in:
就眠儀式 2022-06-15 00:55:47 +08:00
parent 2198eafa52
commit a8b79bf8be

View File

@ -32,7 +32,7 @@
> >
<span <span
>{{ t("home.download") }}<em class="site-showdowns" >{{ t("home.download") }}<em class="site-showdowns"
>12,041</em >12,889</em
></span ></span
> >
</div> </div>
@ -43,7 +43,7 @@
rel="nofollow" rel="nofollow"
class="site-star" class="site-star"
> >
<i class="layui-icon"></i> Star <cite id="getStars">1116</cite> <i class="layui-icon"></i> Star <cite id="getStars">1188</cite>
</a> </a>
<a <a
href="https://gitee.com/layui-vue" href="https://gitee.com/layui-vue"
@ -64,6 +64,34 @@
</div> </div>
</div> </div>
</div> </div>
<div class="box-list">
<lay-row :space="30">
<lay-col :md="6" :sm="12" :xs="12">
<div class="box">
<h1 class="title">🌈 Classic design</h1>
<p class="details">layui css.</p>
</div>
</lay-col>
<lay-col :md="6" :sm="12" :xs="12">
<div class="box">
<h1 class="title">🐝 Small volume</h1>
<p class="details">only 8.5 MB.</p>
</div>
</lay-col>
<lay-col :md="6" :sm="12" :xs="12">
<div class="box">
<h1 class="title">🍬 Setup script</h1>
<p class="details">use grammar sugar.</p>
</div>
</lay-col>
<lay-col :md="6" :sm="12" :xs="12">
<div class="box">
<h1 class="title">😋 Quick build</h1>
<p class="details">easy to use</p>
</div>
</lay-col>
</lay-row>
</div>
<div class="footer footer-index"> <div class="footer footer-index">
<p>Released under the <a href="/index.html">MIT License</a>.</p> <p>Released under the <a href="/index.html">MIT License</a>.</p>
<p>Copyright © 2021-2022 layui-vue.com</p> <p>Copyright © 2021-2022 layui-vue.com</p>
@ -107,18 +135,19 @@ html,
body { body {
height: 100%; height: 100%;
} }
.site-container { .site-container {
background: #fff; background: #fff;
margin-top: 60px; margin-top: 60px;
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
.site-banner { .site-banner {
height: 100%;
overflow: hidden; overflow: hidden;
text-align: center; text-align: center;
position: relative; position: relative;
border-bottom: 1px solid #eee; height: calc(100% - 60px);
background-image: url(../assets/background.svg); background-image: url(../assets/background.svg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100%; background-size: 100%;
@ -137,6 +166,7 @@ body {
margin-top: 72px; margin-top: 72px;
font-size: 0; font-size: 0;
} }
.site-download a { .site-download a {
position: relative; position: relative;
padding: 0 20px 0 20px; padding: 0 20px 0 20px;
@ -155,20 +185,25 @@ body {
-webkit-transition: all 0.5s; -webkit-transition: all 0.5s;
letter-spacing: 0.2px; letter-spacing: 0.2px;
} }
.site-download a:hover { .site-download a:hover {
border-radius: 10px; border-radius: 10px;
} }
.site-download a:first-child { .site-download a:first-child {
background: #009688; background: #009688;
color: white; color: white;
} }
.site-download a + a { .site-download a + a {
margin-left: 20px; margin-left: 20px;
} }
.site-zfj { .site-zfj {
padding-top: 25px; padding-top: 25px;
height: 220px; height: 220px;
} }
.site-zfj-anim i { .site-zfj-anim i {
-webkit-animation-name: site-zfj; -webkit-animation-name: site-zfj;
animation-name: site-zfj; animation-name: site-zfj;
@ -177,6 +212,7 @@ body {
-webkit-animation-timing-function: linear; -webkit-animation-timing-function: linear;
animation-timing-function: linear; animation-timing-function: linear;
} }
.site-zfj i { .site-zfj i {
position: absolute; position: absolute;
left: 50%; left: 50%;
@ -187,21 +223,25 @@ body {
font-size: 180px; font-size: 180px;
color: #c2c2c2; color: #c2c2c2;
} }
.site-desc-anim { .site-desc-anim {
-webkit-animation-name: site-desc; -webkit-animation-name: site-desc;
animation-name: site-desc; animation-name: site-desc;
} }
.site-desc { .site-desc {
position: relative; position: relative;
height: 70px; height: 70px;
margin-top: 20px; margin-top: 20px;
} }
.site-desc .web-font-desc { .site-desc .web-font-desc {
color: #fff; color: #fff;
color: #213547; color: #213547;
font-size: 52px; font-size: 52px;
opacity: 0.82; opacity: 0.82;
} }
.web-font-desc { .web-font-desc {
font-size: 76px; font-size: 76px;
line-height: 1.25; line-height: 1.25;
@ -210,6 +250,7 @@ body {
max-width: 960px; max-width: 960px;
margin: 0 auto; margin: 0 auto;
} }
.site-desc cite { .site-desc cite {
position: absolute; position: absolute;
bottom: -40px; bottom: -40px;
@ -218,23 +259,28 @@ body {
color: rgba(60, 60, 60, 0.7); color: rgba(60, 60, 60, 0.7);
font-style: normal; font-style: normal;
} }
.site-version { .site-version {
position: relative; position: relative;
margin-top: 18px; margin-top: 18px;
color: rgba(60, 60, 60, 0.7); color: rgba(60, 60, 60, 0.7);
font-size: 12px; font-size: 12px;
} }
.site-version span { .site-version span {
padding: 0 3px; padding: 0 3px;
} }
.site-version * { .site-version * {
font-style: normal; font-style: normal;
} }
.site-version a { .site-version a {
color: rgba(60, 60, 60, 0.7); color: rgba(60, 60, 60, 0.7);
text-decoration: none; text-decoration: none;
margin-top: -4px; margin-top: -4px;
} }
.site-banner-other { .site-banner-other {
position: relative; position: relative;
left: 0; left: 0;
@ -245,6 +291,32 @@ body {
font-size: 0; font-size: 0;
} }
.box-list {
padding: 50px 250px;
}
.box {
border: 1px solid rgba(60, 60, 60, 0.12);
border-radius: 12px;
padding: 24px;
height: 100%;
background-color: #f9f9f9;
}
.box .title {
line-height: 24px;
font-size: 16px;
font-weight: 600;
}
.box .details {
padding-top: 8px;
line-height: 24px;
font-size: 14px;
font-weight: 500;
color: rgba(60, 60, 60, 0.7);
}
.site-container .layui-field-title { .site-container .layui-field-title {
border-top: 1px solid #d2d2d2; border-top: 1px solid #d2d2d2;
} }
@ -263,11 +335,13 @@ body {
transition: all 0.5s; transition: all 0.5s;
-webkit-transition: all 0.5s; -webkit-transition: all 0.5s;
} }
.footer { .footer {
width: 100%; width: 100%;
padding: 30px 15px; padding: 30px 15px;
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;
border-top: 1px solid #eee;
color: rgba(60, 60, 60, 0.7); color: rgba(60, 60, 60, 0.7);
font-weight: 300; font-weight: 300;
font-size: 13.6px; font-size: 13.6px;