From 8612331300a4e3063f7d7f47edb966b1b58a176c Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 12 Jan 2018 17:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20tabs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tabs/index.js | 4 +-- components/tabs/index.vue | 35 ++++++++++--------- .../tabs/{index.zh-CN => index.zh-CN.md} | 0 components/tabs/{ => src}/InkTabBar.vue | 0 components/tabs/{ => src}/InkTabBarMixin.js | 0 components/tabs/{ => src}/KeyCode.js | 0 .../tabs/{ => src}/ScrollableInkTabBar.vue | 3 +- .../tabs/{ => src}/ScrollableTabBar.vue | 3 +- .../tabs/{ => src}/ScrollableTabBarMixin.js | 6 ++-- components/tabs/{ => src}/TabBar.vue | 13 ++----- components/tabs/{ => src}/TabBarMixin.js | 15 +++----- components/tabs/{ => src}/TabContent.vue | 0 components/tabs/{ => src}/TabPane.vue | 0 components/tabs/{ => src}/Tabs.vue | 31 +++++++++------- components/tabs/{ => src}/utils.js | 0 15 files changed, 51 insertions(+), 59 deletions(-) rename components/tabs/{index.zh-CN => index.zh-CN.md} (100%) rename components/tabs/{ => src}/InkTabBar.vue (100%) rename components/tabs/{ => src}/InkTabBarMixin.js (100%) rename components/tabs/{ => src}/KeyCode.js (100%) rename components/tabs/{ => src}/ScrollableInkTabBar.vue (77%) rename components/tabs/{ => src}/ScrollableTabBar.vue (78%) rename components/tabs/{ => src}/ScrollableTabBarMixin.js (97%) rename components/tabs/{ => src}/TabBar.vue (69%) rename components/tabs/{ => src}/TabBarMixin.js (94%) rename components/tabs/{ => src}/TabContent.vue (100%) rename components/tabs/{ => src}/TabPane.vue (100%) rename components/tabs/{ => src}/Tabs.vue (91%) rename components/tabs/{ => src}/utils.js (100%) diff --git a/components/tabs/index.js b/components/tabs/index.js index 087cc67eb..b91a2b6fb 100644 --- a/components/tabs/index.js +++ b/components/tabs/index.js @@ -1,6 +1,6 @@ import Tabs from './index.vue' -import TabPane from './TabPane' -import TabContent from './TabContent' +import TabPane from './src/TabPane' +import TabContent from './src/TabContent' Tabs.TabPane = TabPane export default Tabs export { TabPane, TabContent } diff --git a/components/tabs/index.vue b/components/tabs/index.vue index a4a82045c..aed9aa73b 100644 --- a/components/tabs/index.vue +++ b/components/tabs/index.vue @@ -1,5 +1,5 @@