You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/02 03:54:16 UTC
[24/39] incubator-weex-site git commit: * update site
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/a.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/a.html b/content/cn/v-0.10/references/components/a.html
index 854bcb0..7cd1d83 100644
--- a/content/cn/v-0.10/references/components/a.html
+++ b/content/cn/v-0.10/references/components/a.html
@@ -5,49 +5,6 @@
<title><a> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;a&gt;&lt;a&gt; \u7ec4\u4ef6\u5b9a\u4e49\u4e86\u6307\u5411\u67d0\u4e2a\u9875\u9762\u7684\u4e00\u4e2a\u8d85\u94fe\u63a5. \u6b64\u7ec4\u4ef6\u7684\u4f5c\u7528\u548c\u7528\u6cd5\u4e0eHTML5\u4e2d\u7684 &lt;a&gt; \u975e\u5e38\u7c7b\u4f3c\uff0c\u533a\u522b\u5728\u4e8e Weex \u7684 &lt;a&gt; \u7ec4\u4ef6\u4e0d\u80fd\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u6dfb\u52a0 &lt;text&gt; \u7ec4\u4ef6\u3002
\u4e00\u4e2a\u7b80\u5355\u4f8b\u5b50\uff1a
&lt;template&gt; &lt;div class="wrapper"&gt; &">
@@ -58,7 +15,7 @@
<meta property="og:description" content="&lt;a&gt;&lt;a&gt; \u7ec4\u4ef6\u5b9a\u4e49\u4e86\u6307\u5411\u67d0\u4e2a\u9875\u9762\u7684\u4e00\u4e2a\u8d85\u94fe\u63a5. \u6b64\u7ec4\u4ef6\u7684\u4f5c\u7528\u548c\u7528\u6cd5\u4e0eHTML5\u4e2d\u7684 &lt;a&gt; \u975e\u5e38\u7c7b\u4f3c\uff0c\u533a\u522b\u5728\u4e8e Weex \u7684 &lt;a&gt; \u7ec4\u4ef6\u4e0d\u80fd\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u6dfb\u52a0 &lt;text&gt; \u7ec4\u4ef6\u3002
\u4e00\u4e2a\u7b80\u5355\u4f8b\u5b50\uff1a
&lt;template&gt; &lt;div class="wrapper"&gt; &">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<a>">
<meta name="twitter:description" content="&lt;a&gt;&lt;a&gt; \u7ec4\u4ef6\u5b9a\u4e49\u4e86\u6307\u5411\u67d0\u4e2a\u9875\u9762\u7684\u4e00\u4e2a\u8d85\u94fe\u63a5. \u6b64\u7ec4\u4ef6\u7684\u4f5c\u7528\u548c\u7528\u6cd5\u4e0eHTML5\u4e2d\u7684 &lt;a&gt; \u975e\u5e38\u7c7b\u4f3c\uff0c\u533a\u522b\u5728\u4e8e Weex \u7684 &lt;a&gt; \u7ec4\u4ef6\u4e0d\u80fd\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u6dfb\u52a0 &lt;text&gt; \u7ec4\u4ef6\u3002
@@ -121,13 +78,29 @@
<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"/>
+ <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="/v-0.10/references/components/a.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/a.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -144,7 +117,7 @@
<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"/>
+ <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">
@@ -445,11 +418,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link current "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link current "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -481,11 +454,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -901,11 +874,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link current "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link current "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -937,11 +910,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1069,7 +1042,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-a-gt"><a href="#lt-a-gt" class="headerlink" title="<a>"></a><a></h1><p><code><a></code> \u7ec4\u4ef6\u5b9a\u4e49\u4e86\u6307\u5411\u67d0\u4e2a\u9875\u9762\u7684\u4e00\u4e2a\u8d85\u94fe\u63a5. \u6b64\u7ec4\u4ef6\u7684\u4f5c\u7528\u548c\u7528\u6cd5\u4e0eHTML5\u4e2d\u7684 <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a" target="_blank" rel="external"><code><a></code></a> \u975e\u5e38\u7c7b\u4f3c\uff0c\u533a\u522b\u5728\u4e8e Weex \u7684 <code><a></code> \u7ec4\u4ef6<strong>\u4e0d\u80fd</strong>\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u6dfb\u52a0 <code><text></code> \u7ec4\u4ef6\u3002</p>
<p>\u4e00\u4e2a\u7b80\u5355\u4f8b\u5b50\uff1a</p>
@@ -1128,7 +1101,7 @@
<a href="/v-0.10/references/components/a.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/a.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/cell.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/cell.html b/content/cn/v-0.10/references/components/cell.html
index 42441c1..45670aa 100644
--- a/content/cn/v-0.10/references/components/cell.html
+++ b/content/cn/v-0.10/references/components/cell.html
@@ -5,49 +5,6 @@
<title><cell> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;cell&gt;\u7528\u4e8e\u5b9a\u4e49\u5217\u8868\u4e2d\u7684\u5b50\u5217\u8868\u9879\uff0c\u7c7b\u4f3c\u4e8e HTML \u4e2d\u7684 ul \u4e4b\u4e8e li\u3002Weex \u4f1a\u5bf9 &lt;cell&gt; \u8fdb\u884c\u9ad8\u6548\u7684\u5185\u5b58\u56de\u6536\u4ee5\u8fbe\u5230\u66f4\u597d\u7684\u6027\u80fd\uff0c\u8be5\u7ec4\u4ef6\u5fc5\u987b\u4f5c\u4e3a&lt;list&gt; \u7ec4\u4ef6\u7684\u5b50\u7ec4\u4ef6, \u8fd9\u662f\u4e3a\u4e86\u4f18\u5316\u6eda\u52a8\u65f6\u7684\u6027\u80fd\u3002
\u5b50\u7ec4\u4ef6\u652f\u6301\u6240\u6709 Weex \u7684\u7ec4\u4ef6\u4f5c\u4e3a\u5b83\u7684\u5b50\u7ec4\u4ef6\u3002
\u6837\u5f0f\u6ce8\u610f\uff1a
@@ -61,7 +18,7 @@
\u6837\u5f0f\u6ce8\u610f\uff1a
\u4f60\u4e0d\u80fd\u7ed9 &lt;cell&gt; \u8bbe\u5b9aflex\u503c\u3002 &lt;cell&gt;\u7684\u5bbd\u5ea6">
<meta property="og:image" content="https://weex.apache.org/../images/list_3.jpg">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<cell>">
<meta name="twitter:description" content="&lt;cell&gt;\u7528\u4e8e\u5b9a\u4e49\u5217\u8868\u4e2d\u7684\u5b50\u5217\u8868\u9879\uff0c\u7c7b\u4f3c\u4e8e HTML \u4e2d\u7684 ul \u4e4b\u4e8e li\u3002Weex \u4f1a\u5bf9 &lt;cell&gt; \u8fdb\u884c\u9ad8\u6548\u7684\u5185\u5b58\u56de\u6536\u4ee5\u8fbe\u5230\u66f4\u597d\u7684\u6027\u80fd\uff0c\u8be5\u7ec4\u4ef6\u5fc5\u987b\u4f5c\u4e3a&lt;list&gt; \u7ec4\u4ef6\u7684\u5b50\u7ec4\u4ef6, \u8fd9\u662f\u4e3a\u4e86\u4f18\u5316\u6eda\u52a8\u65f6\u7684\u6027\u80fd\u3002
@@ -126,13 +83,29 @@
<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"/>
+ <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="/v-0.10/references/components/cell.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/cell.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -149,7 +122,7 @@
<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"/>
+ <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">
@@ -450,11 +423,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -486,11 +459,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -906,11 +879,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -942,11 +915,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1074,7 +1047,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-cell-gt"><a href="#lt-cell-gt" class="headerlink" title="<cell>"></a><cell></h1><p>\u7528\u4e8e\u5b9a\u4e49\u5217\u8868\u4e2d\u7684\u5b50\u5217\u8868\u9879\uff0c\u7c7b\u4f3c\u4e8e HTML \u4e2d\u7684 <code>ul</code> \u4e4b\u4e8e <code>li</code>\u3002Weex \u4f1a\u5bf9 <code><cell></code> \u8fdb\u884c\u9ad8\u6548\u7684\u5185\u5b58\u56de\u6536\u4ee5\u8fbe\u5230\u66f4\u597d\u7684\u6027\u80fd\uff0c\u8be5\u7ec4\u4ef6\u5fc5\u987b\u4f5c\u4e3a<a href="./list.html"><code><list></code></a> \u7ec4\u4ef6\u7684\u5b50\u7ec4\u4ef6, \u8fd9\u662f\u4e3a\u4e86\u4f18\u5316\u6eda\u52a8\u65f6\u7684\u6027\u80fd\u3002</p>
<h2 id="\u5b50\u7ec4\u4ef6"><a href="#\u5b50\u7ec4\u4ef6" class="headerlink" title="\u5b50\u7ec4\u4ef6"></a>\u5b50\u7ec4\u4ef6</h2><p>\u652f\u6301\u6240\u6709 Weex \u7684\u7ec4\u4ef6\u4f5c\u4e3a\u5b83\u7684\u5b50\u7ec4\u4ef6\u3002</p>
@@ -1128,7 +1101,7 @@
<a href="/v-0.10/references/components/cell.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/cell.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/cell.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/div.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/div.html b/content/cn/v-0.10/references/components/div.html
index c348354..8f176e3 100644
--- a/content/cn/v-0.10/references/components/div.html
+++ b/content/cn/v-0.10/references/components/div.html
@@ -5,49 +5,6 @@
<title><div> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;div&gt;&lt;div&gt; \u7ec4\u4ef6\u662f\u7528\u4e8e\u5305\u88c5\u5176\u5b83\u7ec4\u4ef6\u7684\u6700\u57fa\u672c\u5bb9\u5668\u3002\u652f\u6301\u6240\u6709\u7684\u901a\u7528\u6837\u5f0f\u3001\u7279\u6027\u3001flexbox \u5e03\u5c40\u3002\u5176\u7c7b\u4f3c\u4e8e HTML \u7684 &lt;div&gt; \u5bb9\u5668\uff0c\u4f46\u4e0d\u80fd\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u4f7f\u7528 &lt;text&gt; \u7ec4\u4ef6\u3002\u5386\u53f2\u7248\u672c\u4e2d\uff0c&lt;div&gt; \u522b\u540d\u662f &lt;container&gt;\uff0c\u76ee\u524d\u5df2\u7ecf\u5f03\u7528\u3002
\u6ce8\u610f\uff1a
&lt;div&g">
@@ -60,7 +17,7 @@
&lt;div&g">
<meta property="og:image" content="https://weex.apache.org/../images/div_1.jpg">
<meta property="og:image" content="https://weex.apache.org/../images/div_4.jpg">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<div>">
<meta name="twitter:description" content="&lt;div&gt;&lt;div&gt; \u7ec4\u4ef6\u662f\u7528\u4e8e\u5305\u88c5\u5176\u5b83\u7ec4\u4ef6\u7684\u6700\u57fa\u672c\u5bb9\u5668\u3002\u652f\u6301\u6240\u6709\u7684\u901a\u7528\u6837\u5f0f\u3001\u7279\u6027\u3001flexbox \u5e03\u5c40\u3002\u5176\u7c7b\u4f3c\u4e8e HTML \u7684 &lt;div&gt; \u5bb9\u5668\uff0c\u4f46\u4e0d\u80fd\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u4f7f\u7528 &lt;text&gt; \u7ec4\u4ef6\u3002\u5386\u53f2\u7248\u672c\u4e2d\uff0c&lt;div&gt; \u522b\u540d\u662f &lt;container&gt;\uff0c\u76ee\u524d\u5df2\u7ecf\u5f03\u7528\u3002
@@ -124,13 +81,29 @@
<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"/>
+ <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="/v-0.10/references/components/div.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/div.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -147,7 +120,7 @@
<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"/>
+ <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">
@@ -448,11 +421,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -484,11 +457,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -904,11 +877,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -940,11 +913,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1072,7 +1045,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-div-gt"><a href="#lt-div-gt" class="headerlink" title="<div>"></a><div></h1><p><code><div></code> \u7ec4\u4ef6\u662f\u7528\u4e8e\u5305\u88c5\u5176\u5b83\u7ec4\u4ef6\u7684\u6700\u57fa\u672c\u5bb9\u5668\u3002\u652f\u6301\u6240\u6709\u7684\u901a\u7528\u6837\u5f0f\u3001\u7279\u6027\u3001<code>flexbox</code> \u5e03\u5c40\u3002\u5176\u7c7b\u4f3c\u4e8e HTML \u7684 <code><div></code> \u5bb9\u5668\uff0c\u4f46<strong>\u4e0d\u80fd</strong>\u76f4\u63a5\u5728\u91cc\u9762\u6dfb\u52a0\u6587\u672c\uff08\u5b57\u7b26\u4e32\uff09\uff0c\u5982\u679c\u8981\u5c55\u793a\u6587\u672c\uff0c\u5e94\u8be5\u4f7f\u7528 <code><text></code> \u7ec4\u4ef6\u3002\u5386\u53f2\u7248\u672c\u4e2d\uff0c<code><div></code> \u522b\u540d\u662f <code><container></code>\uff0c\u76ee\u524d<strong>\u5df2\u7ecf\u5f03\u7528</strong>\u3002</p>
<p><strong>\u6ce8\u610f\uff1a</strong></p>
@@ -1133,7 +1106,7 @@
<a href="/v-0.10/references/components/div.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/div.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/div.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/image.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/image.html b/content/cn/v-0.10/references/components/image.html
index 3b3b175..23e1b16 100644
--- a/content/cn/v-0.10/references/components/image.html
+++ b/content/cn/v-0.10/references/components/image.html
@@ -5,49 +5,6 @@
<title><image> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;image&gt;&lt;image&gt; \u7ec4\u4ef6\u7528\u4e8e\u6e32\u67d3\u56fe\u7247\uff0c\u5e76\u4e14\u5b83\u4e0d\u80fd\u5305\u542b\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002\u53ef\u4ee5\u7528 &lt;img&gt; \u4f5c\u7b80\u5199\u3002
\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u9700\u8981\u660e\u786e\u6307\u5b9a width \u548c height\uff0c\u5426\u5219\u56fe\u7247\u65e0\u6cd5\u663e\u793a\u3002
\u7b80\u5355\u4f8b\u5b50\uff1a
@@ -62,7 +19,7 @@
&lt;template&gt; &lt;div&gt; &lt;img style="width: 560;height: 560;" src="https:/">
<meta property="og:image" content="https://weex.apache.org/../images/image_1.jpg">
<meta property="og:image" content="https://weex.apache.org/../images/image_2.jpg">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<image>">
<meta name="twitter:description" content="&lt;image&gt;&lt;image&gt; \u7ec4\u4ef6\u7528\u4e8e\u6e32\u67d3\u56fe\u7247\uff0c\u5e76\u4e14\u5b83\u4e0d\u80fd\u5305\u542b\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002\u53ef\u4ee5\u7528 &lt;img&gt; \u4f5c\u7b80\u5199\u3002
@@ -127,13 +84,29 @@
<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"/>
+ <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="/v-0.10/references/components/image.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/image.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -150,7 +123,7 @@
<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"/>
+ <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">
@@ -451,11 +424,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -487,11 +460,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -907,11 +880,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -943,11 +916,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1075,7 +1048,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-image-gt"><a href="#lt-image-gt" class="headerlink" title="<image>"></a><image></h1><p><code><image></code> \u7ec4\u4ef6\u7528\u4e8e\u6e32\u67d3\u56fe\u7247\uff0c\u5e76\u4e14\u5b83\u4e0d\u80fd\u5305\u542b\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002\u53ef\u4ee5\u7528 <code><img></code> \u4f5c\u7b80\u5199\u3002</p>
<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u9700\u8981\u660e\u786e\u6307\u5b9a <code>width</code> \u548c <code>height</code>\uff0c\u5426\u5219\u56fe\u7247\u65e0\u6cd5\u663e\u793a\u3002</p>
@@ -1156,7 +1129,7 @@
<a href="/v-0.10/references/components/image.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/image.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/image.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/index.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/index.html b/content/cn/v-0.10/references/components/index.html
index 918be3c..6fbc870 100644
--- a/content/cn/v-0.10/references/components/index.html
+++ b/content/cn/v-0.10/references/components/index.html
@@ -5,49 +5,6 @@
<title>\u5185\u5efa\u7ec4\u4ef6 | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="\u5185\u5efa\u7ec4\u4ef6
&lt;a&gt;
&lt;indicator&gt;
@@ -80,7 +37,7 @@
&lt;list&gt;
&lt;cell&gt;
&lt;refresh&gt; &amp; &lt;load">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="\u5185\u5efa\u7ec4\u4ef6">
<meta name="twitter:description" content="\u5185\u5efa\u7ec4\u4ef6
@@ -154,13 +111,29 @@
<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"/>
+ <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="/v-0.10/references/components/index.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/index.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -177,7 +150,7 @@
<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"/>
+ <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">
@@ -478,11 +451,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -514,11 +487,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -934,11 +907,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -970,11 +943,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1102,7 +1075,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="\u5185\u5efa\u7ec4\u4ef6"><a href="#\u5185\u5efa\u7ec4\u4ef6" class="headerlink" title="\u5185\u5efa\u7ec4\u4ef6"></a>\u5185\u5efa\u7ec4\u4ef6</h1><ul>
<li><a href="./a.html"><a></a></li>
@@ -1142,7 +1115,7 @@
<a href="/v-0.10/references/components/index.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/index.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/index.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/indicator.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/indicator.html b/content/cn/v-0.10/references/components/indicator.html
index 0d2611d..6a844ae 100644
--- a/content/cn/v-0.10/references/components/indicator.html
+++ b/content/cn/v-0.10/references/components/indicator.html
@@ -5,49 +5,6 @@
<title><indicator> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;indicator&gt;&lt;indicator&gt; \u7ec4\u4ef6\u7528\u4e8e\u663e\u793a\u8f6e\u64ad\u56fe\u6307\u793a\u5668\u6548\u679c\uff0c\u5fc5\u987b\u5145\u5f53 &lt;slider&gt; \u7ec4\u4ef6\u7684\u5b50\u7ec4\u4ef6\u4f7f\u7528\u3002
\u5b50\u7ec4\u4ef6&lt;indicator&gt; \u7ec4\u4ef6\u6ca1\u6709\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002
\u6837\u5f0f&lt;indicator&gt; \u7ec4\u4ef6\u6709\u4e00\u4e9b\u79c1\u6709\u6837\u5f0f\uff0c\u5982\u4e0b\uff1a
@@ -62,7 +19,7 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
\u6837\u5f0f&lt;indicator&gt; \u7ec4\u4ef6\u6709\u4e00\u4e9b\u79c1\u6709\u6837\u5f0f\uff0c\u5982\u4e0b\uff1a
item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red\uff1b\u4e5f\u53ef\u4ee5\u662f 16 \u8fdb\u5236\u7684">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<indicator>">
<meta name="twitter:description" content="&lt;indicator&gt;&lt;indicator&gt; \u7ec4\u4ef6\u7528\u4e8e\u663e\u793a\u8f6e\u64ad\u56fe\u6307\u793a\u5668\u6548\u679c\uff0c\u5fc5\u987b\u5145\u5f53 &lt;slider&gt; \u7ec4\u4ef6\u7684\u5b50\u7ec4\u4ef6\u4f7f\u7528\u3002
@@ -127,13 +84,29 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
<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"/>
+ <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="/v-0.10/references/components/indicator.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/indicator.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -150,7 +123,7 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
<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"/>
+ <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">
@@ -451,11 +424,11 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link current "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link current "><indicator></a>
</li>
<li>
@@ -487,11 +460,11 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -907,11 +880,11 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link current "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link current "><indicator></a>
</li>
<li>
@@ -943,11 +916,11 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1075,7 +1048,7 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-indicator-gt"><a href="#lt-indicator-gt" class="headerlink" title="<indicator>"></a><indicator></h1><p><code><indicator></code> \u7ec4\u4ef6\u7528\u4e8e\u663e\u793a\u8f6e\u64ad\u56fe\u6307\u793a\u5668\u6548\u679c\uff0c\u5fc5\u987b\u5145\u5f53 <a href="./slider.html"><code><slider></code></a> \u7ec4\u4ef6\u7684\u5b50\u7ec4\u4ef6\u4f7f\u7528\u3002</p>
<h2 id="\u5b50\u7ec4\u4ef6"><a href="#\u5b50\u7ec4\u4ef6" class="headerlink" title="\u5b50\u7ec4\u4ef6"></a>\u5b50\u7ec4\u4ef6</h2><p><code><indicator></code> \u7ec4\u4ef6\u6ca1\u6709\u4efb\u4f55\u5b50\u7ec4\u4ef6\u3002</p>
@@ -1136,7 +1109,7 @@ item-color {color}\uff1a\u8bbe\u7f6e\u9879\u7684\u989c\u8272\uff0c\u53ef\u4ee5\u662f\u989c\u8272\u7684\u540d\u79f0\uff0c\u4f8b\u5982 red
<a href="/v-0.10/references/components/indicator.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/indicator.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/input.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/input.html b/content/cn/v-0.10/references/components/input.html
index 3f80b62..7f3c44a 100644
--- a/content/cn/v-0.10/references/components/input.html
+++ b/content/cn/v-0.10/references/components/input.html
@@ -5,49 +5,6 @@
<title><input> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;input&gt;Weex \u5185\u7f6e\u7684 &lt;input&gt; \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4\u4ef6\u3002 &lt;input&gt; \u7ec4\u4ef6\u7684\u5de5\u4f5c\u65b9\u5f0f\u56e0 type \u5c5e\u6027\u7684\u503c\u800c\u5f02\uff0c\u6bd4\u5982 &lt;text&gt;\uff0c password\uff0curl\uff0cemail\uff0ctel \u7b49\u3002
\u6ce8\u610f\uff1a
\u6b64\u7ec4\u4ef6\u4e0d\u652f\u6301 click \u4e8b\u4ef6\u3002\u8bf7\u76d1\u542c &lt;input&gt; \u6216 change \u6765\u4ee3\u66ff click \u4e8b\u4ef6\u3002
@@ -60,7 +17,7 @@
\u6ce8\u610f\uff1a
\u6b64\u7ec4\u4ef6\u4e0d\u652f\u6301 click \u4e8b\u4ef6\u3002\u8bf7\u76d1\u542c &lt;input&gt; \u6216 change \u6765\u4ee3\u66ff click \u4e8b\u4ef6\u3002
\u5b50\u7ec4\u4ef6">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<input>">
<meta name="twitter:description" content="&lt;input&gt;Weex \u5185\u7f6e\u7684 &lt;input&gt; \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4\u4ef6\u3002 &lt;input&gt; \u7ec4\u4ef6\u7684\u5de5\u4f5c\u65b9\u5f0f\u56e0 type \u5c5e\u6027\u7684\u503c\u800c\u5f02\uff0c\u6bd4\u5982 &lt;text&gt;\uff0c password\uff0curl\uff0cemail\uff0ctel \u7b49\u3002
@@ -124,13 +81,29 @@
<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"/>
+ <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="/v-0.10/references/components/input.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/input.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -147,7 +120,7 @@
<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"/>
+ <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">
@@ -448,11 +421,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -484,11 +457,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link current "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link current "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -904,11 +877,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -940,11 +913,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link current "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link current "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1072,7 +1045,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-input-gt"><a href="#lt-input-gt" class="headerlink" title="<input>"></a><input></h1><p>Weex \u5185\u7f6e\u7684 <code><input></code> \u7ec4\u4ef6\u7528\u6765\u521b\u5efa\u63a5\u6536\u7528\u6237\u8f93\u5165\u5b57\u7b26\u7684\u8f93\u5165\u7ec4\u4ef6\u3002 <code><input></code> \u7ec4\u4ef6\u7684\u5de5\u4f5c\u65b9\u5f0f\u56e0 <code>type</code> \u5c5e\u6027\u7684\u503c\u800c\u5f02\uff0c\u6bd4\u5982 <code><text></code>\uff0c <code>password</code>\uff0c<code>url</code>\uff0c<code>email</code>\uff0c<code>tel</code> \u7b49\u3002</p>
<p><strong>\u6ce8\u610f\uff1a</strong> </p>
@@ -1173,7 +1146,7 @@
<a href="/v-0.10/references/components/input.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/input.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/list.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/list.html b/content/cn/v-0.10/references/components/list.html
index 17d5c52..ed016e1 100644
--- a/content/cn/v-0.10/references/components/list.html
+++ b/content/cn/v-0.10/references/components/list.html
@@ -5,49 +5,6 @@
<title><list> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;list&gt;&lt;list&gt; \u7ec4\u4ef6\u662f\u63d0\u4f9b\u5782\u76f4\u5217\u8868\u529f\u80fd\u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u62e5\u6709\u5e73\u6ed1\u7684\u6eda\u52a8\u548c\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u957f\u5217\u8868\u7684\u5c55\u793a\u3002\u6700\u7b80\u5355\u7684\u4f7f\u7528\u65b9\u6cd5\u662f\u5728 &lt;list&gt; \u6807\u7b7e\u5185\u4f7f\u7528\u4e00\u7ec4\u7531\u7b80\u5355\u6570\u7ec4 repeat \u751f\u6210\u7684 &lt;cell&gt; \u6807\u7b7e\u586b\u5145\u3002
\u4e00\u4e2a\u6700\u7b80\u4f8b\u5b50\uff1a
&lt;template&gt; &lt;list class="list"&gt; &lt;cel">
@@ -60,7 +17,7 @@
&lt;template&gt; &lt;list class="list"&gt; &lt;cel">
<meta property="og:image" content="https://weex.apache.org/../images/list_2.jpg">
<meta property="og:image" content="https://weex.apache.org/../images/list_4.jpg">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<list>">
<meta name="twitter:description" content="&lt;list&gt;&lt;list&gt; \u7ec4\u4ef6\u662f\u63d0\u4f9b\u5782\u76f4\u5217\u8868\u529f\u80fd\u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u62e5\u6709\u5e73\u6ed1\u7684\u6eda\u52a8\u548c\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u957f\u5217\u8868\u7684\u5c55\u793a\u3002\u6700\u7b80\u5355\u7684\u4f7f\u7528\u65b9\u6cd5\u662f\u5728 &lt;list&gt; \u6807\u7b7e\u5185\u4f7f\u7528\u4e00\u7ec4\u7531\u7b80\u5355\u6570\u7ec4 repeat \u751f\u6210\u7684 &lt;cell&gt; \u6807\u7b7e\u586b\u5145\u3002
@@ -124,13 +81,29 @@
<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"/>
+ <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="/v-0.10/references/components/list.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/list.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -147,7 +120,7 @@
<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"/>
+ <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">
@@ -448,11 +421,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -484,11 +457,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link current "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link current "><list></a>
</li>
<li>
@@ -904,11 +877,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -940,11 +913,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link current "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link current "><list></a>
</li>
<li>
@@ -1072,7 +1045,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-list-gt"><a href="#lt-list-gt" class="headerlink" title="<list>"></a><list></h1><p><code><list></code> \u7ec4\u4ef6\u662f\u63d0\u4f9b\u5782\u76f4\u5217\u8868\u529f\u80fd\u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u62e5\u6709\u5e73\u6ed1\u7684\u6eda\u52a8\u548c\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u957f\u5217\u8868\u7684\u5c55\u793a\u3002\u6700\u7b80\u5355\u7684\u4f7f\u7528\u65b9\u6cd5\u662f\u5728 <code><list></code> \u6807\u7b7e\u5185\u4f7f\u7528\u4e00\u7ec4\u7531\u7b80\u5355\u6570\u7ec4 <code>repeat</code> \u751f\u6210\u7684 <code><cell></code> \u6807\u7b7e\u586b\u5145\u3002</p>
<p>\u4e00\u4e2a\u6700\u7b80\u4f8b\u5b50\uff1a</p>
@@ -1173,7 +1146,7 @@
<a href="/v-0.10/references/components/list.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/list.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/loading.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/loading.html b/content/cn/v-0.10/references/components/loading.html
index ca6f1b1..8150e51 100644
--- a/content/cn/v-0.10/references/components/loading.html
+++ b/content/cn/v-0.10/references/components/loading.html
@@ -5,49 +5,6 @@
<title><loading> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;loading&gt;v0.6.1+
&lt;loading&gt; \u4e3a &lt;scroller&gt; \u548c &lt;list&gt; \u63d0\u4f9b\u4e0a\u62c9\u52a0\u8f7d\u529f\u80fd\u3002\u7528\u6cd5\u4e0e\u7279\u6027\u4e0e &lt;refresh&gt; \u7c7b\u4f3c\uff0c \u662f &lt;scroller&gt; \u548c &lt;list&gt; \u7684\u5b50\u7ec4\u4ef6\uff0c\u4e14\u53ea\u80fd\u5728\u88ab &lt;scroller&gt; \u548c &lt;list&gt; \u5305\u542b\u65f6\u624d\u80fd\u88ab\u6b63\u786e\u7684\u6e32\u67d3\u3002
\u5b50">
@@ -58,7 +15,7 @@
<meta property="og:description" content="&lt;loading&gt;v0.6.1+
&lt;loading&gt; \u4e3a &lt;scroller&gt; \u548c &lt;list&gt; \u63d0\u4f9b\u4e0a\u62c9\u52a0\u8f7d\u529f\u80fd\u3002\u7528\u6cd5\u4e0e\u7279\u6027\u4e0e &lt;refresh&gt; \u7c7b\u4f3c\uff0c \u662f &lt;scroller&gt; \u548c &lt;list&gt; \u7684\u5b50\u7ec4\u4ef6\uff0c\u4e14\u53ea\u80fd\u5728\u88ab &lt;scroller&gt; \u548c &lt;list&gt; \u5305\u542b\u65f6\u624d\u80fd\u88ab\u6b63\u786e\u7684\u6e32\u67d3\u3002
\u5b50">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<loading>">
<meta name="twitter:description" content="&lt;loading&gt;v0.6.1+
@@ -121,13 +78,29 @@
<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"/>
+ <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="/v-0.10/references/components/loading.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/loading.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -144,7 +117,7 @@
<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"/>
+ <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">
@@ -445,11 +418,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -481,11 +454,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -901,11 +874,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -937,11 +910,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1069,7 +1042,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-loading-gt"><a href="#lt-loading-gt" class="headerlink" title="<loading>"></a><loading></h1><p><span class="weex-version">v0.6.1+</span></p>
<p><code><loading></code> \u4e3a <code><scroller></code> \u548c <code><list></code> \u63d0\u4f9b\u4e0a\u62c9\u52a0\u8f7d\u529f\u80fd\u3002\u7528\u6cd5\u4e0e\u7279\u6027\u4e0e <code><refresh></code> \u7c7b\u4f3c\uff0c \u662f <code><scroller></code> \u548c <code><list></code> \u7684\u5b50\u7ec4\u4ef6\uff0c\u4e14\u53ea\u80fd\u5728\u88ab <code><scroller></code> \u548c <code><list></code> \u5305\u542b\u65f6\u624d\u80fd\u88ab\u6b63\u786e\u7684\u6e32\u67d3\u3002</p>
@@ -1129,7 +1102,7 @@
<a href="/v-0.10/references/components/loading.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/loading.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/loading.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/v-0.10/references/components/refresh.html
----------------------------------------------------------------------
diff --git a/content/cn/v-0.10/references/components/refresh.html b/content/cn/v-0.10/references/components/refresh.html
index ecfc957..1267391 100644
--- a/content/cn/v-0.10/references/components/refresh.html
+++ b/content/cn/v-0.10/references/components/refresh.html
@@ -5,49 +5,6 @@
<title><refresh> | Weex</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <script>
- ;(function(){
- var currentOrigin = location.origin,
- currentPathname = location.pathname,
- currentLang = navigator.language,
- selectedLang = '';
-
- if (!currentLang) {
- currentLang = navigator.browserLanguage;
- }
-
- if (window.sessionStorage) {
- selectedLang = window.sessionStorage.getItem('lang')
- }
-
- if (!selectedLang) {
- if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
- location.href = getUrl('cn', currentOrigin, currentPathname);
- } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
- location.href = getUrl('en', currentOrigin, currentPathname);
- }
- }
-
- function getUrl (lang, origin, path) {
- if (lang == 'en') {
- if (path.indexOf('/cn/') == 0) {
- return origin + path.substr(3)
- } else {
- return origin + path
- }
- } else {
- var langPath = '/' + lang + '/'
- var pathStart = path.indexOf(langPath)
-
- if (pathStart == 0) {
- return origin + path
- } else {
- return origin + langPath + path.substr(1)
- }
- }
- }
- })();
- </script>
<meta name="description" content="&lt;refresh&gt;v0.6.1+
&lt;refresh&gt; \u4e3a &lt;scroller&gt; \u548c &lt;list&gt; \u63d0\u4f9b\u4e0b\u62c9\u52a0\u8f7d\u529f\u80fd\u3002\u7528\u6cd5\u4e0e\u7279\u6027\u4e0e &lt;loading&gt; \u7c7b\u4f3c\uff0c&lt;scroller&gt; \u548c &lt;list&gt; \u7684\u5b50\u7ec4\u4ef6\uff0c\u4e14\u53ea\u80fd\u5728\u88ab &lt;scroller&gt; \u548c &lt;list&gt; \u5305\u542b\u65f6\u624d\u80fd\u88ab\u6b63\u786e\u7684\u6e32\u67d3\u3002
\u4e00\u4e2a\u7b80\u5355">
@@ -58,7 +15,7 @@
<meta property="og:description" content="&lt;refresh&gt;v0.6.1+
&lt;refresh&gt; \u4e3a &lt;scroller&gt; \u548c &lt;list&gt; \u63d0\u4f9b\u4e0b\u62c9\u52a0\u8f7d\u529f\u80fd\u3002\u7528\u6cd5\u4e0e\u7279\u6027\u4e0e &lt;loading&gt; \u7c7b\u4f3c\uff0c&lt;scroller&gt; \u548c &lt;list&gt; \u7684\u5b50\u7ec4\u4ef6\uff0c\u4e14\u53ea\u80fd\u5728\u88ab &lt;scroller&gt; \u548c &lt;list&gt; \u5305\u542b\u65f6\u624d\u80fd\u88ab\u6b63\u786e\u7684\u6e32\u67d3\u3002
\u4e00\u4e2a\u7b80\u5355">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<refresh>">
<meta name="twitter:description" content="&lt;refresh&gt;v0.6.1+
@@ -121,13 +78,29 @@
<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"/>
+ <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="/v-0.10/references/components/refresh.html" data-lang="en">English</a>
+ </li>
+ <li>
+ <a href="/cn/v-0.10/references/components/refresh.html" data-lang="zh-cn">\u4e2d\u6587</a>
+ </li>
+ </ul>
+ </div>
+ </li>
<!--<li></li>-->
</ul>
</div>
@@ -144,7 +117,7 @@
<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"/>
+ <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">
@@ -445,11 +418,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -481,11 +454,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -901,11 +874,11 @@
<ul class="chapter">
<li>
- <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
+ <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/a.html" class="sidebar-link "><a></a>
+ <a href="/cn/v-0.10/references/components/indicator.html" class="sidebar-link "><indicator></a>
</li>
<li>
@@ -937,11 +910,11 @@
</li>
<li>
- <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
+ <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/input.html" class="sidebar-link "><input></a>
+ <a href="/cn/v-0.10/references/components/list.html" class="sidebar-link "><list></a>
</li>
<li>
@@ -1069,7 +1042,7 @@
</h1>
- <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+ <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
</header>
<h1 id="lt-refresh-gt"><a href="#lt-refresh-gt" class="headerlink" title="<refresh>"></a><refresh></h1><p><span class="weex-version">v0.6.1+</span></p>
<p><code><refresh></code> \u4e3a <code><scroller></code> \u548c <code><list></code> \u63d0\u4f9b\u4e0b\u62c9\u52a0\u8f7d\u529f\u80fd\u3002\u7528\u6cd5\u4e0e\u7279\u6027\u4e0e <code><loading></code> \u7c7b\u4f3c\uff0c<code><scroller></code> \u548c <code><list></code> \u7684\u5b50\u7ec4\u4ef6\uff0c\u4e14\u53ea\u80fd\u5728\u88ab <code><scroller></code> \u548c <code><list></code> \u5305\u542b\u65f6\u624d\u80fd\u88ab\u6b63\u786e\u7684\u6e32\u67d3\u3002</p>
@@ -1133,7 +1106,7 @@
<a href="/v-0.10/references/components/refresh.html" data-lang="en">English</a>
</li>
<li>
- <a href="/cn/v-0.10/references/components/refresh.html" data-lang="cn">\u4e2d\u6587</a>
+ <a href="/cn/v-0.10/references/components/refresh.html" data-lang="zh-cn">\u4e2d\u6587</a>
</li>
</ul>
</div>