Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
97ccc96a
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
97ccc96a
编写于
8月 22, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update site style
上级
d7ff8034
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
43 addition
and
7 deletion
+43
-7
docs/introduce.md
docs/introduce.md
+32
-0
site/templates/home.html
site/templates/home.html
+1
-2
spec/introduce.md
spec/introduce.md
+7
-1
static/style.css
static/style.css
+3
-4
未找到文件。
docs/introduce.md
浏览文件 @
97ccc96a
...
...
@@ -42,6 +42,38 @@ var Datepicker = antd.Datepicker;
React
.
render
(<
Datepicker
/>,
mountNode
);
```
## 版本
-
稳定版:
<span
class=
"versions"
id=
"stable-version"
></span>
-
开发版:
<span
class=
"versions"
id=
"latest-version"
></span>
<style>
.versions {
font-weight: bold;
color: #C05B4D;
font-family: Consolas;
margin-left: 0.3em;
background: #FFF1E7;
padding: 2px 5px;
border-radius: 3px;
}
</style>
<script>
$('#latest-version').html(antdVersion.latest);
$('#latest-links a').each(function(i, item) {
$(item).attr('href', $(item).attr('href').replace('dist/antd', 'dist/antd-' + antdVersion.latest));
});
if (antdVersion.stable) {
$('#stable-version').html(antdVersion.stable);
$('#stable-link').attr('href', 'https://github.com/ant-design/ant-design/releases/tag/' + antdVersion.stable);
} else {
$('#stable-version').html('暂无');
$('#stable-link').hide();
}
</script>
## 链接
-
[
首页
](
http://ant.design/
)
...
...
site/templates/home.html
浏览文件 @
97ccc96a
...
...
@@ -17,11 +17,10 @@
<div
class=
"entry-slogan"
>
{{ config.site.description }}
</div>
<a
class=
"entry-link"
href=
"/
docs
/introduce"
>
<a
class=
"entry-link"
href=
"/
spec
/introduce"
>
<i
class=
"iconfont-home icon-lego"
></i>
开始使用
</a>
<div
class=
"entry-version"
>
v{{config.package.stableVersion}}
</div>
</div>
</div>
</div>
...
...
spec/introduce.md
浏览文件 @
97ccc96a
...
...
@@ -17,6 +17,12 @@ Ant Design 源自蚂蚁金服体验技术部的后台产品开发,我们的设
-
蚂蚁金服
## 前端实现
我们采用
[
React
](
http://facebook.github.io/react/
)
封装了一套 Ant Design 的组件库。
-
[
React
](
/docs/introduce
)
## 如何贡献
我们欢迎任何形式的贡献,有任何建议或意见您可以进行
[
Pull Request
](
https://gith
我们欢迎任何形式的贡献,有任何建议或意见您可以进行
[
Pull Request
](
https://gith
ub.com/ant-design/ant-design/pulls
)
,或者给我们
[
提问
](
https://github.com/ant-design/ant-design/issues
)
。
static/style.css
浏览文件 @
97ccc96a
...
...
@@ -1868,14 +1868,13 @@ footer ul li > a {
}
a
.entry-link
{
margin-top
:
15
px
;
margin-top
:
30
px
;
border
:
1px
solid
rgba
(
95
,
108
,
119
,
0.3
);
border-radius
:
50px
;
color
:
#5F6C77
;
display
:
block
;
display
:
inline-
block
;
text-align
:
center
;
padding
:
8px
0
;
width
:
140px
;
padding
:
8px
20px
;
transition
:
border
0.3s
ease
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录