init Tabs component
init Tabs component
This commit is contained in:
parent
407eabd5c3
commit
871ed4d810
7 changed files with 60 additions and 103 deletions
5
src/components/tabs/index.js
Normal file
5
src/components/tabs/index.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import Tabs from './tabs.vue';
|
||||
import Pane from './pane.vue';
|
||||
|
||||
Tabs.Pane = Pane;
|
||||
export default Tabs;
|
13
src/components/tabs/pane.vue
Normal file
13
src/components/tabs/pane.vue
Normal file
|
@ -0,0 +1,13 @@
|
|||
<template>
|
||||
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {},
|
||||
data () {
|
||||
return {}
|
||||
},
|
||||
computed: {},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
13
src/components/tabs/tabs.vue
Normal file
13
src/components/tabs/tabs.vue
Normal file
|
@ -0,0 +1,13 @@
|
|||
<template>
|
||||
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {},
|
||||
data () {
|
||||
return {}
|
||||
},
|
||||
computed: {},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
|
@ -29,6 +29,7 @@ import Spin from './components/spin';
|
|||
import Steps from './components/steps';
|
||||
import Switch from './components/switch';
|
||||
import Table from './components/table';
|
||||
import Tabs from './components/tabs';
|
||||
import Tag from './components/tag';
|
||||
import Timeline from './components/timeline';
|
||||
import Tooltip from './components/tooltip';
|
||||
|
@ -78,6 +79,8 @@ const iview = {
|
|||
Steps,
|
||||
Switch,
|
||||
iTable: Table,
|
||||
Tabs: Tabs,
|
||||
TabPane: Tabs.Pane,
|
||||
Tag,
|
||||
Timeline,
|
||||
TimelineItem: Timeline.Item,
|
||||
|
|
|
@ -29,4 +29,5 @@
|
|||
@import "cascader";
|
||||
@import "transfer";
|
||||
@import "table";
|
||||
@import "dropdown";
|
||||
@import "dropdown";
|
||||
@import "tabs";
|
1
src/styles/components/tabs.less
Normal file
1
src/styles/components/tabs.less
Normal file
|
@ -0,0 +1 @@
|
|||
@tabs-prefix-cls: ~"@{css-prefix}tabs";
|
Loading…
Add table
Add a link
Reference in a new issue