Files
ant-design/index.html
T
2017-01-21 00:48:58 +08:00

166 lines
13 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="An enterprise-class UI design language and React-based implementation">
<meta name="description" content="A set of high-quality React components">
<meta name="description" content="One of best React UI library for enterprise background">
<title>Ant Design - A UI Design Language</title>
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.cnpmjs.org/css?family=Lato:400,700|Raleway"/>
<link rel="stylesheet" type="text/css" href="/index.css"/>
<style id="nprogress-style">
#nprogress { display: none }
</style>
<!--[if lte IE 10]>
<script
src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,media-match/2.0.2/media.match.min.js"></script>
<![endif]-->
<script>
if (!window.Intl) {
document.writeln('<script src="https://as.alipayobjects.com/g/component/intl/1.0.1/??Intl.js,locale-data/jsonp/en.js,locale-data/jsonp/zh.js">' + '<' + '/script>');
}
if (!window.Promise) {
document.writeln('<script src="https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js"' + '>' + '<' + '/' + 'script>');
}
</script>
<script>
// Enable Google Analytics
if (!location.port) {
/* eslint-disable */
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-72788897-1', 'auto');
ga('send', 'pageview');
/* eslint-enable */
}
</script>
</head>
<body>
<div id="react-content">
<div class="page-wrapper" data-reactroot="" data-reactid="1" data-react-checksum="1045364456"><header id="header" class="clearfix" data-reactid="2"><div class="ant-row" data-reactid="3"><div class="ant-col-xs-24 ant-col-sm-24 ant-col-md-6 ant-col-lg-4" data-reactid="4"><a id="logo" href="/" data-reactid="5"><img alt="logo" src="https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg" data-reactid="6"/><span data-reactid="7">Ant Design</span></a></div><div class="ant-col-xs-0 ant-col-sm-0 ant-col-md-18 ant-col-lg-20" data-reactid="8"><div id="search-box" data-reactid="9"><div class="ant-select ant-select-combobox ant-select-enabled" data-reactid="10"><div class="ant-select-selection
ant-select-selection--single" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false" data-reactid="11"><div class="ant-select-selection__rendered" data-reactid="12"><div style="display:block;user-select:none;-webkit-user-select:none;" unselectable="unselectable" class="ant-select-selection__placeholder" data-reactid="13">Search Components...</div><ul data-reactid="14"><li class="ant-select-search ant-select-search--inline" data-reactid="15"><div class="ant-select-search__field__wrap" data-reactid="16"><input value="" class="ant-select-search__field" data-reactid="17"/><span class="ant-select-search__field__mirror" data-reactid="18"></span></div></li></ul></div><span class="ant-select-arrow" style="user-select:none;-webkit-user-select:none;" unselectable="unselectable" data-reactid="19"><b data-reactid="20"></b></span></div></div></div><button type="button" class="ant-btn ant-btn-ghost ant-btn-sm lang" data-reactid="21"><span data-reactid="22">中文</span></button><ul class="ant-menu ant-menu-horizontal ant-menu-light ant-menu-root" role="menu" aria-activedescendant="" id="nav" tabindex="0" data-reactid="23"><li class="ant-menu-item-selected ant-menu-item" role="menuitem" aria-selected="true" data-reactid="24"><a href="/" data-reactid="25"><span data-reactid="26">Home</span></a></li><li class="ant-menu-item" role="menuitem" aria-selected="false" data-reactid="27"><a href="/docs/spec/introduce" data-reactid="28"><span data-reactid="29">Specification</span></a></li><li class="ant-menu-item" role="menuitem" aria-selected="false" data-reactid="30"><a href="/docs/react/introduce" data-reactid="31"><span data-reactid="32">Components</span></a></li><li class="ant-menu-item" role="menuitem" aria-selected="false" data-reactid="33"><a href="/docs/pattern/navigation" data-reactid="34"><span data-reactid="35">Pattern</span></a></li><li class="ant-menu-item" role="menuitem" aria-selected="false" data-reactid="36"><a href="/docs/practice/cases" data-reactid="37"><span data-reactid="38">Practice</span></a></li><li class="ant-menu-item" role="menuitem" aria-selected="false" data-reactid="39"><a href="/docs/resource/download" data-reactid="40"><span data-reactid="41">Resource</span></a></li></ul></div></div></header><div class="main-wrapper" data-reactid="42"><section class="page banner-wrapper" data-reactid="43"><div id="banner" data-reactid="44"><div class="banner-text-wrapper" data-reactid="45"><div data-reactid="46"></div><div data-reactid="47"></div><div data-reactid="48"></div><div data-reactid="49"></div><div data-reactid="50"></div></div><i class="anticon anticon-down down" data-reactid="51"></i></div></section><div id="page1" class="content-wrapper page" data-reactid="52"></div><div id="page2" class="content-wrapper page" data-reactid="53"></div><div id="page3" class="content-wrapper page" data-reactid="54"></div><div id="page4" class="content-wrapper page" data-reactid="55"></div><style data-reactid="56">
html, body{
height: auto;
}
.page-wrapper {
background: #fff;
}
.main-wrapper {
background: transparent;
width: auto;
margin: 0;
border-radius: 0;
padding: 0;
min-height: 600px;
}
#header {
position: fixed;
z-index: 999;
background: rgba(0, 0, 0, 0.25);
border-bottom: 1px solid transparent;
transition: border .5s cubic-bezier(0.455, 0.03, 0.515, 0.955), background .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
#header .ant-select-selection,
#header .ant-menu {
background: transparent;
}
#header .ant-select-search__field {
color: #eee;
}
#header .ant-select-selection__placeholder {
color: rgba(255,255,255,0.57);
}
#header.home-nav-white .ant-select-search__field {
color: rgba(0, 0, 0, 0.65);
}
#header.home-nav-white .ant-select-selection__placeholder {
color: rgb(204, 204, 204);
}
#header.home-nav-white {
background: rgba(255, 255, 255, 0.91);
border-bottom-color: #EBEDEE;
}
.home-nav-white #search-box {
border-left-color: #EBEDEE;
}
.home-nav-white #nav a {
color: rgba(0, 0, 0, 0.65);
}
.home-nav-white .lang:not(:hover) {
color: rgba(0, 0, 0, 0.65);
border-color: rgba(0, 0, 0, 0.65);
}
.nav-phone-icon:before {
background: #eee;
box-shadow: 0 7px 0 0 #eee, 0 14px 0 0 #eee;
}
.home-nav-white .nav-phone-icon:before {
background: #777;
box-shadow: 0 7px 0 0 #777, 0 14px 0 0 #777;
}
.lang,
#nav a {
color: #eee;
transition: color 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
#search-box {
border-left-color: rgba(235, 237, 238, .5);
transition: border 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
#footer {
background: #000;
}
#footer,
#footer h2 {
color: #999;
}
#footer a {
color: #eee;
}
.down {
animation: upDownMove 1.2s ease-in-out infinite;
}
</style></div><footer id="footer" data-reactid="57"><ul data-reactid="58"><li data-reactid="59"><h2 data-reactid="60">GitHub</h2><div data-reactid="61"><a target="_blank " href="https://github.com/ant-design/ant-design" data-reactid="62"><span data-reactid="63">Repository</span></a></div><div data-reactid="64"><a target="_blank" rel="noopener noreferrer" href="https://github.com/dvajs/dva" data-reactid="65">dva</a><!-- react-text: 66 --> - <!-- /react-text --><span data-reactid="67">Framework</span></div><div data-reactid="68"><a target="_blank" rel="noopener noreferrer" href="https://github.com/dvajs/dva-cli" data-reactid="69">dva-cli</a><!-- react-text: 70 --> -<!-- /react-text --><span data-reactid="71">Scaffold</span></div><div data-reactid="72"><a target="_blank" rel="noopener noreferrer" href="http://ant-tool.github.io" data-reactid="73">ant-tool</a><!-- react-text: 74 --> - <!-- /react-text --><span data-reactid="75">Developer Tools</span></div></li><li data-reactid="76"><h2 data-reactid="77"><span data-reactid="78">Links</span></h2><div data-reactid="79"><a href="http://mobile.ant.design" data-reactid="80">Ant Design Mobile</a><span data-reactid="81"> - </span><span data-reactid="82">Mobile</span></div><div data-reactid="83"><a href="https://g2.alipay.com/" data-reactid="84">G2</a><span data-reactid="85"> - </span><span data-reactid="86">Data Visualization</span></div><div data-reactid="87"><a href="https://antv.alipay.com/" data-reactid="88">AntV</a><span data-reactid="89"> - </span><span data-reactid="90">Data Visualization Specification</span></div><div data-reactid="91"><a href="http://motion.ant.design" data-reactid="92">Ant Motion</a><span data-reactid="93"> - </span><span data-reactid="94">Motion</span></div><div data-reactid="95"><a href="http://library.ant.design/" data-reactid="96">AntD Library</a><span data-reactid="97"> - </span><span data-reactid="98">Axure library of Ant Design</span></div><div data-reactid="99"><a href="http://ux.ant.design" data-reactid="100">Ant UX</a><span data-reactid="101"> - </span><span data-reactid="102">Sitemap Template</span></div></li><li data-reactid="103"><h2 data-reactid="104"><span data-reactid="105">Community</span></h2><div data-reactid="106"><a rel="noopener noreferrer" href="/changelog" data-reactid="107"><span data-reactid="108">Change Log</span></a></div><div data-reactid="109"><a target="_blank" rel="noopener noreferrer" href="https://github.com/ant-design/ant-design/issues" data-reactid="110"><span data-reactid="111">Feedback</span></a></div><div data-reactid="112"><a target="_blank" rel="noopener noreferrer" href="https://gitter.im/ant-design/ant-design" data-reactid="113"><span data-reactid="114">Chat Room</span></a></div><div data-reactid="115"><a target="_blank" rel="noopener noreferrer" href="https://github.com/ant-design/ant-design/issues/new" data-reactid="116"><span data-reactid="117">Bug Report</span></a></div></li><li data-reactid="118"><div data-reactid="119"><!-- react-text: 120 -->©2016 <!-- /react-text --><span data-reactid="121">Created by Ant UED</span></div><div data-reactid="122"><!-- react-text: 123 -->Powered by <!-- /react-text --><a href="https://github.com/benjycui/bisheng" data-reactid="124">BiSheng</a></div><div style="margin-top:10px;" data-reactid="125"><span data-reactid="126">Version: </span><div class="ant-select-sm ant-select ant-select-enabled" data-reactid="127"><div class="ant-select-selection
ant-select-selection--single" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false" tabindex="0" data-reactid="128"><div class="ant-select-selection__rendered" data-reactid="129"><div class="ant-select-selection-selected-value" title="2.6.4" style="display:block;opacity:1;" data-reactid="130">2.6.4</div></div><span class="ant-select-arrow" style="user-select:none;-webkit-user-select:none;" unselectable="unselectable" data-reactid="131"><b data-reactid="132"></b></span></div></div></div></li></ul></footer></div>
</div>
<script>
function isZhCN(pathname) {
return /-cn\/?$/.test(pathname);
}
function getLocalizedPathname(path, zhCN) {
var pathname = path.startsWith('/') ? path : '/' + path;
if (!zhCN) { // to enUS
return /\/?index-cn/.test(pathname) ? '/' : pathname.replace('-cn', '');
} else if (pathname === '/') {
return '/index-cn';
} else if (pathname.endsWith('/')) {
return pathname.replace(/\/$/, '-cn/');
}
return pathname + '-cn';
}
var queryString = location.search;
if (queryString) {
var pathname = location.pathname;
var isZhCNConfig = queryString.indexOf('zh-CN') > -1;
if (isZhCNConfig !== isZhCN(pathname)) {
location.pathname = getLocalizedPathname(pathname, isZhCNConfig)
}
}
</script>
<script src="/common.js"></script>
<script src="/index.js"></script>
</body>
</html>