<template>
	<view class="page">
		<image src="../../static/imgs/home_top.png" mode="widthFix" class="home_top"></image>
		<view class="content">
			<image src="../../static/imgs/home_title.png" mode="widthFix" class="title"></image>
			<view class="intro">
				合肥市传秀科技有限公司成立于<span>2013</span>年。公司专注于工业互联网平台及行业应用产品技术研发和服务，为<span>城市安全、零碳园区、智慧校园、智能工厂、行业数字化转型、大数据管理服务、专业化信息化运维服务等两化融合、两业融合等提供整体解决方案。</span>目前已服务于全国10+省级政府部门，50+制造（工业）园区，拥有20+化工、新材料、新能源等企业客户，沉淀了千万级工业互联网平台用户。以科技赋能“智”造 ，引领行业标杆，争做产业智慧化的领先者 ，智慧产业化的创新者！
			</view>
			<view class="solutions">
				<view class="s_header">
					<view class="sh_top">
						<image src="../../static/imgs/icon_home_left.png"></image>
						<p>产品服务</p>
						<image src="../../static/imgs/icon_home_right.png"></image>
					</view>
					<view class="sh_tip">以数赋智，为客户深挖更大价值</view>
				</view>
				<view class="list">
					<view class="item" v-for="(item,index) in solutionList" :key="index" @click="toTurn(item.path)">
						<image class="img" :src="item.img"></image>
						<view class="texts">
							<view class="name">{{item.name}}</view>
							<view class="memo">{{item.memo}}</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<tabbar :tabbarIndex="0"></tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				solutionList: [{
						img: '../../static/imgs/home_type1.png',
						name: 'FMCS厂务系统',
						memo: '提升工厂运营管理效率',
						path: '/pages/solution/fmcs'
					},
					{
						img: '../../static/imgs/home_type31.png',
						name: '智能化维保管理系统',
						memo: '解决维修、保养、点检管理…',
						path: '/pages/solution/zhwb'
					},
					{
						img: '../../static/imgs/home_type3.png',
						name: '智慧视频',
						memo: 'AI算法，视频安防管理更智能',
						path: '/pages/solution/smartVideo'
					},
					{
						img: '../../static/imgs/home_type4.png',
						name: '仓储管理平台',
						memo: '数字化智能仓储，一体化应…',
						path: '/pages/solution/zncc'
					},
					{
						img: '../../static/imgs/home_type30.png',
						name: '安灯系统',
						memo: '可快速实现设备异常自动呼…',
						path: '/pages/solution/lampSms'
					},
					{
						img: '../../static/imgs/home_type6.png',
						name: '智能排产系统',
						memo: '按需生产，精益制造，柔性…',
						path: '/pages/solution/znpc'
					},
					{
						img: '../../static/imgs/home_type14.png',
						name: '智慧能碳管理系统',
						memo: '智慧能耗/设备设施/…',
						path: '/pages/solution/zhnt'
					},
					{
						img: '../../static/imgs/home_type2.png',
						name: '智慧运维系统',
						memo: '设备管理、物联网安全',
						path: '/pages/solution/smartOpration'
					},
					{
						img: '../../static/imgs/home_type10.png',
						name: '零碳智慧园区解决方案',
						memo: '智慧安防/智慧消防/...',
						path: '/pages/solution/ltzhyq'
					},
					{
						img: '../../static/imgs/home_type7.png',
						name: '零碳智慧校园解决方案',
						memo: '智慧安防/智慧消防',
						path: '/pages/solution/ltzhxy'
					},
					{
						img: '../../static/imgs/home_type11.png',
						name: '智慧楼宇解决方案',
						memo: '智慧安防/设备设施',
						path: '/pages/solution/zhly'
					},
					{
						img: '../../static/imgs/home_type16.png',
						name: '空间数字孪生IOC解决方案',
						memo: '智慧安防/智慧消防/...',
						path: '/pages/solution/ioc'
					},
					// {
					// 	img: '../../static/imgs/home_type15.png',
					// 	name: '物流园区解决方案',
					// 	memo: '智慧安防/智慧消防'
					// },
					{
						img: '../../static/imgs/home_type22.png',
						name: '智慧停车业务运营解决方案',
						memo: '智慧通行',
						path: '/pages/solution/zhtc'
					},
					// {
					// 	img: '../../static/imgs/home_type19.png',
					// 	name: '智慧通行管理平台',
					// 	memo: '智慧通行'
					// },
					{
						img: '../../static/imgs/home_type24.png',
						name: '智慧消防综合解决方案',
						memo: '智慧消防/设备设施',
						path: '/pages/solution/zhxf'
					},
					// {
					// 	img: '../../static/imgs/home_type25.png',
					// 	name: '烟雾识别监测',
					// 	memo: 'AI智能/智慧安防/...'
					// },
					// {
					// 	img: '../../static/imgs/home_type26.png',
					// 	name: '区域人员密度超标告警',
					// 	memo: 'AI智能/智慧安防/社...'
					// },
					// {
					// 	img: '../../static/imgs/home_type27.png',
					// 	name: '人员跌倒监测解决方案',
					// 	memo: 'AI智能/智慧安防/社...'
					// },
					// {
					// 	img: '../../static/imgs/home_type28.png',
					// 	name: '人员区域入侵监测解决方案',
					// 	memo: 'AI智能/智慧安防/人...'
					// }
				]
			}
		},
		methods: {
			toTurn(url) {
				if (!url) return
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style scoped lang="less">
	.page {
		background: #E1EDFF;

		.home_top {
			width: 100%;
		}

		.content {
			width: 100%;
			padding: 0 24rpx;
			box-sizing: border-box;
			background: url(../../static/imgs/home_bg.png) no-repeat;
			background-position: top left;
			background-size: contain;
			display: flex;
			flex-direction: column;
			align-items: center;
			margin-top: -12rpx;

			.title {
				width: 288rpx;
			}

			.intro {
				margin-top: 16rpx;
				width: 100%;
				padding: 0 12rpx;
				box-sizing: border-box;
				font-family: PingFangSC, PingFang SC;
				font-weight: 400;
				font-size: 28rpx;
				color: #FFFFFF;
				line-height: 42rpx;
				text-align: justify;
				font-style: normal;
				text-indent: 2rem;
				letter-spacing: 2rpx;

				span {
					color: #67F1FF;
					font-weight: bold;
				}
			}

			.solutions {
				margin-top: 60rpx;
				display: flex;
				flex-direction: column;
				align-items: center;

				.s_header {
					display: flex;
					flex-direction: column;
					align-items: center;

					.sh_top {
						display: flex;
						align-items: center;

						image {
							width: 36rpx;
							height: 27rpx;
						}

						p {
							font-family: PingFang-SC, PingFang-SC;
							font-weight: bold;
							font-size: 36rpx;
							color: #FFFFFF;
							line-height: 50rpx;
							text-align: center;
							font-style: normal;
							margin: 0 10rpx;
						}
					}

					.sh_tip {
						font-family: PingFangSC, PingFang SC;
						font-weight: 400;
						font-size: 26rpx;
						color: #FFFFFF;
						line-height: 37rpx;
						text-align: center;
						font-style: normal;
						margin-top: 5rpx;
					}
				}

				.list {
					width: 100%;
					margin-top: 3rpx;
					display: flex;
					justify-content: space-between;
					flex-wrap: wrap;

					.item {
						width: calc(50% - 9rpx);
						background: #FFFFFF;
						border-radius: 12rpx;
						margin-top: 24rpx;

						.img {
							width: 100%;
							height: 186rpx;
							border-radius: 12rpx 12rpx 0 0;
						}

						.texts {
							width: 100%;
							padding: 14rpx 14rpx 16rpx;
							box-sizing: border-box;

							.name {
								font-family: PingFang-SC, PingFang-SC;
								font-weight: bold;
								font-size: 26rpx;
								color: #111111;
								line-height: 36rpx;
								text-align: left;
								overflow: hidden;
								text-overflow: ellipsis;
								white-space: nowrap;
							}

							.memo {
								font-family: PingFangSC, PingFang SC;
								font-weight: 400;
								font-size: 24rpx;
								color: #777777;
								line-height: 32rpx;
								text-align: left;
								margin-top: 8rpx;
								overflow: hidden;
								text-overflow: ellipsis;
								white-space: nowrap;
							}
						}
					}
				}
			}
		}
	}
</style>