cube-slide 구성 요소의 응용

4297 단어
<template>
  <div>
    <cube-slide :data="items"/>
  div>
template>

<script>
export default {
  data(){
    return {
      items: [
        {
          url: 'https://www.baidu.com/',
          image:  require('../assets/img/img_main_1.png')
        },
        {
          url: 'https://www.baidu.com/',
          image: require('../assets/img/img_main_2.png')
        },
        {
          url: 'https://www.baidu.com/',
          image: require('../assets/img/img_main_3.png')
        }
      ]
    }
  },
  methods:{

  }
}
script>

<style>
img{
  width: 100%;
}
style>

좋은 웹페이지 즐겨찾기