<template>
	<view class="serviceTraitContainer">
		<view class="title">
			服务特点
		</view>
		<view class="info">
			<view class="box" v-for="(item, index) in dataList" :key="index">
				<view class="box_icon">
					<image :src="item.icon" mode="aspectFit"></image>
				</view>
				<view class="box_name">
					{{ item.name }}
				</view>
				<view class="box_describe">
					{{ item.describe }}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: [{'icon':'/static/home/home_service1.png', 'name':'易于上手', 'describe':'无需学习,立即上手'},
				           {'icon':'/static/home/home_service2.png', 'name':'功能强大', 'describe':'精准、快速进行信息搜索'},
						   {'icon':'/static/home/home_service3.png', 'name':'多语言识别', 'describe':'支持多语言文字识别'},
						   {'icon':'/static/home/home_service4.png', 'name':'个性化服务', 'describe':'量身打造个性化服务'}]
			}
		}
	}
</script>

<style lang="scss">
	.serviceTraitContainer{
		display: flex;
		box-sizing: border-box;
		flex-direction: column;
		width: 100%;
		padding: 20px;
		background-color: #ffffff;
		.title {
			display: flex;
			font-size: 25px;
			color: #2A2832;
			justify-content: center;
			margin-bottom: 15px;
		}
		.info{
			display: flex;
			box-sizing: border-box;
			flex-direction: row;
			.box{
				display: flex;
				box-sizing: border-box;
				flex-direction: column;
				width: 25%;
				height: 170px;
				align-items: center;
				// background-color: red;
				.box_icon{
					width: 90px;
					height: 90px;
					image{
						width: 100%;
						height: 100%;
					}
				}
				.box_name{
					margin-top: 0px;
					font-size: 22px;
					font-weight: 700;
					color: #000000;
				}
				.box_describe{
					margin-top: 10px;
					font-size: 20px;
					font-weight: 500;
					color: #000000;
				}
			}
		}
	}
</style>