//参考https://cn.vuejs.org/v2/guide/transitions.html
export default{
props:{//initInterval:每张图片轮播的间隔时间,默认3秒,单位秒
initInterval:{
type:Number,default:3},//imgList:需要轮播的图片集合
imgList:{
type:Array,default:function(){return[
{
img:'/static/images/hdimg/20120814204658.jpg'},
{
img:'/static/images/hdimg/20200827163501.jpg'},
{
img:'/static/images/hdimg/20200827163502.jpg'},
{
img:'/static/images/hdimg/20120814204733.jpg'},
{
img:'/static/images/hdimg/20200827163503.jpg'},
]
}
}