<template>
	<view class="exchangeDetail">
		
		<view class="detailCard">
			<image src="/static/icon/success.png"></image>
			<text>奖品兑换成功</text>
		</view>
		
		<view class="btn">
			<view class="back" @click="goBack">
				<text>返回首页</text>
			</view>
			<view class="checkout">
				<text>查看订单</text>
			</view>
		</view>
		
		<view class="bottomCard">
			<image src="/static/icon/Kudosbg.png"></image>
			<view class="content">
				<text>立即加入IHG会员</text>
				<image src="/static/icon/right.png" style="width: 12rpx;height: 20rpx; position: absolute;bottom:36rpx;left: 475rpx;"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			// 返回首页
			goBack(){
				uni.reLaunch({
					url:'/pages/my/my'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	$pageColor:#F9F9F9;
	$bgColor:#FFFFFF;
	@mixin flexlayout {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.exchangeDetail{
		height:100%;
		background:$pageColor ;
	}
	.detailCard{
		width: 750rpx;
		height: 446rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		image{
			width: 120rpx;
			height: 120rpx;
			margin-bottom: 48rpx;
		}
		text{
			display: block;
			font-size: 32rpx;
			font-family: PingFangSC-Medium, PingFang SC;
			font-weight: 500;
			color: #080F18;
		}
	}
	.btn{
		width: 750rpx;
		height: 76rpx;
		display: flex;
		justify-content: space-around;
		align-items: center;
		.back{
			width: 332rpx;
			height: 76rpx;
			background: #F5F5F5;
			border-radius: 8rpx;
			@include flexlayout()
			text{
				font-size: 30rpx;
				font-family: PingFang-SC-Bold, PingFang-SC;
				font-weight: bold;
				color: #FF6301;
			}
		}
		.checkout{
			width: 332rpx;
			height: 76rpx;
			background: linear-gradient(270deg, #FF6200 0%, #FF9342 100%);
			border-radius: 8rpx;
			@include flexlayout()
			text{
				font-size: 30rpx;
				font-family: PingFang-SC-Bold, PingFang-SC;
				font-weight: bold;
				color: #FFFFFF;
			}
		}
	}
	.bottomCard{
		width: 690rpx;
		height: 584rpx;
		background: #FFFFFF;
		box-shadow: 0px 8rpx 16rpx 0px rgba(220,222,229,0.71);
		border-radius: 20rpx;
		background:$bgColor ;
		margin-left: 30rpx;
		margin-top: 64rpx;
		image{
			width: 690rpx;
			height: 492rpx;
		}
		.content{
			width: 690rpx;
			height: 92rpx;
			position: relative;
			@include flexlayout()
			text{
				font-size: 30rpx;
				font-family: PingFang-SC-Medium, PingFang-SC;
				font-weight: 500;
				color: #333333;
				text-shadow: 0px 8rpx 16rpx rgba(220,222,229,0.71);
			}
		}
	}
</style>