Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
cube-ui
提交
7655322d
C
cube-ui
项目概览
DiDi
/
cube-ui
10 个月 前同步成功
通知
34
Star
9078
Fork
1508
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cube-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
7655322d
编写于
2月 28, 2018
作者:
A
AmyFoxFN
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
<update>(doc): home
上级
b1c74060
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
42 addition
and
32 deletion
+42
-32
document/App.vue
document/App.vue
+1
-0
document/components/home/cube.png
document/components/home/cube.png
+0
-0
document/components/home/home.vue
document/components/home/home.vue
+3
-2
document/components/index/index.vue
document/components/index/index.vue
+38
-30
未找到文件。
document/App.vue
浏览文件 @
7655322d
...
...
@@ -59,4 +59,5 @@ export default {
#app
width: 100%
height: 100%
background-color: white
</
style
>
document/components/home/cube.png
0 → 100644
浏览文件 @
7655322d
161.1 KB
document/components/home/home.vue
浏览文件 @
7655322d
...
...
@@ -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: -7
0px
padding: 0 10
0px
transition: all 0.3s ease
overflow: hidden
@media screen and (max-width: 960px)
...
...
document/components/index/index.vue
浏览文件 @
7655322d
<
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录