<template>
	<view class="content">
		
		<view class="item_box" style="background-color: #FBB47B;" @click="go_video_monitor()">
			<view class="img">
				<image src="../t-p-icon/icon_6.png" mode=""></image>
			</view>
			<view class="text">
				<view class="name">视频监控</view>
				<view class="tip">工业视频</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "t-p-xixuan",
		data() {
			return {
				mine_code:"xixuan",
				
			};
		},
		methods: {
			
			// 视频监控
			go_video_monitor(){
				uni.navigateTo({
					url:"../../production/video_monitor/video_monitor?mine_code=" + this.mine_code
				})
			}
		}
	}
</script>

<style lang="scss">
	.content {
		box-sizing: border-box;
		padding: 20rpx 25rpx 0;
		margin-bottom: 100rpx;

		overflow: hidden;
		.item_box {
			float: left;
			
			width: 220rpx;
			height: 280rpx;

			margin-right: 20rpx;
			margin-bottom: 20rpx;
			border-radius: 16rpx;

			.img {
				box-sizing: border-box;
				padding-top: 40rpx;
				text-align: center;

				image {
					width: 140rpx;
					height: 140rpx;
				}
			}

			.text {
				text-align: center;
				color: #FFFFFF;
				line-height: 40rpx;

				.name {
					font-size: 28rpx;
				}

				.tip {
					font-size: 24rpx;
					white-space: nowrap;
					overflow: hidden;
					text-overflow: ellipsis;
				}
			}
		}

		.item_box:nth-child(3n) {
			margin-right: 0;
		}

	}
</style>
