From 09d9f7503e8d405abc1e7a1410d1b0b2ea162cfe Mon Sep 17 00:00:00 2001 From: cookfront Date: Sat, 1 Apr 2017 17:22:02 +0800 Subject: [PATCH] build docs --- docs/examples-dist/actionsheet.vue | 13 +++++++++- docs/examples-dist/swipe.vue | 2 +- docs/examples-dist/switch.vue | 38 +++++++++++++++++++++++------- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/docs/examples-dist/actionsheet.vue b/docs/examples-dist/actionsheet.vue index 7a2418f86..80300646d 100644 --- a/docs/examples-dist/actionsheet.vue +++ b/docs/examples-dist/actionsheet.vue @@ -5,6 +5,8 @@ + +
弹出带取消按钮的actionsheet @@ -12,6 +14,8 @@ + +
弹出带标题的actionsheet @@ -53,7 +57,8 @@ export default { actions1: [ { name: '微信安全支付', - className: 'actionsheet-wx' + className: 'actionsheet-wx', + callback: this.handleActionClick }, { name: '支付宝支付', @@ -71,6 +76,12 @@ export default { } ] }; + }, + + methods: { + handleActionClick(item) { + console.log(item); + } } } \ No newline at end of file diff --git a/docs/examples-dist/swipe.vue b/docs/examples-dist/swipe.vue index 4ddd3719d..1b417dab6 100644 --- a/docs/examples-dist/swipe.vue +++ b/docs/examples-dist/swipe.vue @@ -9,7 +9,7 @@ - + diff --git a/docs/examples-dist/switch.vue b/docs/examples-dist/switch.vue index bec31fbe1..0047ad4e9 100644 --- a/docs/examples-dist/switch.vue +++ b/docs/examples-dist/switch.vue @@ -1,24 +1,35 @@