2016-02-29 14:08:40 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2016-03-23 14:15:00 +08:00
|
|
|
<title>Ant Design - 一个 UI 设计语言</title>
|
|
|
|
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
|
2016-02-29 14:08:40 +08:00
|
|
|
<link rel="stylesheet" type="text/css" href="./index.css"/>
|
|
|
|
<!--[if lt IE 10]>
|
|
|
|
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,es5-shim/4.1.14/es5-shim.min.js,es5-shim/4.1.14/es5-sham.min.js,html5shiv/3.7.2/html5shiv.min.js,media-match/2.0.2/media.match.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body>
|
2016-05-11 19:23:11 +08:00
|
|
|
<div id="react-content">
|
2016-05-11 19:18:54 +08:00
|
|
|
<div class="ant-site-loading">
|
2016-05-12 15:19:24 +08:00
|
|
|
<img src='https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg' />
|
|
|
|
<div id="loading-text">A Design Language</div>
|
2016-05-11 19:18:54 +08:00
|
|
|
</div>
|
2016-05-12 15:19:24 +08:00
|
|
|
<script>
|
|
|
|
const content = document.getElementById('loading-text');
|
|
|
|
content.innerHTML = content.innerText.split('').map(function(letter, i) {
|
|
|
|
var className;
|
|
|
|
if (i > 0 && i < content.innerText.length - 1) {
|
|
|
|
className = 'yoyo-x-' + (i % 6);
|
|
|
|
}
|
|
|
|
if (letter.trim() === '') {
|
|
|
|
className += ' blank';
|
|
|
|
}
|
|
|
|
return '<span class="' + className + '">' + letter + '</span>';
|
|
|
|
}).join('');
|
|
|
|
</script>
|
2016-05-11 19:18:54 +08:00
|
|
|
</div>
|
2016-02-29 14:08:40 +08:00
|
|
|
</body>
|
|
|
|
<script src="./index.js"></script>
|
|
|
|
</html>
|