<template>
	<view class="content">
		<view class="one">
			<image :src="logoUrl" mode="aspectFit"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				logoUrl: require('../../static/foods_2.webp'),
			}
		},
		onLoad() {
			const that = this;
			that.search('/pagesHome/home/index');
		},
		onShow() {
			const that = this;
		},
		methods: {
			async search(e) {
				const that = this;
				uni.redirectTo({
					url: e
				})
			}
		}
	}
</script>

<style lang="scss">
	.content {
		.one {
			flex-grow: 1;
			text-align: center;

			image {
				width: 50vw;
				height: 50vw;
				border-radius: 90%;
				box-shadow: 0 0 5px #f1f1f1;
				margin: 30vw 0 0 0;
			}
		}
	}
</style>
