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/04/17 04:14:51 UTC

[36/48] incubator-weex git commit: *[doc] update demo

*[doc] update demo

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/85a2578d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/85a2578d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/85a2578d

Branch: refs/heads/0.12-dev
Commit: 85a2578d12dec76f3158dbe51581cb3c4b411bf7
Parents: 38d06f3
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 15:37:23 2017 +0800
Committer: GitHub <no...@github.com>
Committed: Mon Apr 10 15:37:23 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/common-style.md | 58 +++++++++++++--------------
 1 file changed, 29 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/85a2578d/doc/source/cn/references/common-style.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/common-style.md b/doc/source/cn/references/common-style.md
index c01c55e..f3e84f7 100644
--- a/doc/source/cn/references/common-style.md
+++ b/doc/source/cn/references/common-style.md
@@ -471,42 +471,42 @@ Weex \u652f\u6301\u9634\u5f71\u5c5e\u6027\uff1a`active`, `focus`, `disabled`, `enabled` `inset(\u53ef\u9009
 
 ```html
 <template>
-    <div class="wrapper">
-        <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
-        <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
-            <text class="title" style="text-align: center">Hello {{target}}</text>
-        </div>
+  <div class="wrapper">
+    <div style="width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px rgb(255, 69, 0);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow: 20px  10px 5px rgba(255, 69, 0, 0.8);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgba(255, 69, 0, 0.8);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
     </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:inset 20px  10px 5px rgb(255, 69, 0);">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px black;">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+    <div style="margin-top: 80px;width:400px; height:60px;background-color: #FFE4C4; box-shadow:20px  10px 5px #008B00;">
+      <text class="title" style="text-align: center">Hello {{target}}</text>
+    </div>
+  </div>
 </template>
 
 <style scoped>
-    .wrapper {align-items: center; margin-top: 120px;}
-    .title {font-size: 48px;}
+  .wrapper {align-items: center; margin-top: 120px;}
+  .title {font-size: 48px;}
 </style>
 
 <script>
-    module.exports = {
-        data: function () {
-            return {
-                logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
-                target: 'World'
-            };
-        }
-    };
+  module.exports = {
+    data: function () {
+      return {
+        logoUrl: 'https://alibaba.github.io/weex/img/weex_logo_blue@3x.png',
+        target: 'World'
+      };
+    }
+  };
 </script>
 ```