<template>
	<view class="content">
		<view class="content-Swiper">
			<u-swiper :list="swiperList" height="585" :loading='loading'></u-swiper>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 轮播图图片未初始化时的加载状态
				loading:true,
				// 轮播图图片列表
				swiperList: [
					'https://cdn.uviewui.com/uview/swiper/swiper1.png',
					'https://cdn.uviewui.com/uview/swiper/swiper2.png',
					'https://cdn.uviewui.com/uview/swiper/swiper3.png',
				]
			};
		},
		mounted() {
			setTimeout(()=>{
				this['loading'] = false
			},2000)
		}
	}
</script>

<style lang="scss">

</style>
