<template>
	<view class="lotteryDrawing">
		<view class="img">
			<image src="https://simlove-ma.oss-cn-shenzhen.aliyuncs.com/miniprogram/img-2-1/home_ggg2.gif" mode="widthFix"></image>
		</view>
		<view class="content">
			<view class="tips" v-for="(item,index) in lotteryDrawing" :key="index">
				<view class="icon">
					<slIcon :name="item.icon" color="#7cc6f1" size="26rpx"/>
				</view>
				<view class="text">{{item.text}}</view>
			</view>
		</view>
	</view>
</template>

<script>
import slIcon from '@/sdk/sl-icon/index.vue';
export default {
	components:{
		slIcon
	},
	data(){
		return {
			lotteryDrawing:[
				{
					icon:"icon-natural",
					text:"纯净无添加",
				},
				{
					icon:"icon-Compensation",
					text:"货损赔付",
				},
				{
					icon:"icon-SF",
					text:"顺丰冷运",
				}
			]
		}
	}
}
</script>

<style scoped lang="scss">
.lotteryDrawing{
	width: 710rpx;
	margin: 20rpx;
	padding: 20rpx;
	box-sizing: border-box;
	background: #fff;
	border-radius: 20rpx;
	.img{
		width: 100%;
	}
	.content{
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.tips{
		display: flex;
		align-items: center;
		margin: 0 25rpx;
		.text{
			color: #7cc6f1;
			font-size: 22rpx;
			margin-left: 5rpx;
		}
	}
}
</style>