From b9131c3b946c9dafb4db00dbd449d8017436b1c3 Mon Sep 17 00:00:00 2001 From: jljsj Date: Tue, 19 Jan 2016 11:12:40 +0800 Subject: [PATCH 1/4] update home --- package.json | 4 ++-- scripts/home.js | 30 ++++++++++++++++++------------ 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index c44bec7794..2524bab781 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "warning": "~2.1.0" }, "devDependencies": { - "rc-scroll-anim": "0.0.5", - "rc-tween-one": "0.1.5", + "rc-scroll-anim": "0.1.0", + "rc-tween-one": "0.1.8", "autoprefixer-loader": "^3.1.0", "babel-cli": "^6.2.0", "babel-core": "^6.2.1", diff --git a/scripts/home.js b/scripts/home.js index 2b2b8eacc0..b505ac0c64 100644 --- a/scripts/home.js +++ b/scripts/home.js @@ -4,8 +4,8 @@ import { QueueAnim, Icon, Button } from '../index'; import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack'; import TweenOne from 'rc-tween-one'; -module.exports = function() { - InstantClickChangeFns.push(function() { +module.exports = function () { + InstantClickChangeFns.push(function () { if (!document.getElementById('banner')) { return; } @@ -60,11 +60,13 @@ module.exports = function() { ReactDOM.render(( - + style={{transform: 'translateX(-100px)', opacity: 0}} scrollHideProps={{type: 'reverse'}}/> +

最佳实践

近一年的中后台设计实践,积累了大量的优秀案例。

-
@@ -73,15 +75,17 @@ module.exports = function() { //page2 ReactDOM.render(( - +

设计模式

总结中后台设计中反复出现的问题,并提供相应的解决方案。

+ onClick={()=>{window.location.href='/docs/pattern/navigation'}}>了解更多
+ style={{transform: 'translateX(100px)', opacity: 0}} scrollHideProps={{type: 'reverse'}}/>
), document.getElementById('page2')); @@ -89,8 +93,9 @@ module.exports = function() { ReactDOM.render(( - + style={{transform: 'translateX(-100px)', opacity: 0}} scrollHideProps={{type: 'reverse'}}/> +

丰富的基础组件

丰富、灵活、实用的基础组件,为业务产品提供强有力的设计支持。