<template> | |
<image class="slider-item" src="{{image}}"></image> | |
</template> | |
<script> | |
module.exports = { | |
data: { | |
image: '', | |
link: '', | |
href: '' | |
}, | |
methods: { | |
ready: function() { | |
this.href = this.link; | |
} | |
} | |
}; | |
</script> | |
<style> | |
.slider-item { | |
width: 348px; | |
height: 400px; | |
} | |
</style> |