pull/2621/head
afc163 9 years ago
parent 0d84468925
commit f869943c5c

@ -28,9 +28,9 @@ Ant Design 是一个致力于提升『用户』和『设计者』使用体验的
我们采用 [React](http://facebook.github.io/react/) 封装了一套 Ant Design 的组件库,也欢迎社区其他框架的实现版本。 我们采用 [React](http://facebook.github.io/react/) 封装了一套 Ant Design 的组件库,也欢迎社区其他框架的实现版本。
- [Ant Design of React](/docs/react/introduce)(官方实现) - [Ant Design of React](/docs/react/introduce)(官方实现)
- <p><a class="outside-link internal" href="http://naza.alibaba.net" target="_blank">Ant Design of Angular 2.0</a></p> - <div class="outside-link internal"><a href="http://naza.alibaba.net" target="_blank">Ant Design of Angular 2.0</a></div>
- <p><a class="outside-link" href="https://github.com/okoala/vue-antd" target="_blank">vue-antd</a></p> - <div class="outside-link"><a href="https://github.com/okoala/vue-antd" target="_blank">vue-antd</a></div>
- <p><a class="outside-link" href="https://github.com/idcos/antd-ember" target="_blank">antd-ember</a></p> - <div class="outside-link"><a href="https://github.com/idcos/antd-ember" target="_blank">antd-ember</a></div>
## 如何贡献 ## 如何贡献

@ -67,11 +67,16 @@ div.main-container {
opacity: .67; opacity: .67;
} }
.outside-link {
display: inline-block;
}
.outside-link:after { .outside-link:after {
content: '\E669'; content: '\E669';
font-family: 'anticon'; font-family: 'anticon';
margin-left: 5px; margin-left: 5px;
font-size: 12px; font-size: 12px;
color: #aaa;
} }
.outside-link.internal { .outside-link.internal {

@ -62,6 +62,9 @@
.markdown ul > li { .markdown ul > li {
list-style: circle; list-style: circle;
&:empty {
display: none;
}
} }
.markdown > ul li, .markdown > ul li,

@ -17,6 +17,8 @@ export default class Article extends React.Component {
this.pingTimer = utils.ping(checkImgUrl, status => { this.pingTimer = utils.ping(checkImgUrl, status => {
if (status === 'responded') { if (status === 'responded') {
links.forEach(link => (link.style.display = 'block')); links.forEach(link => (link.style.display = 'block'));
} else {
links.forEach(link => link.parentNode.removeChild(link));
} }
}); });
} }

Loading…
Cancel
Save