<template>

	<view class="box" style="position: relative;">
		<image @click="back" class="bg_back"
			src="https://lihai001.oss-cn-chengdu.aliyuncs.com/public/uploads/new_activity/back.png"></image>
		<view class="li" @click="navSw('/pages/index/index')">
			<u-image src="/static/temp/1.webp" width="690rpx" height="200rpx" style="position: absolute;"></u-image>
			<view class="btn">
				我是居民用户
			</view>
		</view>
		<view class="li" style="margin-top: 50rpx;" @click="navgo('/pages/helpPeople/formTable')">
			<u-image src="/static/temp/2.webp" width="690rpx" height="200rpx" style="position: absolute;"></u-image>
			<view class="btn">
				我是农民用户
			</view>
		</view>

		<u-steps :current="0">
			<u-steps-item title="已下单" desc="10:30">
			</u-steps-item>
			<u-steps-item title="已出库" desc="10:35"></u-steps-item>
			<u-steps-item title="运输中" desc="11:40"></u-steps-item>
		</u-steps>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				current: 0
			}
		},
		methods: {
			back() {
				uni.navigateBack();
			},
			navgo(url) {
				uni.navigateTo({
					url
				})
			},
			navSw(url) {
				uni.switchTab({
					url: url
				})
			}
		}
	}
</script>

<style lang='scss' scoped>
	.box {
		width: 750rpx;
		height: 1624rpx;
		background: linear-gradient(180deg, #20A162 0%, #EFFAEF 39%, #EFFCEA 68%, #EFFFE5 100%);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		border: 1rpx solid #707070;


		/* 	width: 750rpx;
		height: 1624rpx;
		background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/def/9c4b4202401271437449183.png');
		background-size: 100% 100%; */
		padding-top: 500rpx;
	}


	.li {
		margin: 0rpx auto;
		width: 690rpx;
		height: 200rpx;
		background-size: 100% 100%;
		position: relative;

		.btn {
			z-index: 999;
			position: absolute;
			width: 287rpx;
			height: 76rpx;
			border-radius: 40rpx 40rpx 40rpx 40rpx;
			opacity: 1;
			border: 2rpx solid #20A162;
			text-align: center;
			line-height: 76rpx;
			color: #20A162;
			font-size: 34rpx;
			right: 50rpx;
			bottom: 50rpx;

		}
	}

	.bg_back {
		height: 34rpx;
		width: 20rpx;
		position: absolute;
		top: calc(var(--status-bar-height) + 30rpx);
		left: 30rpx;
	}
</style>