<template>
	<view class="boox">
		<view class="title">
			
		</view>
		<view class="booximg">
			<!-- <image class="img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/guidepage.png" mode=""></image> -->
			<image class="img" src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/wabIndex.png" mode=""></image>
		</view>
		
		<view class="center-dingwei">
			<view class="dingwei-title" style="margin-top: 0">
				<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
				<view class="desc">智能语音转写</view>
			</view>
			<view class="dingwei-title">
				<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
				<view class="desc">高效的判客机制</view>
			</view>
			<view class="dingwei-title">
				<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
				<view class="desc">全方位的客户跟进</view>
			</view>
			<view class="dingwei-title">
				<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
				<view class="desc">专业的经济管家</view>
			</view>
			<view class="dingwei-title">
				<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
				<view class="desc">在线实时沟通</view>
			</view>
		</view>
		
		<view @click="bindWxBLogin" class="button">
			<view class="view">
				立即去登录
			</view>
		</view>
	</view>
</template>

<script>
	var app = getApp();
	var config = require("../../config");
	export default {
		data() {
			return {

			};
		},
		onShow: function() {
			uni.request({
				url: config.service.verify,
				method: "GET",
				header: {
					'content-type': 'application/json',
					'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token
				},
				success: (data) => {
					if (data.data.code == 10000) {
						uni.switchTab({
							url: '/pages/index/index'
						});
					}
				}
			})
		},
		onHide: function() {},
		methods: {
			bindWxBLogin() {
				wx.navigateTo({
					url: '/pages/login/index'
				});
			}

		}
	};
</script>
<style lang="scss">
	.boox{
		width: 100vw;
		height: 100vh;
		position: relative;
		.title {
			width: 100%;
			position: absolute;
			left: 0rpx;
			top: 100rpx;
			text-align: center;
			color: #FFFFFF;
			font-size: 32rpx;
			font-weight: 500;
			z-index: 1000;
		}
		.booximg{
			width: 100vw;
			height: 96vh;
			.img{
				width: 100%;
				height: 100%;
			}
		}
		.center-dingwei{
			width: 100%;
			position: absolute;
			left: 0rpx;
			bottom:230rpx;
			.dingwei-title{
				height: 44rpx;
				display: flex;
				margin-left: 213rpx;
				margin-top: 20rpx;
			}
			.dingwei-img{
				width: 44rpx;
				height: 44rpx;
			}
			.desc{
				line-height: 44rpx;
				margin-left: 10rpx;
				font-size: 32rpx;
				color: #333333;
			}
		}
		.button {
			width: 100%;
			position: absolute;
			left: 0rpx;
			bottom:80rpx;
			.view{
				width: 630rpx;
				height: 86rpx;
				margin: 0 auto;
				background: #2671E2;
				box-shadow: 0px 2rpx 20rpx 0rpx rgba(38, 113, 226, 0.5);
				border-radius: 49rpx;
				color: #FFFFFF;
				text-align: center;
				line-height: 86rpx;
				font-size: 32rpx;
			}
		}
	}
</style>
