<template>
	<view>
		<view class="section">
			<view class="box">
				<view class="title">
					<view class="icon"></view>
					<view class="name">工业电视</view>
					<view class="right" @click="go_video()"></view>
				</view>
				<view class="content">
					<view class="list_item">
						<view class="item">
							<view class="icon">
								<image src="./icon/icon_1.png" mode=""></image>
							</view>
							<view class="name">220704风巷</view>
						</view>
						<view class="item">
							<view class="icon">
								<image src="./icon/icon_1.png" mode=""></image>
							</view>
							<view class="name">220704风巷</view>
						</view>
						<view class="item">
							<view class="icon">
								<image src="./icon/icon_1.png" mode=""></image>
							</view>
							<view class="name">220704风巷</view>
						</view>
						<view class="item">
							<view class="icon">
								<image src="./icon/icon_1.png" mode=""></image>
							</view>
							<view class="name">220704风巷</view>
						</view>
						<view class="item">
							<view class="icon">
								<image src="./icon/icon_1.png" mode=""></image>
							</view>
							<view class="name">220704风巷</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			go_video(){
				uni.navigateTo({
					url:"../../pages/p-i-video/p-i-video"
				})
			}
		}
	}
</script>

<style lang="scss">
	.section{
		margin-top: 10rpx;
		
		.box{
			background: #FFFFFF;
			box-shadow: 0px 3rpx 30rpx 0px rgba(59, 74, 116, 0.14);
			border-radius: 21rpx;
	
			.title{
				position: relative;
				width: 720rpx;
				
				display: flex;
				justify-content: center;
				align-items: center;
				border-bottom: 2rpx solid #f3f3f3;
				.icon{
					width: 42rpx;
					height: 42rpx;
					
					background-image: url(icon/icon.png);
					background-size: cover;
					background-repeat: no-repeat;
				}
				.name{
					margin-left: 10rpx;
					font-size: 32rpx;
					font-family: PingFangSC-Medium, PingFang SC;
					font-weight: 500;
					color: #232627;
					line-height: 100rpx;
				}
				.right{
					position: absolute;
					right: 20rpx;
					
					width: 42rpx;
					height: 42rpx;
					
					background-image: url(icon/right.png);
					background-size: cover;
					background-repeat: no-repeat;
				}
			}
			.content{
				.list_item{
					overflow: hidden;
					margin-top: 38rpx;
					box-sizing: border-box;
					padding: 0 25rpx;
					.item{
						float: left;
						margin-right: 32rpx;
						margin-bottom: 32rpx;
						width: 202rpx;
						text-align: center;
						.icon{
							image{
								width: 108rpx;
								height: 108rpx;
							}
						}
						.name{
							margin-top: 28rpx;
							font-size: 25rpx;
							font-family: PingFangSC-Medium, PingFang SC;
							font-weight: 500;
							color: #455A64;
							line-height: 34rpx;

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