vue.js做轮播图只需三步第一步,<template>写入
<template>
<view id = "app">
<view class="imgItems" @mouseover = "onmouseover" @mouseup="onmouseup" >
<image src="../../static/img/1.png" alt="" class="img indexZ"></image>
<image src="../../static/img/2.png" alt="" class="img"></image>
<image src="../../static/img/3.png" alt="" class="img"></image>
</view>
</view>
</template>
第二步,<script>写入
export default {
// el:"app",
props:{
title:{
default:"",
type:St