From 9f5e2c7e4db975933ff6e481a183d51db396cdfc Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 3 Jan 2017 16:18:21 +0800 Subject: [PATCH] update Form --- src/components/form/form-item.vue | 229 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- src/components/form/form.vue | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- test/app.vue | 1 + test/main.js | 7 ++++++- test/routers/form.vue | 17 +++++++++++++++++ 5 files changed, 324 insertions(+), 11 deletions(-) create mode 100644 test/routers/form.vue diff --git a/src/components/form/form-item.vue b/src/components/form/form-item.vue index 5bc4676..2ac5c5d 100644 --- a/src/components/form/form-item.vue +++ b/src/components/form/form-item.vue @@ -1,13 +1,232 @@ \ No newline at end of file diff --git a/src/components/form/form.vue b/src/components/form/form.vue index 5bc4676..d21d1c4 100644 --- a/src/components/form/form.vue +++ b/src/components/form/form.vue @@ -1,13 +1,84 @@ \ No newline at end of file diff --git a/test/app.vue b/test/app.vue index da70f42..3dfec76 100644 --- a/test/app.vue +++ b/test/app.vue @@ -46,6 +46,7 @@ li + li {
  • Tabs
  • Menu
  • Date
  • +
  • Form
  • diff --git a/test/main.js b/test/main.js index 2de4520..1531880 100644 --- a/test/main.js +++ b/test/main.js @@ -127,7 +127,12 @@ router.map({ component: function (resolve) { require(['./routers/date.vue'], resolve); } - } + }, + '/form': { + component: function (resolve) { + require(['./routers/form.vue'], resolve); + } + }, }); router.beforeEach(function () { diff --git a/test/routers/form.vue b/test/routers/form.vue new file mode 100644 index 0000000..6891a29 --- /dev/null +++ b/test/routers/form.vue @@ -0,0 +1,17 @@ + + \ No newline at end of file -- libgit2 0.21.4