You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by fk...@apache.org on 2017/04/12 08:27:56 UTC

[13/17] incubator-weex git commit: * [html5] fix hello.vue

* [html5] fix hello.vue


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

Branch: refs/heads/0.11-dev
Commit: 8170283e78f85b4969a71518418a4220276f1005
Parents: 8e6d31d
Author: MrRaindrop <te...@gmail.com>
Authored: Mon Apr 10 16:43:05 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Mon Apr 10 16:43:05 2017 +0800

----------------------------------------------------------------------
 examples/vue/hello.vue | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8170283e/examples/vue/hello.vue
----------------------------------------------------------------------
diff --git a/examples/vue/hello.vue b/examples/vue/hello.vue
index 0004900..462ccd9 100644
--- a/examples/vue/hello.vue
+++ b/examples/vue/hello.vue
@@ -1,23 +1,5 @@
 <template>
   <div>
-    <div ref="foo" :style="{height: '200px'}" class="ct"></div>
+    <text style="font-size: 100px;">Hello World.</text>
   </div>
 </template>
-
-<style scoped>
-.ct {
-  width: 200px;
-  flex: 1;
-  flex-direction: row;
-  transform: translate3d(100px, 100px, 0);
-  background-color: red;
-}
-</style>
-
-<script>
-  module.exports = {
-    mounted () {
-      console.log(this.$refs.foo.$el)
-    }
-  }
-</script>