From 3d90f2a3c33095a3f930f4e3e609c7aa90a35295 Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Mon, 22 Aug 2016 17:42:04 +0800 Subject: [PATCH] component header --- examples/assets/styles/common.css | 7 +++- examples/components/header.vue | 67 +++++++++++++++++++++++++++++++ examples/pages/index.vue | 6 +++ 3 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 examples/components/header.vue create mode 100644 examples/pages/index.vue diff --git a/examples/assets/styles/common.css b/examples/assets/styles/common.css index de970e0b8..cba9f7bc5 100644 --- a/examples/assets/styles/common.css +++ b/examples/assets/styles/common.css @@ -85,4 +85,9 @@ display: none; } } -} \ No newline at end of file +} + +.container { + width: 960px; + margin: 0 auto; +} diff --git a/examples/components/header.vue b/examples/components/header.vue new file mode 100644 index 000000000..4bafda16b --- /dev/null +++ b/examples/components/header.vue @@ -0,0 +1,67 @@ + + + diff --git a/examples/pages/index.vue b/examples/pages/index.vue new file mode 100644 index 000000000..bc1dc8115 --- /dev/null +++ b/examples/pages/index.vue @@ -0,0 +1,6 @@ + +