<template>
	<view class="app">
		<image src="../../static/logo.png" mode=""></image>
		<view class="title">
			泉医到家
		</view>
		<u-toast ref="uToast" />
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		onShow() {
			this.info()
		},
		methods: {
			info() {
				setTimeout(() => {
					uni.reLaunch({
						url: '/pages/homepage/homepage',
					})
				}, 2000);
				// const value = uni.getStorageSync('phonenumber');
				// const value2 = uni.getStorageSync('password');
				// if (value && value2) {} else {}
			}
		},
	}
</script>

<style lang="scss">
	.app {
		height: 100vh;
		background-color: #fff;
	}

	image {
		width: 50%;
		height: 400rpx;
		position: absolute;
		left: 25%;
		top: 28%;
	}

	.title {
		width: 80%;
		height: 48rpx;
		font-size: 49rpx;
		text-align: center;
		font-family: DengXian;
		font-weight: bold;
		color: #000000;
		position: absolute;
		top: 50%;
		left: 10%;
	}
</style>
