You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ji...@apache.org on 2017/02/01 07:21:26 UTC

[26/51] [partial] incubator-weex-site git commit: Site updated: 2017-02-01 15:00:00

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/14041490/content/cn/references/migration/migration-from-weex.html
----------------------------------------------------------------------
diff --git a/content/cn/references/migration/migration-from-weex.html b/content/cn/references/migration/migration-from-weex.html
new file mode 100644
index 0000000..4139534
--- /dev/null
+++ b/content/cn/references/migration/migration-from-weex.html
@@ -0,0 +1,1433 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta name="description" content="\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672cWeex \u672c\u8eab\u6709\u4e00\u5957\u8bed\u6cd5\u89c4\u5219\uff0c\u548c Vue \u672c\u8eab\u5f88\u76f8\u4f3c\uff0c\u73b0\u5728 Weex \u4e0e Vue \u6709\u4e86\u5b98\u65b9\u5408\u4f5c\uff0c\u652f\u6301\u5c06 Vue 2.x \u4f5c\u4e3a\u5185\u7f6e\u7684\u524d\u7aef\u6846\u67b6\uff0c\u6211\u4eec\u4e5f\u63a8\u8350\u5927\u5bb6\u4f7f\u7528 Vue 2.x \u7684\u8bed\u6cd5\u5f00\u53d1\u539f\u751f\u5e94\u7528\u3002\u5bf9\u4e8e\u73b0\u5b58\u65e7\u7248\u7684 .we \u6587\u4ef6\uff0c\u5efa\u8bae\u5927\u5bb6\u5c06\u5176\u6539\u9020\u6210 Vue \u7248\u672c\u3002
+\u8981\u89e3\u51b3\u7684\u95ee\u9898
+\u5c06\u5185\u6838\u5207\u6362\u6210 Vue \u4e4b\u540e\uff0c\u539f\u5148\u57fa\u4e8e Weex \u8bed\u6cd5\u5f00\u53d1\u7684\u9879\u76ee\u5c06\u5982\u4f55\u8fc7\u6e21\u5230 V">
+<meta property="og:type" content="website">
+<meta property="og:title" content="\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c">
+<meta property="og:url" content="https://weex.apache.org/cn/references/migration/migration-from-weex.html">
+<meta property="og:site_name" content="Weex">
+<meta property="og:description" content="\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672cWeex \u672c\u8eab\u6709\u4e00\u5957\u8bed\u6cd5\u89c4\u5219\uff0c\u548c Vue \u672c\u8eab\u5f88\u76f8\u4f3c\uff0c\u73b0\u5728 Weex \u4e0e Vue \u6709\u4e86\u5b98\u65b9\u5408\u4f5c\uff0c\u652f\u6301\u5c06 Vue 2.x \u4f5c\u4e3a\u5185\u7f6e\u7684\u524d\u7aef\u6846\u67b6\uff0c\u6211\u4eec\u4e5f\u63a8\u8350\u5927\u5bb6\u4f7f\u7528 Vue 2.x \u7684\u8bed\u6cd5\u5f00\u53d1\u539f\u751f\u5e94\u7528\u3002\u5bf9\u4e8e\u73b0\u5b58\u65e7\u7248\u7684 .we \u6587\u4ef6\uff0c\u5efa\u8bae\u5927\u5bb6\u5c06\u5176\u6539\u9020\u6210 Vue \u7248\u672c\u3002
+\u8981\u89e3\u51b3\u7684\u95ee\u9898
+\u5c06\u5185\u6838\u5207\u6362\u6210 Vue \u4e4b\u540e\uff0c\u539f\u5148\u57fa\u4e8e Weex \u8bed\u6cd5\u5f00\u53d1\u7684\u9879\u76ee\u5c06\u5982\u4f55\u8fc7\u6e21\u5230 V">
+<meta property="og:updated_time" content="2017-02-01T06:23:21.899Z">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c">
+<meta name="twitter:description" content="\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672cWeex \u672c\u8eab\u6709\u4e00\u5957\u8bed\u6cd5\u89c4\u5219\uff0c\u548c Vue \u672c\u8eab\u5f88\u76f8\u4f3c\uff0c\u73b0\u5728 Weex \u4e0e Vue \u6709\u4e86\u5b98\u65b9\u5408\u4f5c\uff0c\u652f\u6301\u5c06 Vue 2.x \u4f5c\u4e3a\u5185\u7f6e\u7684\u524d\u7aef\u6846\u67b6\uff0c\u6211\u4eec\u4e5f\u63a8\u8350\u5927\u5bb6\u4f7f\u7528 Vue 2.x \u7684\u8bed\u6cd5\u5f00\u53d1\u539f\u751f\u5e94\u7528\u3002\u5bf9\u4e8e\u73b0\u5b58\u65e7\u7248\u7684 .we \u6587\u4ef6\uff0c\u5efa\u8bae\u5927\u5bb6\u5c06\u5176\u6539\u9020\u6210 Vue \u7248\u672c\u3002
+\u8981\u89e3\u51b3\u7684\u95ee\u9898
+\u5c06\u5185\u6838\u5207\u6362\u6210 Vue \u4e4b\u540e\uff0c\u539f\u5148\u57fa\u4e8e Weex \u8bed\u6cd5\u5f00\u53d1\u7684\u9879\u76ee\u5c06\u5982\u4f55\u8fc7\u6e21\u5230 V">
+  
+    <link rel="alternate" href="/atom.xml" title="Weex" type="application/atom+xml">
+  
+  
+    <link rel="icon" href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png">
+  
+  
+    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
+  
+  <link rel="stylesheet" href="/css/style.css">
+  <link rel="stylesheet" href="/css/swiper.min.css">
+</head>
+
+<body id="references" class="lang-cn">
+  
+  <script>
+    window.PAGE_TYPE = "references";
+    window.ROOT = "/"
+  </script>
+  <header id="header">
+  <div class="navbar">
+    <a id="logo" href="/cn/">
+      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
+    </a>
+    <div class="main-nav">
+      <ul class="links">
+        <li><a href="/cn/guide">\u6559\u7a0b</a></li>
+        <li><a href="/cn/references">\u624b\u518c</a></li>
+        <li><a href="/cn/faq.html">FAQ</a></li>
+        <li class="dropdown">
+            <a href="javascript:;">\u4e0b\u8f7d</a>
+            <ul class="dropdown-menu subnav">
+              <li>
+                <a href="/cn/playground.html">Playground</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+              </li>
+              <li>
+                <a href="http://dotwe.org" target="_blank">Snippets</a>
+              </li>
+              <li>
+                <a href="https://market.weex-project.io/" target="_blank">Market</a>
+              </li>
+            </ul>
+        </li>
+      </ul>
+      <ul class="info">
+        <li><a href="https://github.com/alibaba/weex/" target="_blank"><span class="btn-github iconfont icon-github"></span></a></li>
+      </ul>
+      <ul class="tools">
+        <li>
+          <div class="search">
+  <form id="search-form" class="search-form"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+        </li>
+        <!--<li></li>-->
+      </ul>
+    </div>
+  </div>
+  <div id="mobile-nav">
+    <a id="logo" href="/cn/">
+      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
+    </a>
+    <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
+  </div>
+</header>
+  <div id="sidebar" class="">
+  <div class="sidebar-menu">
+    
+      <div class="search">
+  <form id="search-form" class="search-form"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+      
+
+
+<div class="summary">
+  <h2 class="part-title">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/ios-apis.html" class="sidebar-link  ">iOS APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/android-apis.html" class="sidebar-link  ">Android APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/modules/animation.html" class="sidebar-link  ">animation</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/picker.html" class="sidebar-link  ">picker</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/clipboard.html" class="sidebar-link  ">clipboard</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/dom.html" class="sidebar-link  ">dom</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/modal.html" class="sidebar-link  ">modal</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/navigator.html" class="sidebar-link  ">navigator</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/storage.html" class="sidebar-link  ">storage</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/stream.html" class="sidebar-link  ">stream</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/webview.html" class="sidebar-link  ">webview</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/globalevent.html" class="sidebar-link  ">globalEvent</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/unit.html" class="sidebar-link  ">CSS \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html" class="sidebar-link  ">Native DOM APIs</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/weex-variable.html" class="sidebar-link  ">Weex \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/vue/index.html" class="sidebar-link  ">Vue</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/vue/difference-with-web.html" class="sidebar-link  ">Vue 2.x \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link current ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</a></h3>
+      </li>
+    
+  </ul>
+</div>
+    
+    <a class="btn-close-sidebar iconfont  icon-close"></a>
+  </div>
+</div>
+  <div class="article-wrapper page-layout">
+  <div class="doc-nav">
+    
+
+
+<div class="summary">
+  <h2 class="part-title">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/ios-apis.html" class="sidebar-link  ">iOS APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/android-apis.html" class="sidebar-link  ">Android APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/modules/animation.html" class="sidebar-link  ">animation</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/picker.html" class="sidebar-link  ">picker</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/clipboard.html" class="sidebar-link  ">clipboard</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/dom.html" class="sidebar-link  ">dom</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/modal.html" class="sidebar-link  ">modal</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/navigator.html" class="sidebar-link  ">navigator</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/storage.html" class="sidebar-link  ">storage</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/stream.html" class="sidebar-link  ">stream</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/webview.html" class="sidebar-link  ">webview</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/globalevent.html" class="sidebar-link  ">globalEvent</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/unit.html" class="sidebar-link  ">CSS \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html" class="sidebar-link  ">Native DOM APIs</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/weex-variable.html" class="sidebar-link  ">Weex \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/vue/index.html" class="sidebar-link  ">Vue</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/vue/difference-with-web.html" class="sidebar-link  ">Vue 2.x \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link current ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</a></h3>
+      </li>
+    
+  </ul>
+</div>
+  </div>
+  
+
+<article class="article article-type-references">
+  <div class="article-entry" itemprop="articleBody">
+    <header class="article-header">
+  
+    
+      <h1 class="article-title" itemprop="name">
+        \u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-02-01T06:23:21.899Z">Updated time: 01/02/2017</time>
+</header>
+    <h1 id="\u5982\u4f55\u5c06\u539f\u6709-Weex-\u9879\u76ee\u6539\u9020\u6210-Vue-\u7248\u672c"><a href="#\u5982\u4f55\u5c06\u539f\u6709-Weex-\u9879\u76ee\u6539\u9020\u6210-Vue-\u7248\u672c" class="headerlink" title="\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c"></a>\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</h1><p>Weex \u672c\u8eab\u6709\u4e00\u5957\u8bed\u6cd5\u89c4\u5219\uff0c\u548c Vue \u672c\u8eab\u5f88\u76f8\u4f3c\uff0c\u73b0\u5728 Weex \u4e0e Vue \u6709\u4e86\u5b98\u65b9\u5408\u4f5c\uff0c\u652f\u6301\u5c06 Vue 2.x \u4f5c\u4e3a\u5185\u7f6e\u7684\u524d\u7aef\u6846\u67b6\uff0c\u6211\u4eec\u4e5f\u63a8\u8350\u5927\u5bb6\u4f7f\u7528 Vue 2.x \u7684\u8bed\u6cd5\u5f00\u53d1\u539f\u751f\u5e94\u7528\u3002\u5bf9\u4e8e\u73b0\u5b58\u65e7\u7248\u7684 <code>.we</code> \u6587\u4ef6\uff0c\u5efa\u8bae\u5927\u5bb6\u5c06\u5176\u6539\u9020\u6210 Vue \u7248\u672c\u3002</p>
+<h2 id="\u8981\u89e3\u51b3\u7684\u95ee\u9898"><a href="#\u8981\u89e3\u51b3\u7684\u95ee\u9898" class="headerlink" title="\u8981\u89e3\u51b3\u7684\u95ee\u9898"></a>\u8981\u89e3\u51b3\u7684\u95ee\u9898</h2><blockquote>
+<p>\u5c06\u5185\u6838\u5207\u6362\u6210 Vue \u4e4b\u540e\uff0c\u539f\u5148\u57fa\u4e8e Weex \u8bed\u6cd5\u5f00\u53d1\u7684\u9879\u76ee\u5c06\u5982\u4f55\u8fc7\u6e21\u5230 Vue \uff1f</p>
+</blockquote>
+<p>\u9996\u5148\u9700\u8981\u660e\u786e\u4e00\u70b9\uff1aWeex \u539f\u6709\u7684\u524d\u7aef\u6846\u67b6\u4e5f\u4f1a\u7ee7\u7eed\u5b58\u5728\u4e8e WeexSDK \u4e2d\uff0c\u4f9d\u7136\u652f\u6301 <code>.we</code> \u6587\u4ef6\u683c\u5f0f\u7684\u5199\u6cd5\u3002</p>
+<p>\u6b64\u5916\uff0c\u7531\u4e8e <code>.we</code> \u548c <code>.vue</code> \u6587\u4ef6\u7684\u683c\u5f0f\u672c\u8eab\u5c31\u6bd4\u8f83\u63a5\u8fd1\uff0c\u6240\u4ee5\u8fc1\u79fb\u6210\u672c\u6bd4\u8f83\u5c0f\uff0c\u5efa\u8bae\u5927\u5bb6\u5c06\u73b0\u6709 <code>.we</code> \u683c\u5f0f\u7684\u6587\u4ef6\u90fd\u8f6c\u6362\u6210 <code>.vue</code> \u683c\u5f0f\u3002\u6211\u4eec\u4e5f\u63a8\u51fa\u4e86\u76f8\u5e94\u7684\u5de5\u5177\u548c\u65b9\u6cd5\u8f85\u52a9\u8fc1\u79fb\uff0c\u5728\u5185\u90e8\u4e5f\u6709\u5927\u91cf\u7684\u6210\u529f\u5b9e\u8df5\uff0c\u4e0b\u8fb9\u5c06\u91cd\u70b9\u4ecb\u7ecd\u4e00\u4e0b\u5c06 <code>.we</code> \u6587\u4ef6\u8f6c\u6210 <code>.vue</code> \u6587\u4ef6\u7684\u65b9\u6cd5\u3002</p>
+<h2 id="\u7b2c\u4e00\u6b65\uff0c\u501f\u52a9\u5de5\u5177\u5b9e\u73b0\u8bed\u6cd5\u8f6c\u6362"><a href="#\u7b2c\u4e00\u6b65\uff0c\u501f\u52a9\u5de5\u5177\u5b9e\u73b0\u8bed\u6cd5\u8f6c\u6362" class="headerlink" title="\u7b2c\u4e00\u6b65\uff0c\u501f\u52a9\u5de5\u5177\u5b9e\u73b0\u8bed\u6cd5\u8f6c\u6362"></a>\u7b2c\u4e00\u6b65\uff0c\u501f\u52a9\u5de5\u5177\u5b9e\u73b0\u8bed\u6cd5\u8f6c\u6362</h2><p>\u9996\u5148\u4ecb\u7ecd\u4e00\u4e2a\u5de5\u5177\uff1a <strong><a href="https://github.com/songsiqi/weex-vue-migration" target="_blank" rel="external">weex-vue-migration</a></strong> \uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u5c06 <code>.we</code> \u6587\u4ef6\u8f6c\u4e3a <code>.vue</code> \u6587\u4ef6\uff0c\u7edd\u5927\u591a\u6570\u7684\u6a21\u677f\u8bed\u6cd5\u90fd\u80fd\u81ea\u52a8\u8f6c\u6362\uff0c\u8bed\u6cd5\u5dee\u5f02\u5982\u4e0b\uff1a</p>
+<table>
+<thead>
+<tr>
+<th></th>
+<th>Weex</th>
+<th>Vue</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>\u751f\u547d\u5468\u671f</td>
+<td><code>ready: function() {}</code></td>
+<td><code>mounted: function() {}</code></td>
+</tr>
+<tr>
+<td>\u6761\u4ef6\u6307\u4ee4</td>
+<td><code>if=&quot;{{!foo}}&quot;</code></td>
+<td><code>v-if=&quot;!foo&quot;</code></td>
+</tr>
+<tr>
+<td>\u5faa\u73af\u6307\u4ee4</td>
+<td><code>repeat=&quot;{{item in list}}&quot;</code></td>
+<td><code>v-for=&quot;item in list&quot;</code></td>
+</tr>
+<tr>
+<td>\u6837\u5f0f\u7c7b\u540d</td>
+<td><code>class=&quot;btn btn-{{type}}&quot;</code></td>
+<td><code>:class=&quot;[&#39;btn&#39;, &#39;btn-&#39; + type]&quot;</code></td>
+</tr>
+<tr>
+<td>\u5185\u8054\u6837\u5f0f</td>
+<td><code>style=&quot;color:{{textColor}}&quot;</code></td>
+<td><code>:style=&quot;{ color: textColor }&quot;</code></td>
+</tr>
+<tr>
+<td>\u4e8b\u4ef6\u7ed1\u5b9a</td>
+<td><code>onclick=&quot;handler&quot;</code></td>
+<td><code>@click=&quot;handler&quot;</code></td>
+</tr>
+<tr>
+<td>\u539f\u751f\u4e8b\u4ef6</td>
+<td><code>onclick=&quot;xxx&quot;</code></td>
+<td><code>@click.native=&quot;xxx&quot;</code></td>
+</tr>
+<tr>
+<td>\u6570\u636e\u7ed1\u5b9a</td>
+<td><code>src=&quot;{{rightItemSrc}}&quot;</code></td>
+<td><code>:src=&quot;rightItemSrc&quot;</code></td>
+</tr>
+<tr>
+<td>\u5185\u5bb9/\u69fd</td>
+<td><code>&lt;content&gt;&lt;/content&gt;</code></td>
+<td><code>&lt;slot&gt;&lt;/slot&gt;</code></td>
+</tr>
+<tr>
+<td>\u6570\u636e\u521d\u59cb\u5316</td>
+<td><code>data: { value: &#39;x&#39; }</code></td>
+<td><code>data: function() { return { value: &#39;x&#39; } }</code></td>
+</tr>
+<tr>
+<td>\u6807\u7b7e ID</td>
+<td><code>id=&quot;xxx&quot;</code></td>
+<td><code>ref=&quot;xxx&quot;</code></td>
+</tr>
+<tr>
+<td>\u83b7\u53d6\u8282\u70b9</td>
+<td><code>this.$el(&#39;xxx&#39;)</code></td>
+<td><code>this.$refs.xxx</code></td>
+</tr>
+</tbody>
+</table>
+<p>\u60f3\u8981\u4e86\u89e3\u66f4\u591a\u8bed\u6cd5\u5dee\u5f02\u7684\u7ec6\u8282\uff0c\u53ef\u4ee5\u53c2\u8003\u8fd9\u7bc7\u6587\u7ae0\uff1a<a href="./difference.html">\u300aWeex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02\u300b</a> \u3002</p>
+<h3 id="\u4f7f\u7528\u65b9\u6cd5"><a href="#\u4f7f\u7528\u65b9\u6cd5" class="headerlink" title="\u4f7f\u7528\u65b9\u6cd5"></a>\u4f7f\u7528\u65b9\u6cd5</h3><p>\u9996\u5148\u5b89\u88c5\u5de5\u5177\uff1a</p>
+<figure class="highlight bash"><table><tr><td class="code"><pre><div class="line">npm install weex-vue-migration -g</div></pre></td></tr></table></figure>
+<p>\u8f6c\u6362\u6587\u4ef6\uff1a</p>
+<figure class="highlight bash"><table><tr><td class="code"><pre><div class="line">weex-vue-migrate demo.we</div></pre></td></tr></table></figure>
+<p>\u8f6c\u6362\u6210\u529f\u540e\uff0c\u5c06\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210 <code>demo.vue</code> \u6587\u4ef6\uff0c\u63a7\u5236\u53f0\u5c06\u4f1a\u6709\u5982\u4e0b\u8f93\u51fa\uff1a</p>
+<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">[Success]: Migrate demo.we =&gt; demo.vue in 33ms</div><div class="line">Migration finished in 0.035s</div></pre></td></tr></table></figure>
+<p>\u9664\u4e86\u9010\u4e2a\u8f6c\u6362 <code>.we</code> \u6587\u4ef6\u4ee5\u5916\uff0c<code>weex-vue-migration</code> \u8fd8\u652f\u6301\u6279\u91cf\u8f6c\u6362\u6574\u4e2a\u76ee\u5f55\uff0c\u53c2\u8003\u5176<a href="https://github.com/songsiqi/weex-vue-migration/blob/master/README.md" target="_blank" rel="external">\u8bf4\u660e\u6587\u6863</a>\u53ef\u4ee5\u4e86\u89e3\u66f4\u8be6\u7ec6\u7684\u4f7f\u7528\u65b9\u6cd5\u3002</p>
+<h3 id="\u6ce8\u610f\u4e8b\u9879"><a href="#\u6ce8\u610f\u4e8b\u9879" class="headerlink" title="\u6ce8\u610f\u4e8b\u9879"></a>\u6ce8\u610f\u4e8b\u9879</h3><p>\u8f6c\u6362\u5de5\u5177\u5c06\u4e0d\u518d\u652f\u6301 Weex \u4e2d\u5e9f\u5f03\u7684\u8bed\u6cd5\uff0c\u5982\u679c\u4ee3\u7801\u4e2d\u6709\u5982\u4e0b\u5199\u6cd5\uff0c\u5efa\u8bae\u5148\u624b\u52a8\u4fee\u6539\u518d\u505a\u8f6c\u6362\u3002</p>
+<ol>
+<li>\u5ffd\u7565 <code>require(&#39;@weex-components&#39;)</code> \u8bed\u53e5\uff0c\u53ef\u4ee5\u901a\u8fc7 npm \u5305\u7684\u65b9\u5f0f\u5f15\u5165\u5916\u90e8\u7ec4\u4ef6\u3002</li>
+<li>\u65e0\u6cd5\u8f6c\u6362 <code>repeat=&quot;list&quot;</code> \u5199\u6cd5\uff0c\u4ec5\u652f\u6301 <code>repeat=&quot;item in list&quot;</code> \u683c\u5f0f\u3002</li>
+<li>\u4e0d\u652f\u6301\u8f6c\u6362 <code>&lt;script type=&quot;config&quot;&gt;&lt;/script&gt;</code>\uff0c\u76ee\u524d Vue \u4e2d\u4e0d\u652f\u6301\u539f\u6709\u7684\u964d\u7ea7\u914d\u7f6e\u3002</li>
+</ol>
+<h2 id="\u7b2c\u4e8c\u6b65\uff0c\u624b\u52a8\u8c03\u6574\u4ee3\u7801\u7ec6\u8282"><a href="#\u7b2c\u4e8c\u6b65\uff0c\u624b\u52a8\u8c03\u6574\u4ee3\u7801\u7ec6\u8282" class="headerlink" title="\u7b2c\u4e8c\u6b65\uff0c\u624b\u52a8\u8c03\u6574\u4ee3\u7801\u7ec6\u8282"></a>\u7b2c\u4e8c\u6b65\uff0c\u624b\u52a8\u8c03\u6574\u4ee3\u7801\u7ec6\u8282</h2><p>\u6a21\u677f\u548c\u6837\u5f0f\u7684\u8f6c\u6362\u90fd\u53ef\u4ee5\u501f\u52a9\u5de5\u5177\u8f7b\u6613\u8f6c\u6362\u8fc7\u6765\uff0c<code>&lt;script&gt;</code> \u4e2d\u57fa\u672c\u7684\u8bed\u6cd5\u4e5f\u53ef\u4ee5\u8f6c\u6362\uff1b\u4f46\u662f\u7531\u4e8e javascript \u7684\u5199\u6cd5\u6bd4\u8f83\u7075\u6d3b\uff0c\u4ec5\u4ec5\u4f7f\u7528\u5de5\u5177\u505a\u8f6c\u6362\uff0c\u5e76\u4e0d\u4e00\u5b9a\u80fd\u5b8c\u7f8e\u8fc7\u6e21\u3002\u5de5\u5177\u53ea\u80fd\u5904\u7406\u8bed\u6cd5\u4f46\u662f\u7406\u89e3\u4e0d\u4e86\u4ee3\u7801\u4e2d\u7684\u903b\u8f91\uff0c\u5728 Weex \u548c Vue \u7684\u6846\u67b6\u7279\u6027\u5b58\u5728\u4e00\u4e9b\u5dee\u5f02\uff0c\u6709\u4e9b\u5dee\u5f02\u8fd8\u662f\u9700\u8981\u624b\u52a8\u4fee\u6539\u624d\u53ef\u4ee5\u751f\u6548\u3002</p>
+<blockquote>
+<p>\u63d0\u793a\uff1a\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528\u7684\u201c\u9ed1\u79d1\u6280\u201d\u8d8a\u591a\uff0c\u9879\u76ee\u5c31\u8d8a\u96be\u4ee5\u8f6c\u6362\u3002</p>
+</blockquote>
+<h3 id="\u6837\u5f0f\u5355\u4f4d"><a href="#\u6837\u5f0f\u5355\u4f4d" class="headerlink" title="\u6837\u5f0f\u5355\u4f4d"></a>\u6837\u5f0f\u5355\u4f4d</h3><p>\u5728 <code>.we</code> \u6587\u4ef6\u5199\u6837\u5f0f\u65f6\uff0c\u5f00\u53d1\u8005\u901a\u5e38\u90fd\u4e0d\u5199\u957f\u5ea6\u5355\u4f4d\uff0c\u9ed8\u8ba4\u4f1a\u88ab\u89c6\u4e3a <code>px</code>\u3002\u5728\u65b0\u7684 Vue \u7248\u672c\u7684 Web \u6e32\u67d3\u5668\u4e2d\uff0c<code>&lt;style&gt;</code> \u4e2d\u7684\u6837\u5f0f\u5c06\u4f1a\u76f4\u63a5\u8f6c\u5316\u6210 CSS class\uff0c\u5982\u679c\u4e0d\u5199\u5355\u4f4d\u3001\u6d4f\u89c8\u5668\u5c06\u65e0\u6cd5\u6b63\u786e\u8bc6\u522b\uff0c\u4f1a\u5bfc\u81f4\u5728 Web \u7aef\u65e0\u6cd5\u6b63\u5e38\u6e32\u67d3\u3002Native \u73af\u5883\u4e2d\u4e0d\u53d7\u5f71\u54cd\u3002</p>
+<p>\u5c3d\u7ba1\u4e0d\u5f71\u54cd Native \u9875\u9762\u7684\u6e32\u67d3\uff0c\u4e5f\u5efa\u8bae\u7ed9\u6837\u5f0f\u957f\u5ea6\u52a0\u4e0a\u5355\u4f4d <code>px</code>\u3002</p>
+<h3 id="\u65e7\u6846\u67b6\u4e2d\u7684\u5185\u7f6e\u5c5e\u6027"><a href="#\u65e7\u6846\u67b6\u4e2d\u7684\u5185\u7f6e\u5c5e\u6027" class="headerlink" title="\u65e7\u6846\u67b6\u4e2d\u7684\u5185\u7f6e\u5c5e\u6027"></a>\u65e7\u6846\u67b6\u4e2d\u7684\u5185\u7f6e\u5c5e\u6027</h3><ul>
+<li><code>vm._app</code><ul>
+<li><code>vm._app.differ</code></li>
+<li><code>vm._app.doc</code></li>
+<li><code>vm._app.updateActions()</code></li>
+</ul>
+</li>
+</ul>
+<h3 id="\u4e8b\u4ef6\u6d3e\u53d1\u673a\u5236"><a href="#\u4e8b\u4ef6\u6d3e\u53d1\u673a\u5236" class="headerlink" title="\u4e8b\u4ef6\u6d3e\u53d1\u673a\u5236"></a>\u4e8b\u4ef6\u6d3e\u53d1\u673a\u5236</h3><ul>
+<li><code>$dispatch</code> \u3001<code>$broadcast</code> \u3001<code>$call</code> \u65b9\u6cd5\u5df2\u7ecf\u5e9f\u5f03\u3002</li>
+<li><code>$emit</code> \u884c\u4e3a\u4e0d\u4e00\u81f4\u3002</li>
+</ul>
+<p>\u53ef\u4ee5\u4f7f\u7528 Vuex \u7ba1\u7406\u6570\u636e\u72b6\u6001\u3002</p>
+<h3 id="\u76f4\u63a5\u64cd\u4f5c-Virtual-DOM"><a href="#\u76f4\u63a5\u64cd\u4f5c-Virtual-DOM" class="headerlink" title="\u76f4\u63a5\u64cd\u4f5c Virtual-DOM"></a>\u76f4\u63a5\u64cd\u4f5c Virtual-DOM</h3><p>Weex \u548c Vue \u4e2d\u7684 Virtual-DOM \u683c\u5f0f\u5e76\u4e0d\u76f8\u540c\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u4e86 <code>this.$el(&#39;id&#39;)</code> \u83b7\u53d6\u4e86\u67d0\u4e2a\u7ec4\u4ef6\u7684 element \u4e4b\u540e\uff0c\u53c8\u4fee\u6539\u4e86\u5176\u4e2d\u7684\u67d0\u4e9b\u5c5e\u6027\u6216\u8005\u8c03\u7528\u4e86\u67d0\u4e9b\u65b9\u6cd5\uff0c\u8fd9\u4e9b\u64cd\u4f5c\u5728 Vue \u4e2d\u5f88\u96be\u627e\u5230\u76f4\u63a5\u7684\u5bf9\u5e94\u5199\u6cd5\u3002</p>
+<p>\u4ece\u53e6\u4e00\u4e2a\u89d2\u5ea6\u8bb2\uff0c\u6211\u4eec\u4e5f\u975e\u5e38\u4e0d\u5efa\u8bae\u5728 Weex \u6216 Vue \u9879\u76ee\u4e2d\u76f4\u63a5\u64cd\u4f5c Virtual-DOM\uff0c\u8fd9\u4e9b\u5199\u6cd5\u90fd\u5e94\u8be5\u4fee\u6539\u3002</p>
+<h2 id="\u8c03\u6574\u5f00\u53d1\u73af\u5883\u548c\u5de5\u5177"><a href="#\u8c03\u6574\u5f00\u53d1\u73af\u5883\u548c\u5de5\u5177" class="headerlink" title="\u8c03\u6574\u5f00\u53d1\u73af\u5883\u548c\u5de5\u5177"></a>\u8c03\u6574\u5f00\u53d1\u73af\u5883\u548c\u5de5\u5177</h2><p>\u5728\u6587\u4ef6\u8f6c\u6362\u5b8c\u6210\u540e\uff0c\u8fd8\u9700\u8981\u91cd\u65b0\u8c03\u6574\u4e00\u4e0b\u5f00\u53d1\u73af\u5883\u3002</p>
+<h3 id="\u6587\u4ef6\u7684\u7f16\u8bd1"><a href="#\u6587\u4ef6\u7684\u7f16\u8bd1" class="headerlink" title="\u6587\u4ef6\u7684\u7f16\u8bd1"></a>\u6587\u4ef6\u7684\u7f16\u8bd1</h3><p><code>weex-loader</code> \u540c\u65f6\u652f\u6301\u7f16\u8bd1 <code>.we</code> \u548c <code>.vue</code> \u6587\u4ef6\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f <code>webpack</code> \u6765\u914d\u7f6e\u7f16\u8bd1\u73af\u5883\uff0c\u5c06\u4e0d\u9700\u8981\u505a\u4efb\u4f55\u6539\u53d8\u5c31\u80fd\u76f4\u63a5\u7f16\u8bd1 <code>.vue</code> \u6587\u4ef6\u3002</p>
+<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cVue \u672c\u8eab\u5c31\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u524d\u7aef\u6846\u67b6\uff0c\u4f7f\u7528 Vue \u7f16\u5199\u7684\u9879\u76ee\u5728 Web \u4e0a\u5b8c\u5168\u53ef\u4ee5\u4e0d\u4f9d\u8d56 Weex \u5bb9\u5668\u8fd0\u884c\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9700\u8981\u914d\u7f6e\u57fa\u4e8e <code>vue-loader</code> \u7684\u7f16\u8bd1\u811a\u672c\u751f\u6210\u9002\u7528\u4e8e Web \u5e73\u53f0 js \u6587\u4ef6\uff1b\u7136\u540e\u5f15\u5165 Vue \u683c\u5f0f\u7684 Weex \u7ec4\u4ef6\u5e93\u5c31\u53ef\u4ee5\u5728 Web \u4e2d\u3002</p>
+<h3 id="\u8f85\u52a9\u5de5\u5177"><a href="#\u8f85\u52a9\u5de5\u5177" class="headerlink" title="\u8f85\u52a9\u5de5\u5177"></a>\u8f85\u52a9\u5de5\u5177</h3><p>Weex \u63d0\u4f9b\u4e86 <a href="https://github.com/weexteam/weex-toolkit" target="_blank" rel="external">weex-toolkit</a> \u7684\u811a\u624b\u67b6\u5de5\u5177\u6765\u8f85\u52a9\u5f00\u53d1\u548c\u8c03\u8bd5\u3001<a href="https://github.com/weexteam/weex-pack" target="_blank" rel="external">weex-pack</a> \u5b9e\u73b0\u6253\u5305\u539f\u751f\u5e94\u7528\uff1b\u540c\u6837\u5728 Vue \u4e2d\u4e5f\u6709 <a href="https://github.com/vuejs/vue-cli" target="_blank" rel="external">vue-cli</a> \u811a\u624b\u67b6\u5de5\u5177\u3002Weex \u548c Vue \u7684\u5de5\u5177\u4e92\u76f8\u505a\u4e86\u9002\u914d\uff0c\u5efa\u8bae\u5728\u521b\u5efa\u9879\u76ee\u548c\u5f00\u53d1 Vue \u9879\u76ee\u7684\u65f6\u5019\u4f7f\u7528 <code>vue-cli</code> \uff0c\u5728\u8c03\u8bd5\u65f6\u4f7f\u7528 <code>weex-toolkit</code>\uff0c\u5728\u6253\u5305\u539f\u751f\u5e94\u7528\u65f6\u4f7f\u7528 <code>weex-pack</code> \u3002</p>
+
+  </div>
+  
+</article>
+</div>
+  
+  <footer id="footer">
+  <div class="row clearfix">
+    <div class="ali-logo">
+      <img src="//gw.alicdn.com/tps/TB1Ef93PXXXXXaXXpXXXXXXXXXX-252-126.png" alt="Alibaba">
+    </div>
+    <div class="dropdown select-lang">
+      <a href="javascript:;" class="dropdown-toggle">
+        Language
+        <span class="caret"></span>
+      </a>
+      <ul class="dropdown-menu">
+        <li>
+          <a href="/references/migration/migration-from-weex.html">English</a>
+        </li>
+        <li>
+          <a href="/cn/references/migration/migration-from-weex.html">\u4e2d\u6587</a>
+        </li>
+      </ul>
+    </div>
+  </div>
+  <div class="row">
+    <p><span>Released under </span><a href="">Apache License 2.0</a></p>
+  </div>
+  <div class="row clearfix">
+    <div class="cell"><span>Copyright(c) 2016 </span><a href="https://www.alibaba.com">Alibaba</a></div>
+    <div class="cell"><span>GroupMade by </span><a href="">\u963f\u91cc\u4e91UED AX</a></div>
+  </div>
+</footer>
+  <div style="display: none;">
+  <script src="//s95.cnzz.com/z_stat.php?id=1261102667&amp;web_id=1261102667" language="JavaScript"></script>
+</div>
+
+  <script src="/js/reqwest.js"></script>
+  <script src="/js/common.js"></script>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/14041490/content/cn/references/modules/animation.html
----------------------------------------------------------------------
diff --git a/content/cn/references/modules/animation.html b/content/cn/references/modules/animation.html
new file mode 100644
index 0000000..50b28d6
--- /dev/null
+++ b/content/cn/references/modules/animation.html
@@ -0,0 +1,1443 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>animation | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta name="description" content="animation \u52a8\u753b\u6d41\u7545\u4e14\u6709\u610f\u4e49\u7684\u52a8\u753b\u662f\u4e00\u4e2a\u5341\u5206\u6709\u6548\u7684\u63d0\u5347\u79fb\u52a8\u5e94\u7528\u7528\u6237\u4f53\u9a8c\u7684\u624b\u6bb5\uff0canimation \u6a21\u5757\u88ab\u7528\u4e8e\u5728\u7ec4\u4ef6\u4e0a\u6267\u884c\u52a8\u753b\u3002\u52a8\u753b\u53ef\u4ee5\u5bf9\u7ec4\u4ef6\u6267\u884c\u4e00\u7cfb\u5217\u7b80\u5355\u7684\u53d8\u6362 (\u4f4d\u7f6e\u3001\u5927\u5c0f\u3001\u65cb\u8f6c\u89d2\u5ea6\u3001\u80cc\u666f\u989c\u8272\u548c\u4e0d\u900f\u660e\u5ea6)\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5982\u679c\u6709\u4e00\u4e2a &amp;lt;image&amp;gt; \u7ec4\u4ef6\uff0c\u901a\u8fc7\u52a8\u753b\u4f60\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u79fb\u52a8\u3001\u65cb\u8f6c\u3001\u62c9\u4f38\u6216\u6536\u7f29\u7b49\u52a8\u4f5c\u3002
+APItransition(el, options, callback)\u53c2">
+<meta property="og:type" content="website">
+<meta property="og:title" content="animation">
+<meta property="og:url" content="https://weex.apache.org/cn/references/modules/animation.html">
+<meta property="og:site_name" content="Weex">
+<meta property="og:description" content="animation \u52a8\u753b\u6d41\u7545\u4e14\u6709\u610f\u4e49\u7684\u52a8\u753b\u662f\u4e00\u4e2a\u5341\u5206\u6709\u6548\u7684\u63d0\u5347\u79fb\u52a8\u5e94\u7528\u7528\u6237\u4f53\u9a8c\u7684\u624b\u6bb5\uff0canimation \u6a21\u5757\u88ab\u7528\u4e8e\u5728\u7ec4\u4ef6\u4e0a\u6267\u884c\u52a8\u753b\u3002\u52a8\u753b\u53ef\u4ee5\u5bf9\u7ec4\u4ef6\u6267\u884c\u4e00\u7cfb\u5217\u7b80\u5355\u7684\u53d8\u6362 (\u4f4d\u7f6e\u3001\u5927\u5c0f\u3001\u65cb\u8f6c\u89d2\u5ea6\u3001\u80cc\u666f\u989c\u8272\u548c\u4e0d\u900f\u660e\u5ea6)\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5982\u679c\u6709\u4e00\u4e2a &amp;lt;image&amp;gt; \u7ec4\u4ef6\uff0c\u901a\u8fc7\u52a8\u753b\u4f60\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u79fb\u52a8\u3001\u65cb\u8f6c\u3001\u62c9\u4f38\u6216\u6536\u7f29\u7b49\u52a8\u4f5c\u3002
+APItransition(el, options, callback)\u53c2">
+<meta property="og:updated_time" content="2017-02-01T06:23:21.901Z">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="animation">
+<meta name="twitter:description" content="animation \u52a8\u753b\u6d41\u7545\u4e14\u6709\u610f\u4e49\u7684\u52a8\u753b\u662f\u4e00\u4e2a\u5341\u5206\u6709\u6548\u7684\u63d0\u5347\u79fb\u52a8\u5e94\u7528\u7528\u6237\u4f53\u9a8c\u7684\u624b\u6bb5\uff0canimation \u6a21\u5757\u88ab\u7528\u4e8e\u5728\u7ec4\u4ef6\u4e0a\u6267\u884c\u52a8\u753b\u3002\u52a8\u753b\u53ef\u4ee5\u5bf9\u7ec4\u4ef6\u6267\u884c\u4e00\u7cfb\u5217\u7b80\u5355\u7684\u53d8\u6362 (\u4f4d\u7f6e\u3001\u5927\u5c0f\u3001\u65cb\u8f6c\u89d2\u5ea6\u3001\u80cc\u666f\u989c\u8272\u548c\u4e0d\u900f\u660e\u5ea6)\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5982\u679c\u6709\u4e00\u4e2a &amp;lt;image&amp;gt; \u7ec4\u4ef6\uff0c\u901a\u8fc7\u52a8\u753b\u4f60\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u79fb\u52a8\u3001\u65cb\u8f6c\u3001\u62c9\u4f38\u6216\u6536\u7f29\u7b49\u52a8\u4f5c\u3002
+APItransition(el, options, callback)\u53c2">
+  
+    <link rel="alternate" href="/atom.xml" title="Weex" type="application/atom+xml">
+  
+  
+    <link rel="icon" href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png">
+  
+  
+    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
+  
+  <link rel="stylesheet" href="/css/style.css">
+  <link rel="stylesheet" href="/css/swiper.min.css">
+</head>
+
+<body id="references" class="lang-cn">
+  
+  <script>
+    window.PAGE_TYPE = "references";
+    window.ROOT = "/"
+  </script>
+  <header id="header">
+  <div class="navbar">
+    <a id="logo" href="/cn/">
+      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
+    </a>
+    <div class="main-nav">
+      <ul class="links">
+        <li><a href="/cn/guide">\u6559\u7a0b</a></li>
+        <li><a href="/cn/references">\u624b\u518c</a></li>
+        <li><a href="/cn/faq.html">FAQ</a></li>
+        <li class="dropdown">
+            <a href="javascript:;">\u4e0b\u8f7d</a>
+            <ul class="dropdown-menu subnav">
+              <li>
+                <a href="/cn/playground.html">Playground</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+              </li>
+              <li>
+                <a href="http://dotwe.org" target="_blank">Snippets</a>
+              </li>
+              <li>
+                <a href="https://market.weex-project.io/" target="_blank">Market</a>
+              </li>
+            </ul>
+        </li>
+      </ul>
+      <ul class="info">
+        <li><a href="https://github.com/alibaba/weex/" target="_blank"><span class="btn-github iconfont icon-github"></span></a></li>
+      </ul>
+      <ul class="tools">
+        <li>
+          <div class="search">
+  <form id="search-form" class="search-form"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+        </li>
+        <!--<li></li>-->
+      </ul>
+    </div>
+  </div>
+  <div id="mobile-nav">
+    <a id="logo" href="/cn/">
+      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
+    </a>
+    <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
+  </div>
+</header>
+  <div id="sidebar" class="">
+  <div class="sidebar-menu">
+    
+      <div class="search">
+  <form id="search-form" class="search-form"> <!-- \u641c\u7d22\u6846\u76f8\u5173 -->
+    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+      
+
+
+<div class="summary">
+  <h2 class="part-title">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/ios-apis.html" class="sidebar-link  ">iOS APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/android-apis.html" class="sidebar-link  ">Android APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/modules/animation.html" class="sidebar-link current ">animation</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/picker.html" class="sidebar-link  ">picker</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/clipboard.html" class="sidebar-link  ">clipboard</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/dom.html" class="sidebar-link  ">dom</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/modal.html" class="sidebar-link  ">modal</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/navigator.html" class="sidebar-link  ">navigator</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/storage.html" class="sidebar-link  ">storage</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/stream.html" class="sidebar-link  ">stream</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/webview.html" class="sidebar-link  ">webview</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/globalevent.html" class="sidebar-link  ">globalEvent</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/unit.html" class="sidebar-link  ">CSS \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html" class="sidebar-link  ">Native DOM APIs</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/weex-variable.html" class="sidebar-link  ">Weex \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/vue/index.html" class="sidebar-link  ">Vue</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/vue/difference-with-web.html" class="sidebar-link  ">Vue 2.x \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link  ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</a></h3>
+      </li>
+    
+  </ul>
+</div>
+    
+    <a class="btn-close-sidebar iconfont  icon-close"></a>
+  </div>
+</div>
+  <div class="article-wrapper page-layout">
+  <div class="doc-nav">
+    
+
+
+<div class="summary">
+  <h2 class="part-title">
+    
+      \u624b\u518c
+    
+  </h2>
+  <ul class="doc-summary">
+    
+    
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+      
+      
+        
+      
+    
+   
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/index.html" class="sidebar-link  ">\u901a\u7528\u7279\u6027</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/ios-apis.html" class="sidebar-link  ">iOS APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/android-apis.html" class="sidebar-link  ">Android APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/common-style.html" class="sidebar-link  ">\u901a\u7528\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/text-style.html" class="sidebar-link  ">\u6587\u672c\u6837\u5f0f</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/color-names.html" class="sidebar-link  ">\u989c\u8272\u540d\u79f0\u5217\u8868</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/gesture.html" class="sidebar-link  ">\u624b\u52bf</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/path.html" class="sidebar-link  ">Path (\u82f1)</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/components/index.html" class="sidebar-link  ">\u5185\u5efa\u7ec4\u4ef6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/components/a.html" class="sidebar-link  ">&lt;a&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/slider.html" class="sidebar-link  ">&lt;slider&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/indicator.html" class="sidebar-link  ">&lt;indicator&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/switch.html" class="sidebar-link  ">&lt;switch&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/text.html" class="sidebar-link  ">&lt;text&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/textarea.html" class="sidebar-link  ">&lt;textarea&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/video.html" class="sidebar-link  ">&lt;video&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/web.html" class="sidebar-link  ">&lt;web&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/div.html" class="sidebar-link  ">&lt;div&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/image.html" class="sidebar-link  ">&lt;image&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/list.html" class="sidebar-link  ">&lt;list&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/input.html" class="sidebar-link  ">&lt;input&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/cell.html" class="sidebar-link  ">&lt;cell&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/loading.html" class="sidebar-link  ">&lt;loading&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/refresh.html" class="sidebar-link  ">&lt;refresh&gt;</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/components/scroller.html" class="sidebar-link  ">&lt;scroller&gt;</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/modules/index.html" class="sidebar-link  ">\u5185\u5efa\u6a21\u5757</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/modules/animation.html" class="sidebar-link current ">animation</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/picker.html" class="sidebar-link  ">picker</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/clipboard.html" class="sidebar-link  ">clipboard</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/dom.html" class="sidebar-link  ">dom</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/modal.html" class="sidebar-link  ">modal</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/navigator.html" class="sidebar-link  ">navigator</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/storage.html" class="sidebar-link  ">storage</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/stream.html" class="sidebar-link  ">stream</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/webview.html" class="sidebar-link  ">webview</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/modules/globalevent.html" class="sidebar-link  ">globalEvent</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/unit.html" class="sidebar-link  ">CSS \u5355\u4f4d</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/common-event.html" class="sidebar-link  ">\u901a\u7528\u4e8b\u4ef6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/native-dom-api.html" class="sidebar-link  ">Native DOM APIs</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/weex-variable.html" class="sidebar-link  ">Weex \u5b9e\u4f8b\u53d8\u91cf</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/web-standards.html" class="sidebar-link  ">Web \u6807\u51c6</a></h3>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/vue/index.html" class="sidebar-link  ">Vue</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/vue/difference-with-web.html" class="sidebar-link  ">Vue 2.x \u5728 Weex \u548c Web \u4e2d\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/vue/difference-of-vuex.html" class="sidebar-link  ">\u4f7f\u7528 Vuex \u548c vue-router</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/advanced/index.html" class="sidebar-link  ">\u9ad8\u9636\u77e5\u8bc6</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-ios.html" class="sidebar-link  ">iOS \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-android.html" class="sidebar-link  ">Android \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-to-html5.html" class="sidebar-link  ">HTML5 \u6269\u5c55</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/extend-jsfm.html" class="sidebar-link  ">\u62d3\u5c55 JS framework</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-android.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 Android</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/advanced/integrate-devtool-to-ios.html" class="sidebar-link  ">\u96c6\u6210 Devtools \u5230 iOS</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/migration/index.html" class="sidebar-link  ">\u8fc1\u79fb</a></h3>
+        
+          <ul class="chapter">
+            
+              <li>
+                <a href="/cn/references/migration/migration-from-weex.html" class="sidebar-link  ">\u5982\u4f55\u5c06\u539f\u6709 Weex \u9879\u76ee\u6539\u9020\u6210 Vue \u7248\u672c</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/migration/difference.html" class="sidebar-link  ">Weex \u548c Vue 2.x \u7684\u8bed\u6cd5\u5dee\u5f02</a>
+              </li>
+            
+          </ul>
+        
+      </li>
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/references/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a></h3>
+        
+      </li>
+    
+    
+    
+      <li>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/references/index.html" class="sidebar-link">\u65e7\u6587\u6863</a></h3>
+      </li>
+    
+  </ul>
+</div>
+  </div>
+  
+
+<article class="article article-type-references">
+  <div class="article-entry" itemprop="articleBody">
+    <header class="article-header">
+  
+    
+      <h1 class="article-title" itemprop="name">
+        animation
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-02-01T06:23:21.901Z">Updated time: 01/02/2017</time>
+</header>
+    <h1 id="animation-\u52a8\u753b"><a href="#animation-\u52a8\u753b" class="headerlink" title="animation \u52a8\u753b"></a><code>animation</code> \u52a8\u753b</h1><p>\u6d41\u7545\u4e14\u6709\u610f\u4e49\u7684\u52a8\u753b\u662f\u4e00\u4e2a\u5341\u5206\u6709\u6548\u7684\u63d0\u5347\u79fb\u52a8\u5e94\u7528\u7528\u6237\u4f53\u9a8c\u7684\u624b\u6bb5\uff0c<code>animation</code> \u6a21\u5757\u88ab\u7528\u4e8e\u5728\u7ec4\u4ef6\u4e0a\u6267\u884c\u52a8\u753b\u3002\u52a8\u753b\u53ef\u4ee5\u5bf9\u7ec4\u4ef6\u6267\u884c\u4e00\u7cfb\u5217\u7b80\u5355\u7684\u53d8\u6362 (\u4f4d\u7f6e\u3001\u5927\u5c0f\u3001\u65cb\u8f6c\u89d2\u5ea6\u3001\u80cc\u666f\u989c\u8272\u548c\u4e0d\u900f\u660e\u5ea6)\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5982\u679c\u6709\u4e00\u4e2a <code>&lt;image&gt;</code> \u7ec4\u4ef6\uff0c\u901a\u8fc7\u52a8\u753b\u4f60\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u79fb\u52a8\u3001\u65cb\u8f6c\u3001\u62c9\u4f38\u6216\u6536\u7f29\u7b49\u52a8\u4f5c\u3002</p>
+<h2 id="API"><a href="#API" class="headerlink" title="API"></a>API</h2><h3 id="transition-el-options-callback"><a href="#transition-el-options-callback" class="headerlink" title="transition(el, options, callback)"></a><code>transition(el, options, callback)</code></h3><h4 id="\u53c2\u6570"><a href="#\u53c2\u6570" class="headerlink" title="\u53c2\u6570"></a>\u53c2\u6570</h4><ul>
+<li><code>el {Element}</code>\uff1a\u5c06\u8981\u6267\u884c\u52a8\u753b\u7684\u5143\u7d20\uff0c\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7\u8c03\u7528 <a href="../api.html"><code>this.$el(id)</code></a> \u6765\u83b7\u53d6\u5143\u7d20\u7684\u5f15\u7528\u3002</li>
+<li><code>options {Object}</code>\uff1a\u63cf\u8ff0\u52a8\u753b\u8fc7\u7a0b\u7684\u5bf9\u8c61\u3002<ul>
+<li><code>options.duration {number}</code>\uff1a\u6307\u5b9a\u52a8\u753b\u7684\u6301\u7eed\u65f6\u95f4 (\u5355\u4f4d\u662f\u6beb\u79d2)\uff0c\u9ed8\u8ba4\u503c\u662f <code>0</code>\uff0c\u8868\u793a\u6ca1\u6709\u52a8\u753b\u6548\u679c\u3002</li>
+<li><code>options.delay {number}</code>\uff1a\u6307\u5b9a\u8bf7\u6c42\u52a8\u753b\u64cd\u4f5c\u5230\u6267\u884c\u52a8\u753b\u4e4b\u95f4\u7684\u65f6\u95f4\u95f4\u9694 (\u5355\u4f4d\u662f\u6beb\u79d2)\uff0c\u9ed8\u8ba4\u503c\u662f <code>0</code>\uff0c\u8868\u793a\u6ca1\u6709\u5ef6\u8fdf\uff0c\u5728\u8bf7\u6c42\u540e\u7acb\u5373\u6267\u884c\u52a8\u753b\u3002</li>
+<li><code>options.timingFunction {string}</code>\uff1a\u63cf\u8ff0\u52a8\u753b\u6267\u884c\u7684\u901f\u5ea6\u66f2\u7ebf\uff0c\u7528\u4e8e\u4f7f\u52a8\u753b\u53d8\u5316\u66f4\u4e3a\u5e73\u6ed1\u3002\u9ed8\u8ba4\u503c\u662f <code>linear</code>\uff0c\u8868\u793a\u52a8\u753b\u4ece\u5f00\u59cb\u5230\u7ed3\u675f\u90fd\u62e5\u6709\u540c\u6837\u7684\u901f\u5ea6\u3002\u4e0b\u8868\u5217\u51fa\u4e86\u6240\u6709\u5408\u6cd5\u7684\u5c5e\u6027\uff1a</li>
+</ul>
+</li>
+</ul>
+<table>
+<thead>
+<tr>
+<th>\u5c5e\u6027\u540d</th>
+<th>\u63cf\u8ff0</th>
+<th>\u793a\u4f8b</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><code>linear</code></td>
+<td>\u52a8\u753b\u4ece\u5934\u5230\u5c3e\u7684\u901f\u5ea6\u662f\u76f8\u540c\u7684</td>
+</tr>
+<tr>
+<td><code>ease-in</code></td>
+<td>\u52a8\u753b\u901f\u5ea6\u7531\u6162\u5230\u5feb</td>
+</tr>
+<tr>
+<td><code>ease-out</code></td>
+<td>\u52a8\u753b\u901f\u5ea6\u7531\u5feb\u5230\u6162</td>
+</tr>
+<tr>
+<td><code>ease-in-out</code></td>
+<td>\u52a8\u753b\u5148\u52a0\u901f\u5230\u8fbe\u4e2d\u95f4\u70b9\u540e\u51cf\u901f\u5230\u8fbe\u7ec8\u70b9</td>
+</tr>
+<tr>
+<td><code>cubic-bezier(x1, y1, x2, y2)</code></td>
+<td>\u5728\u4e09\u6b21\u8d1d\u585e\u5c14\u51fd\u6570\u4e2d\u5b9a\u4e49\u53d8\u5316\u8fc7\u7a0b\uff0c\u51fd\u6570\u7684\u53c2\u6570\u503c\u5fc5\u987b\u5904\u4e8e 0 \u5230 1 \u4e4b\u95f4\u3002\u66f4\u591a\u5173\u4e8e\u4e09\u6b21\u8d1d\u585e\u5c14\u7684\u4fe1\u606f\u8bf7\u53c2\u9605 <a href="http://cubic-bezier.com/" target="_blank" rel="external">cubic-bezier</a> \u548c <a href="https://en.wikipedia.org/wiki/B%C3%A9zier_curve" target="_blank" rel="external">B�zier curve</a>.</td>
+</tr>
+</tbody>
+</table>
+<ul>
+<li><code>options.styles {Object}</code>\uff1a\u8bbe\u7f6e\u4e0d\u540c\u6837\u5f0f\u8fc7\u6e21\u6548\u679c\u7684\u952e\u503c\u5bf9\uff0c\u4e0b\u8868\u5217\u51fa\u4e86\u6240\u6709\u5408\u6cd5\u7684\u53c2\u6570\uff1a</li>
+</ul>
+<table>
+<thead>
+<tr>
+<th>\u53c2\u6570\u540d</th>
+<th>\u63cf\u8ff0</th>
+<th>\u503c\u7c7b\u578b</th>
+<th>\u9ed8\u8ba4\u503c</th>
+<th>\u793a\u4f8b</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>width</td>
+<td>\u52a8\u753b\u6267\u884c\u540e\u5e94\u7528\u5230\u7ec4\u4ef6\u4e0a\u7684\u5bbd\u5ea6\u503c</td>
+<td>length</td>
+<td>\u65e0</td>
+</tr>
+<tr>
+<td>height</td>
+<td>\u52a8\u753b\u6267\u884c\u540e\u5e94\u7528\u5230\u7ec4\u4ef6\u4e0a\u7684\u9ad8\u5ea6\u503c</td>
+<td>length</td>
+<td>\u65e0</td>
+</tr>
+<tr>
+<td>backgroundColor</td>
+<td>\u52a8\u753b\u6267\u884c\u540e\u5e94\u7528\u5230\u7ec4\u4ef6\u4e0a\u7684\u80cc\u666f\u989c\u8272</td>
+<td>string</td>
+<td>none</td>
+</tr>
+<tr>
+<td>opacity</td>
+<td>\u52a8\u753b\u6267\u884c\u540e\u5e94\u7528\u5230\u7ec4\u4ef6\u4e0a\u7684\u4e0d\u900f\u660e\u5ea6\u503c</td>
+<td>\u4ecb\u4e8e 0 \u5230 1 \u95f4\u7684\u6570\u503c</td>
+<td><code>1</code></td>
+</tr>
+<tr>
+<td>transformOrigin</td>
+<td>\u5b9a\u4e49\u53d8\u5316\u8fc7\u7a0b\u7684\u4e2d\u5fc3\u70b9. \u53c2\u6570 <code>x-aris</code> \u53ef\u80fd\u7684\u503c\u4e3a <code>left</code>\u3001<code>center</code>\u3001<code>right</code>\u3001\u957f\u5ea6\u503c\u6216\u767e\u5206\u6bd4\u503c, \u53c2\u6570 <code>y-axis</code> \u53ef\u80fd\u7684\u503c\u4e3a <code>top</code>\u3001<code>center</code>\u3001<code>bottom</code>\u3001\u957f\u5ea6\u503c\u6216\u767e\u5206\u6bd4\u503c</td>
+<td><code>x-axis y-axis</code></td>
+<td><code>center center</code></td>
+</tr>
+<tr>
+<td>transform</td>
+<td>\u5b9a\u4e49\u5e94\u7528\u5728\u5143\u7d20\u4e0a\u7684\u53d8\u6362\u7c7b\u578b\uff0c\u652f\u6301\u4e0b\u8868\u5217\u51fa\u7684\u5c5e\u6027</td>
+<td>object</td>
+<td>\u65e0</td>
+</tr>
+</tbody>
+</table>
+<p><code>transform</code>\u5c5e\u6027\u7684\u5408\u6cd5\u503c:</p>
+<table>
+<thead>
+<tr>
+<th>\u540d\u79f0</th>
+<th>\u63cf\u8ff0</th>
+<th>\u503c\u7c7b\u578b</th>
+<th>\u9ed8\u8ba4\u503c</th>
+<th>\u793a\u4f8b</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td><code>translate</code>/<code>translateX</code>/<code>translateY</code></td>
+<td>\u6307\u5b9a\u5143\u7d20\u5c06\u5df2\u88ab\u79fb\u52a8\u5230\u7684\u65b0\u4f4d\u7f6e</td>
+<td>\u50cf\u7d20\u503c\u6216\u767e\u5206\u6bd4</td>
+<td>\u65e0</td>
+</tr>
+<tr>
+<td><code>rotate</code></td>
+<td>\u6307\u5b9a\u5143\u7d20\u5c06\u88ab\u65cb\u8f6c\u7684\u89d2\u5ea6\uff0c\u5355\u4f4d\u662f\u5ea6</td>
+<td>number</td>
+<td>\u65e0</td>
+</tr>
+<tr>
+<td><code>scale</code>/<code>scaleX</code>/<code>scaleY</code></td>
+<td>\u6309\u6bd4\u4f8b\u653e\u5927\u6216\u7f29\u5c0f\u5143\u7d20</td>
+<td>number</td>
+<td>\u65e0</td>
+</tr>
+</tbody>
+</table>
+<ul>
+<li><code>callback {Function}</code>\uff1a\u52a8\u753b\u6267\u884c\u5b8c\u6bd5\u4e4b\u540e\u7684\u56de\u8c03</li>
+</ul>
+<h2 id="Example"><a href="#Example" class="headerlink" title="Example"></a>Example</h2><figure class="highlight html"><table><tr><td class="code"><pre><div class="line"><span class="tag">&lt;<span class="name">template</span>&gt;</span></div><div class="line">  <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"wrapper"</span>&gt;</span></div><div class="line">    <span class="tag">&lt;<span class="name">div</span> <span class="attr">ref</span>=<span class="string">"test"</span> @<span class="attr">click</span>=<span class="string">"move"</span> <span class="attr">class</span>=<span class="string">"box"</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></div><div class="line">  <span class="tag">&lt;/<span class="name">div</span>&gt;</span></div><div class="line"><span class="tag">&lt;/<span class="name">template</span>&gt;</span></div><div class="line"></div><div class="line"><span class="tag">&lt;
 <span class="name">script</span>&gt;</span><span class="javascript"></span></div><div class="line">  <span class="keyword">const</span> animation = weex.requireModule(<span class="string">'animation'</span>)</div><div class="line">  <span class="keyword">const</span> modal = weex.requireModule(<span class="string">'modal'</span>)</div><div class="line"></div><div class="line">  <span class="keyword">export</span> <span class="keyword">default</span> &#123;</div><div class="line">    <span class="attr">methods</span>: &#123;</div><div class="line">      move () &#123;</div><div class="line">        <span class="keyword">var</span> testEl = <span class="keyword">this</span>.$refs.test;</div><div class="line">        animation.transition(testEl, &#123;</div><div class="line">          <span class="attr">styles</span>: &#123;</div><div class="line">            <span class="attr">color</span>: <span class="string">'#FF0000'</span>,</div><div class="line">            <span class="attr">tr
 ansform</span>: <span class="string">'translate(250, 100)'</span>,</div><div class="line">            <span class="attr">transformOrigin</span>: <span class="string">'center center'</span></div><div class="line">          &#125;,</div><div class="line">          <span class="attr">duration</span>: <span class="number">800</span>, <span class="comment">//ms</span></div><div class="line">          timingFunction: <span class="string">'ease'</span>,</div><div class="line">          <span class="attr">delay</span>: <span class="number">0</span> <span class="comment">//ms</span></div><div class="line">        &#125;, <span class="function"><span class="keyword">function</span> (<span class="params"></span>) </span>&#123;</div><div class="line">          modal.toast(&#123; <span class="attr">message</span>: <span class="string">'animation finished.'</span> &#125;)</div><div class="line">        &#125;)</div><div class="line">      &#125;</div><div class="line">    &#125;</div><div class="
 line">  &#125;</div><div class="line"><span class="tag">&lt;/<span class="name">script</span>&gt;</span></div><div class="line"></div><div class="line"></div><div class="line"><span class="tag">&lt;<span class="name">style</span> <span class="attr">scoped</span>&gt;</span><span class="css"></span></div><div class="line">  <span class="selector-class">.wrapper</span> &#123;</div><div class="line">    <span class="attribute">height</span>: <span class="number">100%</span>;</div><div class="line">  &#125;</div><div class="line">  <span class="selector-class">.box</span> &#123;</div><div class="line">    <span class="attribute">width</span>: <span class="number">250px</span>;</div><div class="line">    <span class="attribute">height</span>: <span class="number">250px</span>;</div><div class="line">    <span class="attribute">background-color</span>: <span class="number">#DDD</span>;</div><div class="line">  &#125;</div><div class="line"><span class="tag">&lt;/<span class="name">style</s
 pan>&gt;</span></div></pre></td></tr></table></figure>
+<p><a href="../../../examples/animation.html">try it</a></p>
+
+  </div>
+  
+</article>
+</div>
+  
+  <footer id="footer">
+  <div class="row clearfix">
+    <div class="ali-logo">
+      <img src="//gw.alicdn.com/tps/TB1Ef93PXXXXXaXXpXXXXXXXXXX-252-126.png" alt="Alibaba">
+    </div>
+    <div class="dropdown select-lang">
+      <a href="javascript:;" class="dropdown-toggle">
+        Language
+        <span class="caret"></span>
+      </a>
+      <ul class="dropdown-menu">
+        <li>
+          <a href="/references/modules/animation.html">English</a>
+        </li>
+        <li>
+          <a href="/cn/references/modules/animation.html">\u4e2d\u6587</a>
+        </li>
+      </ul>
+    </div>
+  </div>
+  <div class="row">
+    <p><span>Released under </span><a href="">Apache License 2.0</a></p>
+  </div>
+  <div class="row clearfix">
+    <div class="cell"><span>Copyright(c) 2016 </span><a href="https://www.alibaba.com">Alibaba</a></div>
+    <div class="cell"><span>GroupMade by </span><a href="">\u963f\u91cc\u4e91UED AX</a></div>
+  </div>
+</footer>
+  <div style="display: none;">
+  <script src="//s95.cnzz.com/z_stat.php?id=1261102667&amp;web_id=1261102667" language="JavaScript"></script>
+</div>
+
+  <script src="/js/reqwest.js"></script>
+  <script src="/js/common.js"></script>
+</body>
+</html>