<template>
	<view>
		<view class="icon_list">
			<view class="list_item">
				<view class="item" @click="go_video()">
					<view class="item_icon">
						<image src="./icon/p_icon_1.png" mode=""></image>
					</view>
					<view class="item_name">
						视频监控
					</view>
				</view>
				<view class="item" @click="go_orientation()">
					<view class="item_icon">
						<image src="./icon/p_icon_2.png" mode=""></image>
					</view>
					<view class="item_name">
						人员定位
					</view>
				</view>
				<view class="item" @click="go_safety()">
					<view class="item_icon">
						<image src="./icon/p_icon_3.png" mode=""></image>
					</view>
					<view class="item_name">
						安全监测
					</view>
				</view>
				<view class="item">
					<view class="item_icon">
						<image src="./icon/p_icon_4.png" mode=""></image>
					</view>
					<view class="item_name">
						安全监测
					</view>
				</view>
				<view class="item" @click="go_statistics()">
					<view class="item_icon">
						<image src="./icon/p_icon_5.png" mode=""></image>
					</view>
					<view class="item_name">
						生产统计
					</view>
				</view>
				<view class="item">
					<view class="item_icon">
						<image src="./icon/p_icon_6.png" mode=""></image>
					</view>
					<view class="item_name">
						生产统计
					</view>
				</view>
				<view class="item" @click="go_shebei()">
					<view class="item_icon">
						<image src="./icon/p_icon_7.png" mode=""></image>
					</view>
					<view class="item_name">
						设备监控
					</view>
				</view>
				<view class="item" @click="go_power()">
					<view class="item_icon">
						<image src="./icon/p_icon_8.png" mode=""></image>
					</view>
					<view class="item_name">
						电力监控
					</view>
				</view>
				<view class="item" @click="go_fan()">
					<view class="item_icon">
						<image src="./icon/p_icon_9.png" mode=""></image>
					</view>
					<view class="item_name">
						风机监控
					</view>
				</view>
				<view class="item" @click="go_well()">
					<view class="item_icon">
						<image src="./icon/p_icon_10.png" mode=""></image>
					</view>
					<view class="item_name">
						矿井水处理
					</view>
				</view>
				<view class="item" @click="go_704()">
					<view class="item_icon">
						<image src="./icon/p_icon_11.png" mode=""></image>
					</view>
					<view class="item_name">
						704工作面
					</view>
				</view>
				<view class="item" @click="go_vehicle()">
					<view class="item_icon">
						<image src="./icon/p_icon_12.png" mode=""></image>
					</view>
					<view class="item_name">
						胶轮车监控
					</view>
				</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			go_orientation(){
				uni.navigateTo({
					url:"../../p-i-orientation/p-i-orientation",
					animationType:"fade-in",
					animationDuration:300
				})
			},
			go_safety(){
				uni.navigateTo({
					url:"../../p-i-safety-monitoring/p-i-safety-monitoring",
					animationType:"fade-in",
					animationDuration:300
				})
			},
			go_power(){
				uni.navigateTo({
					url:"../../p-i-power/p-i-power"
				})
			},
			go_video(){
				uni.navigateTo({
					url:"../../p-i-video/p-i-video",
					animationType:"fade-in",
					animationDuration:300
				})
			},
			go_statistics(){
				uni.navigateTo({
					url:"../../p-i-statistics/p-i-statistics",
					animationType:"fade-in",
					animationDuration:300
				})
			},
			go_shebei(){
				uni.navigateTo({
					url:"../../p-i-shebei/p-i-shebei",
					animationType:"fade-in",
					animationDuration:300
				})
			},
			go_fan(){
				uni.navigateTo({
					url:"../../p-i-fan/p-i-fan",
					animationType:"fade-in",
					animationDuration:300
				})
			},
			go_well(){
				uni.navigateTo({
					url:"../../p-i-well/p-i-well"
				})
			},
			go_704(){
				uni.navigateTo({
					url:"../../p-i-704/p-i-704"
				})
			},
			go_vehicle(){
				uni.navigateTo({
					url:"../../p-i-vehicle/p-i-vehicle"
				})
			},
			
			
		}
	}
</script>

<style lang="scss">
	.icon_list{
		box-sizing: border-box;
		padding: 25rpx;
		background-color: #fff;
		overflow: hidden;
		margin-top: 12rpx;
		box-shadow: 0px 3rpx 29rpx 0px rgba(59, 74, 116, 0.14);
		border-radius: 21rpx;
		.list_item{
			
			.item{
				margin-bottom: 37rpx;
				float: left;
				margin-right: 12rpx;
				width: 156rpx;
				text-align: center;
				.item_icon{
					image{
						width: 82rpx;
						height: 82rpx;
					}
				}
				.item_name{
					margin-top: 15rpx;
					
					height: 44rpx;
					font-size: 31rpx;
					font-family: PingFangSC-Regular, PingFang SC;
					font-weight: 400;
					color: #232627;
					line-height: 44rpx;


				}
			}
			.item:nth-child(4n){
				margin-right: 0;
			}
		}
	}
</style>
