Skip to content

基于vue的滑动tab,开源不易,如果不错可以点个星星

Notifications You must be signed in to change notification settings

mySkey/vue-scroll-tab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

# 这就是一个vue的组件,直接引入

# 父组件如下使用
<style scoped>

</style>

<template>
  <div>
    <ScrollTab :titleArr="list">
      <div slot="item1">11</div>
      <div slot="item2">222</div>
      <div slot="item3">333</div>
    </ScrollTab>
  </div>
</template>

<script>
import ScrollTab from './ScorllTab.vue'
export default {
  components:{ScrollTab},
  data () {
    return{
      list:['第一页','第二页','第三页']
    }
  }
}
</script>

#可设置height

#也可以自己修改源码

About

基于vue的滑动tab,开源不易,如果不错可以点个星星

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages