<template>
	<view>
		<view class="zhanwei"></view>
		<view class="content">
			<image src="../../static/jycg.png"></image>
			<text style="line-height: 90upx;font-size: 36upx;">领取成功</text>
			<!-- <text style="color: #bbbbbb;font-size: 28upx;line-height: 40rpx;">
				领取成功
		    </text> -->
		</view>
		<view class="button" @click="wancheng">
			确认
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad: function() {
			
		},
		methods: {
			wancheng(){
				// uni.switchTab({
				// 	url:'../index/index'
				// })
				uni.reLaunch({
					url:"../index/index"
				})
			}
		}
	}
</script>

<style lang="scss">
.content{
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #ffffff;
	margin-top: 330upx;
	>image{
		width: 150upx;
		height: 150upx;
		margin-bottom: 25upx;
	}
}
	.button {
		position: fixed;
		bottom: 20upx;
		left: 50%;
		transform: translateX(-50%);
		width: 290upx;
		height: 80upx;
		margin: auto;
		margin-top: 40upx;
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: 500;
		border-radius: 40upx;
		background: #77A1D3;
		color: #fff !important;
		/* fallback for old browsers */
		background: linear-gradient(351deg, #9735DC 0%, #570CDC 100%);
		/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
		font-size: 30upx;
	}

	
	.zhanwei {
		margin-top: 150upx;
	}

	page {
		background-color: #141417;
	}
</style>