<template>		
	<top>
		<view slot="content" class="content">
			<view class="swipers">
				<u-swiper 
				:title="true" 
				border-radius="15"
				duration="1500"
				mode="dot"
				height="300"
				:list="imglist"></u-swiper>
			</view>
			
			<menu-bar :tabs="list" :currentPage="menuIndex"></menu-bar>
			<tab-bar :currentPage="2"></tab-bar>
		</view>
	</top>
	
</template>

<script>
	export default {
		onload(val){
			console.log(val)
			that.menuIndex = val.index
			// location.reload()
		},
		onShow() {
			var that = this
			console.log('before',that.menuIndex)
			that.menuIndex = uni.getStorageSync('menuIndex')?uni.getStorageSync('menuIndex'):0
			console.log('after',that.menuIndex)
			uni.removeStorageSync('menuIndex')
		},
		created() {
			
		},
		data() {
			return {
				menuIndex:0,
				imglist: [{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					image:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					image:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					image:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					image:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				}],
				list:[[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}],[{
					title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
					url:"",
					time:"2022-08-24"
				},{
					title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
					url:"",
					time:"2022-08-21"
				},{
					title:"全市公安系统功模代表座谈会召开",
					imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
					url:"",
					time:"2022-08-21"
				}]]
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped>
	.swipers{
		padding:40rpx;
		padding-bottom:0
		
	}
	.content{
		background-color: #fff;
	}
	.u-swiper-wrap{
		
		height:360rpx
	}
	/deep/ .swipers .u-swiper-title{
		padding-bottom: 10rpx !important;
	}
/* 	/deep/ .u-swiper-indicator{
		bottom: -40rpx !important;;
	} */
	/deep/ .u-indicator-item-dot{
		background-color: #fff;
		border: 1px solid #DB1B29;
		width:20rpx;
		height:20rpx;
	}
	/deep/ .u-indicator-item-dot-active{
		background-color: #DB1B29;
	}

</style>
