yxbanner

功能描述

该模块封装了app首页常用的banner图调用

依赖模块

vant、swiper、vue

快速使用

function initVue() { 'use strict'; window.rootVue = new Vue({ el: '#rootWrap', data: { // 自动播放时间 autoTime: 2000, banner: [{ "image": "http://ryxy.oss-cn-beijing.aliyuncs.com/upload/20190819/s8sers0mt2hj2q8o73drk77ums.png", }, { "image": "http://ryxy.oss-cn-beijing.aliyuncs.com/upload/20190819/u29k9aialeh1srus6le2qooura.png", }, { "image": "http://ryxy.oss-cn-beijing.aliyuncs.com/upload/20190828/659hc3dlpqghgqgcksurh8kqu8.png", }], },

      created: function() {},

      methods: {},

      mounted: function() {

      },
  })

}