<template>
  <div class="myproject">
    <pic :config='config'/>
  </div>
</template>
<script>
/**
 * module:配置参数，调用图片轮播组件的demo
 * author:lwt
 */
import pic from '../../src/components/rotationPicture/rotationPicture'
export default {
  name: 'Myproject',
  props: {
  },
  components: {
    pic
  },
  data () {
    return {
      config: {
        isRotation: false, // 是否自动播放轮播
        isShowIcom: false, // 是否显示左右图标
        speed: 1000, // 图片切换时间间隔
        data: [
          { src: './lwt-vue-components/default/assets/rotationPicture/noData.png' },
          { src: './lwt-vue-components/default/assets/rotationPicture/noData.png' },
          { src: './lwt-vue-components/default/assets/rotationPicture/noData.png' },
          { src: './lwt-vue-components/default/assets/rotationPicture/noData.png' },
          { src: './lwt-vue-components/default/assets/rotationPicture/noData.png' }
        ],
        // data: [],
        dico: 0
      }
    }
  },
  computed: {

  },
  created () {

  },
  mounted () {

  },
  beforeDestroy () {
  },
  methods: {

  }
}
</script>

<style lang="scss">
  .myproject{
    height: 300px;width: 400px;
  }
</style>
