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/03/10 10:08:16 UTC

[38/51] [partial] incubator-weex-site git commit: Site updated: 2017-03-10 18:07:21

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/95bb2077/cn/references/color-names.html
----------------------------------------------------------------------
diff --git a/cn/references/color-names.html b/cn/references/color-names.html
new file mode 100644
index 0000000..2184ce1
--- /dev/null
+++ b/cn/references/color-names.html
@@ -0,0 +1,2157 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>\u989c\u8272\u540d\u79f0\u5217\u8868 | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta name="description" content="Weex \u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd:
+
+
+\u989c\u8272\u540d
+\u5341\u516d\u8fdb\u5236RGB\u503c
+
+
+
+
+black(\u9ed1)
+#000000
+
+
+silver(\u94f6)
+#C0C0C0
+
+
+gray(\u7070)
+#808080
+
+
+white(\u767d)
+#FFFFFF
+
+
+maroon(\u8910\u7d2b\u7ea2)
+#800000
+
+
+red(\u7ea2)
+#FF0000
+
+
+purple(\u7d2b)
+#800080
+
+
+fuchsia(\u665a\u6a31)
+#FF00FF
+
+
+g">
+<meta property="og:type" content="website">
+<meta property="og:title" content="\u989c\u8272\u540d\u79f0\u5217\u8868">
+<meta property="og:url" content="https://weex.apache.org/cn/references/color-names.html">
+<meta property="og:site_name" content="Weex">
+<meta property="og:description" content="Weex \u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd:
+
+
+\u989c\u8272\u540d
+\u5341\u516d\u8fdb\u5236RGB\u503c
+
+
+
+
+black(\u9ed1)
+#000000
+
+
+silver(\u94f6)
+#C0C0C0
+
+
+gray(\u7070)
+#808080
+
+
+white(\u767d)
+#FFFFFF
+
+
+maroon(\u8910\u7d2b\u7ea2)
+#800000
+
+
+red(\u7ea2)
+#FF0000
+
+
+purple(\u7d2b)
+#800080
+
+
+fuchsia(\u665a\u6a31)
+#FF00FF
+
+
+g">
+<meta property="og:updated_time" content="2017-02-24T16:39:42.000Z">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="\u989c\u8272\u540d\u79f0\u5217\u8868">
+<meta name="twitter:description" content="Weex \u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd:
+
+
+\u989c\u8272\u540d
+\u5341\u516d\u8fdb\u5236RGB\u503c
+
+
+
+
+black(\u9ed1)
+#000000
+
+
+silver(\u94f6)
+#C0C0C0
+
+
+gray(\u7070)
+#808080
+
+
+white(\u767d)
+#FFFFFF
+
+
+maroon(\u8910\u7d2b\u7ea2)
+#800000
+
+
+red(\u7ea2)
+#FF0000
+
+
+purple(\u7d2b)
+#800080
+
+
+fuchsia(\u665a\u6a31)
+#FF00FF
+
+
+g">
+  
+    <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" class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+        </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/references/color-names.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/references/color-names.html" data-lang="zh-cn">\u4e2d\u6587</a>
+              </li>
+            </ul>
+          </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" 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/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework 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 current ">\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/input.html" class="sidebar-link  ">&lt;input&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/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/websocket.html" class="sidebar-link  ">WebSocket</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/js-service/index.html" class="sidebar-link  ">JS Service</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/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <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/v-0.10/references/index.html" class="sidebar-link">\u65e7\u8bed\u6cd5\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/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework 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 current ">\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/input.html" class="sidebar-link  ">&lt;input&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/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/websocket.html" class="sidebar-link  ">WebSocket</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/js-service/index.html" class="sidebar-link  ">JS Service</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/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <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/v-0.10/references/index.html" class="sidebar-link">\u65e7\u8bed\u6cd5\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">
+        \u989c\u8272\u540d\u79f0\u5217\u8868
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-02-24T16:39:42.000Z">Updated time: 25/02/2017</time>
+</header>
+    <h1 id="Weex-\u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0"><a href="#Weex-\u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0" class="headerlink" title="Weex \u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0"></a>Weex \u652f\u6301\u7684\u6240\u6709\u989c\u8272\u540d\u79f0</h1><h3 id="\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd"><a href="#\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd" class="headerlink" title="\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd:"></a>\u57fa\u7840\u989c\u8272\u5173\u952e\u8bcd:</h3><table>
+<thead>
+<tr>
+<th>\u989c\u8272\u540d</th>
+<th>\u5341\u516d\u8fdb\u5236RGB\u503c</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>black(\u9ed1)</td>
+<td>#000000</td>
+</tr>
+<tr>
+<td>silver(\u94f6)</td>
+<td>#C0C0C0</td>
+</tr>
+<tr>
+<td>gray(\u7070)</td>
+<td>#808080</td>
+</tr>
+<tr>
+<td>white(\u767d)</td>
+<td>#FFFFFF</td>
+</tr>
+<tr>
+<td>maroon(\u8910\u7d2b\u7ea2)</td>
+<td>#800000</td>
+</tr>
+<tr>
+<td>red(\u7ea2)</td>
+<td>#FF0000</td>
+</tr>
+<tr>
+<td>purple(\u7d2b)</td>
+<td>#800080</td>
+</tr>
+<tr>
+<td>fuchsia(\u665a\u6a31)</td>
+<td>#FF00FF</td>
+</tr>
+<tr>
+<td>green(\u7eff)</td>
+<td>#008000</td>
+</tr>
+<tr>
+<td>lime(\u77f3\u7070)</td>
+<td>#00FF00</td>
+</tr>
+<tr>
+<td>olive(\u6a44\u6984)</td>
+<td>#808000</td>
+</tr>
+<tr>
+<td>yellow(\u9ec4)</td>
+<td>#FFFF00</td>
+</tr>
+<tr>
+<td>navy(\u6d77\u519b\u84dd)</td>
+<td>#000080</td>
+</tr>
+<tr>
+<td>blue(\u84dd)</td>
+<td>#0000FF</td>
+</tr>
+<tr>
+<td>teal(\u6c34\u9e2d)</td>
+<td>#008080</td>
+</tr>
+<tr>
+<td>aqua(\u6c34\u84dd)</td>
+<td>#00FFFF</td>
+</tr>
+</tbody>
+</table>
+<h3 id="\u6269\u5c55\u989c\u8272\u5173\u952e\u8bcd"><a href="#\u6269\u5c55\u989c\u8272\u5173\u952e\u8bcd" class="headerlink" title="\u6269\u5c55\u989c\u8272\u5173\u952e\u8bcd:"></a>\u6269\u5c55\u989c\u8272\u5173\u952e\u8bcd:</h3><table>
+<thead>
+<tr>
+<th>\u989c\u8272\u540d</th>
+<th>\u5341\u516d\u8fdb\u5236RGB\u503c</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>aliceblue</td>
+<td>#F0F8FF</td>
+</tr>
+<tr>
+<td>antiquewhite</td>
+<td>#FAEBD7</td>
+</tr>
+<tr>
+<td>aqua</td>
+<td>#00FFFF</td>
+</tr>
+<tr>
+<td>aquamarine</td>
+<td>#7FFFD4</td>
+</tr>
+<tr>
+<td>azure</td>
+<td>#F0FFFF</td>
+</tr>
+<tr>
+<td>beige</td>
+<td>#F5F5DC</td>
+</tr>
+<tr>
+<td>bisque</td>
+<td>#FFE4C4</td>
+</tr>
+<tr>
+<td>black</td>
+<td>#000000</td>
+</tr>
+<tr>
+<td>blanchedalmond</td>
+<td>#FFEBCD</td>
+</tr>
+<tr>
+<td>blue</td>
+<td>#0000FF</td>
+</tr>
+<tr>
+<td>blueviolet</td>
+<td>#8A2BE2</td>
+</tr>
+<tr>
+<td>brown</td>
+<td>#A52A2A</td>
+</tr>
+<tr>
+<td>burlywood</td>
+<td>#DEB887</td>
+</tr>
+<tr>
+<td>cadetblue</td>
+<td>#5F9EA0</td>
+</tr>
+<tr>
+<td>chartreuse</td>
+<td>#7FFF00</td>
+</tr>
+<tr>
+<td>chocolate</td>
+<td>#D2691E</td>
+</tr>
+<tr>
+<td>coral</td>
+<td>#FF7F50</td>
+</tr>
+<tr>
+<td>cornflowerblue</td>
+<td>#6495ED</td>
+</tr>
+<tr>
+<td>cornsilk</td>
+<td>#FFF8DC</td>
+</tr>
+<tr>
+<td>crimson</td>
+<td>#DC143C</td>
+</tr>
+<tr>
+<td>cyan</td>
+<td>#00FFFF</td>
+</tr>
+<tr>
+<td>darkblue</td>
+<td>#00008B</td>
+</tr>
+<tr>
+<td>darkcyan</td>
+<td>#008B8B</td>
+</tr>
+<tr>
+<td>darkgoldenrod</td>
+<td>#B8860B</td>
+</tr>
+<tr>
+<td>darkgray</td>
+<td>#A9A9A9</td>
+</tr>
+<tr>
+<td>darkgreen</td>
+<td>#006400</td>
+</tr>
+<tr>
+<td>darkgrey</td>
+<td>#A9A9A9</td>
+</tr>
+<tr>
+<td>darkkhaki</td>
+<td>#BDB76B</td>
+</tr>
+<tr>
+<td>darkmagenta</td>
+<td>#8B008B</td>
+</tr>
+<tr>
+<td>darkolivegreen</td>
+<td>#556B2F</td>
+</tr>
+<tr>
+<td>darkorange</td>
+<td>#FF8C00</td>
+</tr>
+<tr>
+<td>darkorchid</td>
+<td>#9932CC</td>
+</tr>
+<tr>
+<td>darkred</td>
+<td>#8B0000</td>
+</tr>
+<tr>
+<td>darksalmon</td>
+<td>#E9967A</td>
+</tr>
+<tr>
+<td>darkseagreen</td>
+<td>#8FBC8F</td>
+</tr>
+<tr>
+<td>darkslateblue</td>
+<td>#483D8B</td>
+</tr>
+<tr>
+<td>darkslategray</td>
+<td>#2F4F4F</td>
+</tr>
+<tr>
+<td>darkslategrey</td>
+<td>#2F4F4F</td>
+</tr>
+<tr>
+<td>darkturquoise</td>
+<td>#00CED1</td>
+</tr>
+<tr>
+<td>darkviolet</td>
+<td>#9400D3</td>
+</tr>
+<tr>
+<td>deeppink</td>
+<td>#FF1493</td>
+</tr>
+<tr>
+<td>deepskyblue</td>
+<td>#00BFFF</td>
+</tr>
+<tr>
+<td>dimgray</td>
+<td>#696969</td>
+</tr>
+<tr>
+<td>dimgrey</td>
+<td>#696969</td>
+</tr>
+<tr>
+<td>dodgerblue</td>
+<td>#1E90FF</td>
+</tr>
+<tr>
+<td>firebrick</td>
+<td>#B22222</td>
+</tr>
+<tr>
+<td>floralwhite</td>
+<td>#FFFAF0</td>
+</tr>
+<tr>
+<td>forestgreen</td>
+<td>#228B22</td>
+</tr>
+<tr>
+<td>fuchsia</td>
+<td>#FF00FF</td>
+</tr>
+<tr>
+<td>gainsboro</td>
+<td>#DCDCDC</td>
+</tr>
+<tr>
+<td>ghostwhite</td>
+<td>#F8F8FF</td>
+</tr>
+<tr>
+<td>gold</td>
+<td>#FFD700</td>
+</tr>
+<tr>
+<td>goldenrod</td>
+<td>#DAA520</td>
+</tr>
+<tr>
+<td>gray</td>
+<td>#808080</td>
+</tr>
+<tr>
+<td>green</td>
+<td>#008000</td>
+</tr>
+<tr>
+<td>greenyellow</td>
+<td>#ADFF2F</td>
+</tr>
+<tr>
+<td>grey</td>
+<td>#808080</td>
+</tr>
+<tr>
+<td>honeydew</td>
+<td>#F0FFF0</td>
+</tr>
+<tr>
+<td>hotpink</td>
+<td>#FF69B4</td>
+</tr>
+<tr>
+<td>indianred</td>
+<td>#CD5C5C</td>
+</tr>
+<tr>
+<td>indigo</td>
+<td>#4B0082</td>
+</tr>
+<tr>
+<td>ivory</td>
+<td>#FFFFF0</td>
+</tr>
+<tr>
+<td>khaki</td>
+<td>#F0E68C</td>
+</tr>
+<tr>
+<td>lavender</td>
+<td>#E6E6FA</td>
+</tr>
+<tr>
+<td>lavenderblush</td>
+<td>#FFF0F5</td>
+</tr>
+<tr>
+<td>lawngreen</td>
+<td>#7CFC00</td>
+</tr>
+<tr>
+<td>lemonchiffon</td>
+<td>#FFFACD</td>
+</tr>
+<tr>
+<td>lightblue</td>
+<td>#ADD8E6</td>
+</tr>
+<tr>
+<td>lightcoral</td>
+<td>#F08080</td>
+</tr>
+<tr>
+<td>lightcyan</td>
+<td>#E0FFFF</td>
+</tr>
+<tr>
+<td>lightgoldenrodyellow</td>
+<td>#FAFAD2</td>
+</tr>
+<tr>
+<td>lightgray</td>
+<td>#D3D3D3</td>
+</tr>
+<tr>
+<td>lightgreen</td>
+<td>#90EE90</td>
+</tr>
+<tr>
+<td>lightgrey</td>
+<td>#D3D3D3</td>
+</tr>
+<tr>
+<td>lightpink</td>
+<td>#FFB6C1</td>
+</tr>
+<tr>
+<td>lightsalmon</td>
+<td>#FFA07A</td>
+</tr>
+<tr>
+<td>lightseagreen</td>
+<td>#20B2AA</td>
+</tr>
+<tr>
+<td>lightskyblue</td>
+<td>#87CEFA</td>
+</tr>
+<tr>
+<td>lightslategray</td>
+<td>#778899</td>
+</tr>
+<tr>
+<td>lightslategrey</td>
+<td>#778899</td>
+</tr>
+<tr>
+<td>lightsteelblue</td>
+<td>#B0C4DE</td>
+</tr>
+<tr>
+<td>lightyellow</td>
+<td>#FFFFE0</td>
+</tr>
+<tr>
+<td>lime</td>
+<td>#00FF00</td>
+</tr>
+<tr>
+<td>limegreen</td>
+<td>#32CD32</td>
+</tr>
+<tr>
+<td>linen</td>
+<td>#FAF0E6</td>
+</tr>
+<tr>
+<td>magenta</td>
+<td>#FF00FF</td>
+</tr>
+<tr>
+<td>maroon</td>
+<td>#800000</td>
+</tr>
+<tr>
+<td>mediumaquamarine</td>
+<td>#66CDAA</td>
+</tr>
+<tr>
+<td>mediumblue</td>
+<td>#0000CD</td>
+</tr>
+<tr>
+<td>mediumorchid</td>
+<td>#BA55D3</td>
+</tr>
+<tr>
+<td>mediumpurple</td>
+<td>#9370DB</td>
+</tr>
+<tr>
+<td>mediumseagreen</td>
+<td>#3CB371</td>
+</tr>
+<tr>
+<td>mediumslateblue</td>
+<td>#7B68EE</td>
+</tr>
+<tr>
+<td>mediumspringgreen</td>
+<td>#00FA9A</td>
+</tr>
+<tr>
+<td>mediumturquoise</td>
+<td>#48D1CC</td>
+</tr>
+<tr>
+<td>mediumvioletred</td>
+<td>#C71585</td>
+</tr>
+<tr>
+<td>midnightblue</td>
+<td>#191970</td>
+</tr>
+<tr>
+<td>mintcream</td>
+<td>#F5FFFA</td>
+</tr>
+<tr>
+<td>mistyrose</td>
+<td>#FFE4E1</td>
+</tr>
+<tr>
+<td>moccasin</td>
+<td>#FFE4B5</td>
+</tr>
+<tr>
+<td>navajowhite</td>
+<td>#FFDEAD</td>
+</tr>
+<tr>
+<td>navy</td>
+<td>#000080</td>
+</tr>
+<tr>
+<td>oldlace</td>
+<td>#FDF5E6</td>
+</tr>
+<tr>
+<td>olive</td>
+<td>#808000</td>
+</tr>
+<tr>
+<td>olivedrab</td>
+<td>#6B8E23</td>
+</tr>
+<tr>
+<td>orange</td>
+<td>#FFA500</td>
+</tr>
+<tr>
+<td>orangered</td>
+<td>#FF4500</td>
+</tr>
+<tr>
+<td>orchid</td>
+<td>#DA70D6</td>
+</tr>
+<tr>
+<td>palegoldenrod</td>
+<td>#EEE8AA</td>
+</tr>
+<tr>
+<td>palegreen</td>
+<td>#98FB98</td>
+</tr>
+<tr>
+<td>paleturquoise</td>
+<td>#AFEEEE</td>
+</tr>
+<tr>
+<td>palevioletred</td>
+<td>#DB7093</td>
+</tr>
+<tr>
+<td>papayawhip</td>
+<td>#FFEFD5</td>
+</tr>
+<tr>
+<td>peachpuff</td>
+<td>#FFDAB9</td>
+</tr>
+<tr>
+<td>peru</td>
+<td>#CD853F</td>
+</tr>
+<tr>
+<td>pink</td>
+<td>#FFC0CB</td>
+</tr>
+<tr>
+<td>plum</td>
+<td>#DDA0DD</td>
+</tr>
+<tr>
+<td>powderblue</td>
+<td>#B0E0E6</td>
+</tr>
+<tr>
+<td>purple</td>
+<td>#800080</td>
+</tr>
+<tr>
+<td>red</td>
+<td>#FF0000</td>
+</tr>
+<tr>
+<td>rosybrown</td>
+<td>#BC8F8F</td>
+</tr>
+<tr>
+<td>royalblue</td>
+<td>#4169E1</td>
+</tr>
+<tr>
+<td>saddlebrown</td>
+<td>#8B4513</td>
+</tr>
+<tr>
+<td>salmon</td>
+<td>#FA8072</td>
+</tr>
+<tr>
+<td>sandybrown</td>
+<td>#F4A460</td>
+</tr>
+<tr>
+<td>seagreen</td>
+<td>#2E8B57</td>
+</tr>
+<tr>
+<td>seashell</td>
+<td>#FFF5EE</td>
+</tr>
+<tr>
+<td>sienna</td>
+<td>#A0522D</td>
+</tr>
+<tr>
+<td>silver</td>
+<td>#C0C0C0</td>
+</tr>
+<tr>
+<td>skyblue</td>
+<td>#87CEEB</td>
+</tr>
+<tr>
+<td>slateblue</td>
+<td>#6A5ACD</td>
+</tr>
+<tr>
+<td>slategray</td>
+<td>#708090</td>
+</tr>
+<tr>
+<td>slategrey</td>
+<td>#708090</td>
+</tr>
+<tr>
+<td>snow</td>
+<td>#FFFAFA</td>
+</tr>
+<tr>
+<td>springgreen</td>
+<td>#00FF7F</td>
+</tr>
+<tr>
+<td>steelblue</td>
+<td>#4682B4</td>
+</tr>
+<tr>
+<td>tan</td>
+<td>#D2B48C</td>
+</tr>
+<tr>
+<td>teal</td>
+<td>#008080</td>
+</tr>
+<tr>
+<td>thistle</td>
+<td>#D8BFD8</td>
+</tr>
+<tr>
+<td>tomato</td>
+<td>#FF6347</td>
+</tr>
+<tr>
+<td>turquoise</td>
+<td>#40E0D0</td>
+</tr>
+<tr>
+<td>violet</td>
+<td>#EE82EE</td>
+</tr>
+<tr>
+<td>wheat</td>
+<td>#F5DEB3</td>
+</tr>
+<tr>
+<td>white</td>
+<td>#FFFFFF</td>
+</tr>
+<tr>
+<td>whitesmoke</td>
+<td>#F5F5F5</td>
+</tr>
+<tr>
+<td>yellow</td>
+<td>#FFFF00</td>
+</tr>
+<tr>
+<td>yellowgreen</td>
+<td>#9ACD32</td>
+</tr>
+</tbody>
+</table>
+
+  </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 pick-lang">
+        <li>
+          <a href="/references/color-names.html" data-lang="en">English</a>
+        </li>
+        <li>
+          <a href="/cn/references/color-names.html" data-lang="zh-cn">\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>Designed 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/95bb2077/cn/references/common-event.html
----------------------------------------------------------------------
diff --git a/cn/references/common-event.html b/cn/references/common-event.html
new file mode 100644
index 0000000..fd7f3c6
--- /dev/null
+++ b/cn/references/common-event.html
@@ -0,0 +1,1422 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>\u901a\u7528\u4e8b\u4ef6 | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta name="description" content="\u901a\u7528\u4e8b\u4ef6Weex \u63d0\u4f9b\u4e86\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\u52a8\u4f5c\u7684\u80fd\u529b\uff0c\u4f8b\u5982\u5728\u7528\u6237\u70b9\u51fb\u7ec4\u4ef6\u65f6\u6267\u884c JavaScript\u3002\u4e0b\u9762\u5217\u51fa\u4e86\u53ef\u88ab\u6dfb\u52a0\u5230 Weex \u7ec4\u4ef6\u4e0a\u4ee5\u5b9a\u4e49\u4e8b\u4ef6\u52a8\u4f5c\u7684\u5c5e\u6027\uff1a
+click\u5f53\u7ec4\u4ef6\u4e0a\u53d1\u751f\u70b9\u51fb\u624b\u52bf\u65f6\u88ab\u89e6\u53d1\u3002
+\u6ce8\u610f\uff1a
+&amp;lt;input&amp;gt; \u548c &amp;lt;switch&amp;gt; \u7ec4\u4ef6\u76ee\u524d\u4e0d\u652f\u6301 click \u4e8b\u4ef6\uff0c\u8bf7\u4f7f\u7528 change \u6216 input \u4e8b\u4ef6\u6765\u4ee3\u66ff\u3002
+\u4e8b\u4ef6\u5bf9\u8c61
+type: click
+targe">
+<meta property="og:type" content="website">
+<meta property="og:title" content="\u901a\u7528\u4e8b\u4ef6">
+<meta property="og:url" content="https://weex.apache.org/cn/references/common-event.html">
+<meta property="og:site_name" content="Weex">
+<meta property="og:description" content="\u901a\u7528\u4e8b\u4ef6Weex \u63d0\u4f9b\u4e86\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\u52a8\u4f5c\u7684\u80fd\u529b\uff0c\u4f8b\u5982\u5728\u7528\u6237\u70b9\u51fb\u7ec4\u4ef6\u65f6\u6267\u884c JavaScript\u3002\u4e0b\u9762\u5217\u51fa\u4e86\u53ef\u88ab\u6dfb\u52a0\u5230 Weex \u7ec4\u4ef6\u4e0a\u4ee5\u5b9a\u4e49\u4e8b\u4ef6\u52a8\u4f5c\u7684\u5c5e\u6027\uff1a
+click\u5f53\u7ec4\u4ef6\u4e0a\u53d1\u751f\u70b9\u51fb\u624b\u52bf\u65f6\u88ab\u89e6\u53d1\u3002
+\u6ce8\u610f\uff1a
+&amp;lt;input&amp;gt; \u548c &amp;lt;switch&amp;gt; \u7ec4\u4ef6\u76ee\u524d\u4e0d\u652f\u6301 click \u4e8b\u4ef6\uff0c\u8bf7\u4f7f\u7528 change \u6216 input \u4e8b\u4ef6\u6765\u4ee3\u66ff\u3002
+\u4e8b\u4ef6\u5bf9\u8c61
+type: click
+targe">
+<meta property="og:updated_time" content="2017-02-24T16:39:42.000Z">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="\u901a\u7528\u4e8b\u4ef6">
+<meta name="twitter:description" content="\u901a\u7528\u4e8b\u4ef6Weex \u63d0\u4f9b\u4e86\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\u52a8\u4f5c\u7684\u80fd\u529b\uff0c\u4f8b\u5982\u5728\u7528\u6237\u70b9\u51fb\u7ec4\u4ef6\u65f6\u6267\u884c JavaScript\u3002\u4e0b\u9762\u5217\u51fa\u4e86\u53ef\u88ab\u6dfb\u52a0\u5230 Weex \u7ec4\u4ef6\u4e0a\u4ee5\u5b9a\u4e49\u4e8b\u4ef6\u52a8\u4f5c\u7684\u5c5e\u6027\uff1a
+click\u5f53\u7ec4\u4ef6\u4e0a\u53d1\u751f\u70b9\u51fb\u624b\u52bf\u65f6\u88ab\u89e6\u53d1\u3002
+\u6ce8\u610f\uff1a
+&amp;lt;input&amp;gt; \u548c &amp;lt;switch&amp;gt; \u7ec4\u4ef6\u76ee\u524d\u4e0d\u652f\u6301 click \u4e8b\u4ef6\uff0c\u8bf7\u4f7f\u7528 change \u6216 input \u4e8b\u4ef6\u6765\u4ee3\u66ff\u3002
+\u4e8b\u4ef6\u5bf9\u8c61
+type: click
+targe">
+  
+    <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" class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+        </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/references/common-event.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/references/common-event.html" data-lang="zh-cn">\u4e2d\u6587</a>
+              </li>
+            </ul>
+          </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" 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/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework 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/input.html" class="sidebar-link  ">&lt;input&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/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/websocket.html" class="sidebar-link  ">WebSocket</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 current ">\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/js-service/index.html" class="sidebar-link  ">JS Service</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/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <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/v-0.10/references/index.html" class="sidebar-link">\u65e7\u8bed\u6cd5\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/html5-apis.html" class="sidebar-link  ">HTML5 APIs</a>
+              </li>
+            
+              <li>
+                <a href="/cn/references/jsfm-apis.html" class="sidebar-link  ">JS Framework 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/input.html" class="sidebar-link  ">&lt;input&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/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/websocket.html" class="sidebar-link  ">WebSocket</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 current ">\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/js-service/index.html" class="sidebar-link  ">JS Service</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/platform-difference.html" class="sidebar-link  ">Weex \u548c Web \u5e73\u53f0\u7684\u5dee\u5f02</a>
+              </li>
+            
+              <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/v-0.10/references/index.html" class="sidebar-link">\u65e7\u8bed\u6cd5\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">
+        \u901a\u7528\u4e8b\u4ef6
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-02-24T16:39:42.000Z">Updated time: 25/02/2017</time>
+</header>
+    <h1 id="\u901a\u7528\u4e8b\u4ef6"><a href="#\u901a\u7528\u4e8b\u4ef6" class="headerlink" title="\u901a\u7528\u4e8b\u4ef6"></a>\u901a\u7528\u4e8b\u4ef6</h1><p>Weex \u63d0\u4f9b\u4e86\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\u52a8\u4f5c\u7684\u80fd\u529b\uff0c\u4f8b\u5982\u5728\u7528\u6237\u70b9\u51fb\u7ec4\u4ef6\u65f6\u6267\u884c JavaScript\u3002\u4e0b\u9762\u5217\u51fa\u4e86\u53ef\u88ab\u6dfb\u52a0\u5230 Weex \u7ec4\u4ef6\u4e0a\u4ee5\u5b9a\u4e49\u4e8b\u4ef6\u52a8\u4f5c\u7684\u5c5e\u6027\uff1a</p>
+<h2 id="click"><a href="#click" class="headerlink" title="click"></a><code>click</code></h2><p>\u5f53\u7ec4\u4ef6\u4e0a\u53d1\u751f\u70b9\u51fb\u624b\u52bf\u65f6\u88ab\u89e6\u53d1\u3002</p>
+<p><strong>\u6ce8\u610f\uff1a</strong></p>
+<p><code>&lt;input&gt;</code> \u548c <code>&lt;switch&gt;</code> \u7ec4\u4ef6\u76ee\u524d\u4e0d\u652f\u6301 <code>click</code> \u4e8b\u4ef6\uff0c\u8bf7\u4f7f\u7528 <code>change</code> \u6216 <code>input</code> \u4e8b\u4ef6\u6765\u4ee3\u66ff\u3002</p>
+<h3 id="\u4e8b\u4ef6\u5bf9\u8c61"><a href="#\u4e8b\u4ef6\u5bf9\u8c61" class="headerlink" title="\u4e8b\u4ef6\u5bf9\u8c61"></a>\u4e8b\u4ef6\u5bf9\u8c61</h3><ul>
+<li><code>type</code>: <code>click</code></li>
+<li><code>target</code>: \u89e6\u53d1\u70b9\u51fb\u4e8b\u4ef6\u7684\u76ee\u6807\u7ec4\u4ef6</li>
+<li><code>timestamp</code>: \u89e6\u53d1\u70b9\u51fb\u4e8b\u4ef6\u65f6\u7684\u65f6\u95f4\u6233</li>
+</ul>
+<h2 id="longpress"><a href="#longpress" class="headerlink" title="longpress"></a><code>longpress</code></h2><p>\u5982\u679c\u4e00\u4e2a\u7ec4\u4ef6\u88ab\u7ed1\u5b9a\u4e86 <code>longpress</code> \u4e8b\u4ef6\uff0c\u90a3\u4e48\u5f53\u7528\u6237\u957f\u6309\u8fd9\u4e2a\u7ec4\u4ef6\u65f6\uff0c\u8be5\u4e8b\u4ef6\u5c06\u4f1a\u88ab\u89e6\u53d1\u3002</p>
+<p><strong>\u6ce8\u610f\uff1a</strong></p>
+<p><code>&lt;input&gt;</code> \u548c <code>&lt;switch&gt;</code> \u7ec4\u4ef6\u76ee\u524d\u4e0d\u652f\u6301 <code>click</code> \u4e8b\u4ef6\uff0c\u8bf7\u4f7f\u7528 <code>change</code> \u6216 <code>input</code> \u4e8b\u4ef6\u6765\u4ee3\u66ff\u3002</p>
+<h3 id="\u4e8b\u4ef6\u5bf9\u8c61-1"><a href="#\u4e8b\u4ef6\u5bf9\u8c61-1" class="headerlink" title="\u4e8b\u4ef6\u5bf9\u8c61"></a>\u4e8b\u4ef6\u5bf9\u8c61</h3><ul>
+<li><code>type</code> : <code>longpress</code></li>
+<li><code>target</code> : \u89e6\u53d1\u957f\u6309\u4e8b\u4ef6\u7684\u76ee\u6807\u7ec4\u4ef6</li>
+<li><code>timestamp</code> : \u957f\u6309\u4e8b\u4ef6\u89e6\u53d1\u65f6\u7684\u65f6\u95f4\u6233</li>
+</ul>
+<h2 id="Appear-\u4e8b\u4ef6"><a href="#Appear-\u4e8b\u4ef6" class="headerlink" title="Appear \u4e8b\u4ef6"></a>Appear \u4e8b\u4ef6</h2><p>\u5982\u679c\u4e00\u4e2a\u4f4d\u4e8e\u67d0\u4e2a\u53ef\u6eda\u52a8\u533a\u57df\u5185\u7684\u7ec4\u4ef6\u88ab\u7ed1\u5b9a\u4e86 <code>appear</code> \u4e8b\u4ef6\uff0c\u90a3\u4e48\u5f53\u8fd9\u4e2a\u7ec4\u4ef6\u7684\u72b6\u6001\u53d8\u4e3a\u5728\u5c4f\u5e55\u4e0a\u53ef\u89c1\u65f6\uff0c\u8be5\u4e8b\u4ef6\u5c06\u88ab\u89e6\u53d1\u3002</p>
+<h3 id="\u4e8b\u4ef6\u5bf9\u8c61-2"><a href="#\u4e8b\u4ef6\u5bf9\u8c61-2" class="headerlink" title="\u4e8b\u4ef6\u5bf9\u8c61"></a>\u4e8b\u4ef6\u5bf9\u8c61</h3><ul>
+<li><code>type</code> : <code>appear</code></li>
+<li><code>target</code> : \u89e6\u53d1 Appear \u4e8b\u4ef6\u7684\u7ec4\u4ef6\u5bf9\u8c61</li>
+<li><code>timestamp</code> : \u4e8b\u4ef6\u88ab\u89e6\u53d1\u65f6\u7684\u65f6\u95f4\u6233</li>
+<li><code>direction</code> : \u89e6\u53d1\u4e8b\u4ef6\u65f6\u5c4f\u5e55\u7684\u6eda\u52a8\u65b9\u5411\uff0c<code>up</code> \u6216 <code>down</code></li>
+</ul>
+<h2 id="Disappear-\u4e8b\u4ef6"><a href="#Disappear-\u4e8b\u4ef6" class="headerlink" title="Disappear \u4e8b\u4ef6"></a>Disappear \u4e8b\u4ef6</h2><p>\u5982\u679c\u4e00\u4e2a\u4f4d\u4e8e\u67d0\u4e2a\u53ef\u6eda\u52a8\u533a\u57df\u5185\u7684\u7ec4\u4ef6\u88ab\u7ed1\u5b9a\u4e86 <code>disappear</code> \u4e8b\u4ef6\uff0c\u90a3\u4e48\u5f53\u8fd9\u4e2a\u7ec4\u4ef6\u88ab\u6ed1\u51fa\u5c4f\u5e55\u53d8\u4e3a\u4e0d\u53ef\u89c1\u72b6\u6001\u65f6\uff0c\u8be5\u4e8b\u4ef6\u5c06\u88ab\u89e6\u53d1\u3002</p>
+<h3 id="\u4e8b\u4ef6\u5bf9\u8c61-3"><a href="#\u4e8b\u4ef6\u5bf9\u8c61-3" class="headerlink" title="\u4e8b\u4ef6\u5bf9\u8c61"></a>\u4e8b\u4ef6\u5bf9\u8c61</h3><ul>
+<li><code>type</code> : <code>disappear</code></li>
+<li><code>target</code> : \u89e6\u53d1 Disappear \u4e8b\u4ef6\u7684\u7ec4\u4ef6\u5bf9\u8c61</li>
+<li><code>timestamp</code> : \u4e8b\u4ef6\u88ab\u89e6\u53d1\u65f6\u7684\u65f6\u95f4\u6233</li>
+<li><code>direction</code> : \u89e6\u53d1\u4e8b\u4ef6\u65f6\u5c4f\u5e55\u7684\u6eda\u52a8\u65b9\u5411\uff0c<code>up</code> \u6216 <code>down</code></li>
+</ul>
+<h2 id="Page-\u4e8b\u4ef6"><a href="#Page-\u4e8b\u4ef6" class="headerlink" title="Page \u4e8b\u4ef6"></a>Page \u4e8b\u4ef6</h2><p><em>\u6ce8\u610f\uff1a\u4ec5\u652f\u6301 iOS \u548c Android\uff0cH5 \u6682\u4e0d\u652f\u6301\u3002</em></p>
+<p>Weex \u901a\u8fc7 <code>viewappear</code> \u548c <code>viewdisappear</code> \u4e8b\u4ef6\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u9875\u9762\u72b6\u6001\u7ba1\u7406\u80fd\u529b\u3002</p>
+<p><code>viewappear</code> \u4e8b\u4ef6\u4f1a\u5728\u9875\u9762\u5c31\u8981\u663e\u793a\u6216\u914d\u7f6e\u7684\u4efb\u4f55\u9875\u9762\u52a8\u753b\u88ab\u6267\u884c\u524d\u89e6\u53d1\uff0c\u4f8b\u5982\uff0c\u5f53\u8c03\u7528 <code>navigator</code> \u6a21\u5757\u7684 <code>push</code> \u65b9\u6cd5\u65f6\uff0c\u8be5\u4e8b\u4ef6\u5c06\u4f1a\u5728\u6253\u5f00\u65b0\u9875\u9762\u65f6\u88ab\u89e6\u53d1\u3002<code>viewdisappear</code> \u4e8b\u4ef6\u4f1a\u5728\u9875\u9762\u5c31\u8981\u5173\u95ed\u65f6\u88ab\u89e6\u53d1\u3002</p>
+<p>\u4e0e\u7ec4\u4ef6\u7684 <code>appear</code> \u548c <code>disappear</code> \u4e8b\u4ef6\u4e0d\u540c\u7684\u662f\uff0c<code>viewappear</code> \u548c <code>viewdisappear</code> \u4e8b\u4ef6\u5173\u6ce8\u7684\u662f\u6574\u4e2a\u9875\u9762\u7684\u72b6\u6001\uff0c\u6240\u4ee5<strong>\u5b83\u4eec\u5fc5\u987b\u7ed1\u5b9a\u5230\u9875\u9762\u7684\u6839\u5143\u7d20\u4e0a</strong>\u3002</p>
+<p>\u7279\u6b8a\u60c5\u51b5\u4e0b\uff0c\u8fd9\u4e24\u4e2a\u4e8b\u4ef6\u4e5f\u80fd\u88ab\u7ed1\u5b9a\u5230\u975e\u6839\u5143\u7d20\u7684body\u7ec4\u4ef6\u4e0a\uff0c\u4f8b\u5982<code>wxc-navpage</code>\u7ec4\u4ef6\u3002</p>
+<h3 id="\u4e8b\u4ef6\u5bf9\u8c61-4"><a href="#\u4e8b\u4ef6\u5bf9\u8c61-4" class="headerlink" title="\u4e8b\u4ef6\u5bf9\u8c61"></a>\u4e8b\u4ef6\u5bf9\u8c61</h3><ul>
+<li><code>type</code> : <code>viewappear</code> \u6216 <code>viewdisappear</code></li>
+<li><code>target</code> : \u89e6\u53d1\u4e8b\u4ef6\u7684\u7ec4\u4ef6\u5bf9\u8c61</li>
+<li><code>timestamp</code> : \u4e8b\u4ef6\u88ab\u89e6\u53d1\u65f6\u7684\u65f6\u95f4\u6233</li>
+</ul>
+<h2 id="\u793a\u4f8b"><a href="#\u793a\u4f8b" class="headerlink" title="\u793a\u4f8b"></a>\u793a\u4f8b</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>&gt;</span></div><div class="line">    <span class="tag">&lt;<span class="name">div</span> <span class="attr">class</span>=<span class="string">"box"</span> @<span class="attr">click</span>=<span class="string">"onclick"</span> @<span class="attr">longpress</span>=<span class="string">"onlongpress"</span> @<span class="attr">appear</span>=<span class="string">"onappear"</span>  @<span class="attr">disappear</span>=<span class="string">"ondisappear"</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> modal = weex.requireModule(<span class="string">'modal'</span>)</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">      onclick (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'onclick:'</span>, event)</div><div class="line">        modal.toast(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'onclick'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.8</span></div><div class="line">        &#125;)</div><div class="line">      &#125;,</div><div class="line
 ">      onlongpress (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'onlongpress:'</span>, event)</div><div class="line">        modal.toast(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'onlongpress'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.8</span></div><div class="line">        &#125;)</div><div class="line">      &#125;,</div><div class="line">      onappear (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'onappear:'</span>, event)</div><div class="line">        modal.toast(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'onappear'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.8</span></div><div class="line">        &#125;)</div><div class="line">     
  &#125;,</div><div class="line">      ondisappear (event) &#123;</div><div class="line">        <span class="built_in">console</span>.log(<span class="string">'ondisappear:'</span>, event)</div><div class="line">        modal.toast(&#123;</div><div class="line">          <span class="attr">message</span>: <span class="string">'ondisappear'</span>,</div><div class="line">          <span class="attr">duration</span>: <span class="number">0.8</span></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"><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">.box</span> &#123;</div><div class="line">    <span class="attribute">border-width</span>: 
 <span class="number">2px</span>;</div><div class="line">    <span class="attribute">border-style</span>: solid;</div><div class="line">    <span class="attribute">border-color</span>: <span class="number">#BBB</span>;</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">margin-top</span>: <span class="number">250px</span>;</div><div class="line">    <span class="attribute">margin-left</span>: <span class="number">250px</span>;</div><div class="line">    <span class="attribute">background-color</span>: <span class="number">#EEE</span>;</div><div class="line">  &#125;</div><div class="line"><span class="tag">&lt;/<span class="name">style</span>&gt;</span></div></pre></td></tr></table></figure>
+
+  </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 pick-lang">
+        <li>
+          <a href="/references/common-event.html" data-lang="en">English</a>
+        </li>
+        <li>
+          <a href="/cn/references/common-event.html" data-lang="zh-cn">\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>Designed 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>