From 5b19b5f55f0b1022c3bf5e7b7060534b2d9e3676 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 7 Mar 2017 15:06:38 +0800 Subject: [PATCH] support Transfer --- examples/app.vue | 1 + examples/main.js | 4 ++++ examples/routers/transfer.vue | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------- src/components/transfer/list.vue | 43 ++++++++++++++++++++++++++----------------- src/components/transfer/operation.vue | 5 +++-- src/components/transfer/search.vue | 38 +++++++++++++++++++++++++++----------- src/components/transfer/transfer.vue | 25 +++++++++++++++++-------- src/index.js | 4 ++-- 8 files changed, 198 insertions(+), 55 deletions(-) diff --git a/examples/app.vue b/examples/app.vue index 7863722..3e790f6 100644 --- a/examples/app.vue +++ b/examples/app.vue @@ -46,6 +46,7 @@ li + li { border-left: solid 1px #bbb; padding-left: 10px; margin-left: 10px; }
  • Select
  • Backtop
  • Page
  • +
  • Transfer
  • diff --git a/examples/main.js b/examples/main.js index 58b5d75..99accb3 100644 --- a/examples/main.js +++ b/examples/main.js @@ -148,6 +148,10 @@ const router = new VueRouter({ { path: '/page', component: require('./routers/page.vue') + }, + { + path: '/transfer', + component: require('./routers/transfer.vue') } ] }); diff --git a/examples/routers/transfer.vue b/examples/routers/transfer.vue index a8c0ba4..1b01bca 100644 --- a/examples/routers/transfer.vue +++ b/examples/routers/transfer.vue @@ -1,18 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/transfer/list.vue b/src/components/transfer/list.vue index 9f5fc8b..3e12bdf 100644 --- a/src/components/transfer/list.vue +++ b/src/components/transfer/list.vue @@ -1,7 +1,7 @@ diff --git a/src/components/transfer/operation.vue b/src/components/transfer/operation.vue index 06bdb37..9950c64 100644 --- a/src/components/transfer/operation.vue +++ b/src/components/transfer/operation.vue @@ -1,9 +1,9 @@