提交 7655322d 编写于 作者: A AmyFoxFN

<update>(doc): home

上级 b1c74060
......@@ -59,4 +59,5 @@ export default {
#app
width: 100%
height: 100%
background-color: white
</style>
......@@ -54,15 +54,16 @@
.home-view
height: 100%
padding-top: 70px
box-sizing: border-box
transition: all 250ms ease
background: url("./cube.png") no-repeat 520px -31px
background-size: 1515px 696px
.router-view
height: 100%
.navigator
height: 70px
line-height: 70px
margin-top: -70px
padding: 0 100px
transition: all 0.3s ease
overflow: hidden
@media screen and (max-width: 960px)
......
<template>
<div class="home-index">
<h2>
<img src="//static.galileo.xiaojukeji.com/static/tms/shield/z/mofang/mofang/images/mofang_logo.png">
<p>cube-ui</p>
</h2>
<p>
<slot name="desc"></slot>
</p>
<div class="ghbtns">
<a href="https://github.com/didi/cube-ui"><img src="https://img.shields.io/github/stars/didi/cube-ui.svg?style=social&label=Star"></a>
<a href="https://github.com/didi/cube-ui"><img src="https://img.shields.io/github/forks/didi/cube-ui.svg?style=social&label=Fork"></a>
<a href="https://github.com/didi/cube-ui"><img src="https://img.shields.io/github/watchers/wepyjs/wepy.svg?style=social&label=Watch"></a>
<div class="banner">
<h2>Cube UI</h2>
<p>
<slot name="desc"></slot>
</p>
<div class="ghbtns">
<a href="https://github.com/didi/cube-ui"><img src="https://img.shields.io/github/stars/didi/cube-ui.svg?style=social&label=Star"></a>
<a href="https://github.com/didi/cube-ui"><img src="https://img.shields.io/github/forks/didi/cube-ui.svg?style=social&label=Fork"></a>
<a href="https://github.com/didi/cube-ui"><img src="https://img.shields.io/github/watchers/wepyjs/wepy.svg?style=social&label=Watch"></a>
</div>
</div>
<section class="features">
<!-- <h3>Features</h3> -->
<ul>
<slot name="features"></slot>
</ul>
......@@ -36,32 +34,32 @@
box-sizing: border-box
overflow: hidden
text-align: center
background: url("//webapp.didistatic.com/static/webapp/shield/cube-ui-home-index-background.png") no-repeat fixed center
background-size: cover
> h2
margin: 80px 0 20px
font-size: 30px
> .banner
padding: 120px 198px 220px 198px
text-align: left
color: #4B4B4C
@media screen and (max-width: 960px)
margin: 50px 0 10px
p
margin-top: 30px
> p
margin: 20px 0
> footer
position: absolute
bottom: 0
width: 100%
a
display: inline-block
padding: 10px 20px
color: #666
padding: 50px 0 30px 0
text-align: center
h2
font-size: 60px
@media screen and (max-width: 960px)
font-size: 30px
> p
margin: 30px 0
font-size: 18px
.ghbtns
a
display: inline-block
.features
margin: 60px auto 40px
padding: 80px 50px
background-color: #FBFBFB
box-shadow 0 0 12px 0 rgba(0, 0, 0, 0.1)
@media screen and (max-width: 960px)
margin: 30px auto 10px
padding: 0
box-shadow: none
> ul
display: flex
padding: 0 10px
......@@ -89,4 +87,14 @@
padding: 10px 0
text-align: center
font-size: 15px
footer
position: absolute
bottom: 0
width: 100%
background-color: #FBFBFB
a
display: inline-block
padding: 10px 20px
color: #666
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册