# 内容滑块
<e-sliderbox v-model="value" :list="list"></e-sliderbox>

<e-sliderbox v-model="value" :list="list">
  <template slot-scope="scope">{{scope.label}}</template>
</e-sliderbox>

<e-sliderbox v-model="value" :list="list" type="week">
  <template slot-scope="scope">
    label: {{scope.label}} <br/> value: {{scope.value}}
  </template>
</e-sliderbox>

```html
<template>
  <e-sliderbox v-model="value" :list="list"/>
  <e-sliderbox v-model="value" :list="list">
    <template slot-scope="scope">{{scope.label}}</template>
  </e-sliderbox>
  <e-sliderbox v-model="value" :list="list" type="week">
    <template slot-scope="scope">
      label: {{scope.label}} <br/> value: {{scope.value}}
    </template>
  </e-sliderbox>
</template>
<script>
  import ESliderbox from 'e-ui/Sliderbox'
  export default {
    components: {
      ESliderbox
    },
    data () {
      let list = []
      for (let i = 0; i < 10; i++){
        list.push({
          value: i,
          label: 'label-' + i
        })
      }
      return {
        list,
        value: {value: 0}
      }
    }
  }
</script>
```

### Props
| 参数      | 说明    | 类型      | 可选值       | 默认值   |
|---------- |-------- |---------- |------------- |--------- |
| height     | 高度   | string  |   -       |    -    |
| type     | 类型   | string  |   normal,week       |    normal    |
| slides     | 显示块数   | number  |   -       |    7    |
| list     | 数据集合,建议[{value,label}]   | array  |   -       |    -    |
| gutter     | 块的间距   | number  |   -       |    2    |
| value[v-model]     | 选中值,与list的value对应   | string,object  |   -       |    -    |

### Events
| 事件名称 | 说明 | 回调参数 |
|---------|--------|---------|
| change | 选中值发生改变 | - |

### Slots
| 名称 | 说明 | 
|---------|--------|
| default | - |
