<template>
	<view class="page">
		<image class="banner" src="../../static/image/index/index1.png" mode="widthFix"></image>
		<ul class="entry">
			<li @click="$util.to('../clients/clients')">
				<image class="icon" src="../../static/image/index/index3.png" mode="widthFix"></image>
				<view class="text">客户</view>
			</li>
			<li @click="$util.to('../plans/plans')">
				<image class="icon" src="../../static/image/index/index4.png" mode="widthFix"></image>
				<view class="text">方案</view>
			</li>
			<li @click="$util.to('../orders/orders')">
				<image class="icon" src="../../static/image/index/index5.png" mode="widthFix"></image>
				<view class="text">订单</view>
			</li>
			<li>
				<image class="icon" src="../../static/image/index/index6.png" mode="widthFix"></image>
				<view class="text">产品</view>
			</li>
		</ul>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				text: ''
			}
		},
		onLoad() {
			
		},
		methods: {
			login1() {
				uni.login({
				  provider: 'weixin',
				  success: function (loginRes) {
				    console.log(loginRes);
				    // 获取用户信息
				    uni.getUserInfo({
				      provider: 'weixin',
				      success: function (infoRes) {
				        console.log('用户昵称为：' + JSON.stringify(infoRes));
				      }
				    });
				  }
				});
			}
		}
	}
</script>

<style scoped lang="scss">
.page {
	min-height: 100%;
	padding: 30rpx 22rpx;
	background: url(../../static/image/index/index2.png) 0 0/100% 100% no-repeat;
}
.banner {
	width: 100%;
}
.entry {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-top: 10rpx;
	text-align: center;
	.icon {
		width: 78rpx;
	}
	.text {
		font-size: 28rpx;
		color: #333;
	}
}
</style>
