<template>
	<view class="content">
		<!-- <text class="success-icon iconfont iconroundcheck"></text>
		<text class="tit">支付成功</text> -->
		<image class="success" src="../../static/money/success.png" mode=""></image>
		<text class="tit">订单支付成功</text>
		<view class="btn-group">
			<!-- <navigator :url="'/pages/order/orderDetail?id='+orderId" open-type="redirect" class="mix-btn">查看订单</navigator> -->
			<!-- <navigator url="/pages/index/index" open-type="switchTab" class="mix-btn hollow">返回首页</navigator> -->
			<navigator url="/pages/index/index" open-type="switchTab" class="btn">返回首页</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				orderId:''
			}
		},
		onLoad(opt) {
			// 保存订单号
			this.orderId = opt.orderid;
		},
		methods: {
			
		}
	}
</script>

<style lang='scss'>
	.content{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	.success {
		width: 302rpx;
		height: 302rpx;
		margin-top: 100rpx;
	}
	.tit{
		font-size: 38upx;
		color: #303133;
		margin-top: 30rpx;
	}
	
	.btn {
		margin-top: 80upx;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 300upx;
		height: 80upx;
		font-size: $font-lg;
		color: #01A6A8 ;
		background-color: #f8f8f8;
		border-radius: 10upx;
		border: 1px solid #01A6A8;
	}
	/* .success-icon{
		font-size: 160upx;
		color: #5dbc7c;
		margin-top: 100upx;
	}
	.tit{
		font-size: 38upx;
		color: #303133;
	}
	.btn-group{
		padding-top: 100upx;
	} */
	/* .mix-btn {
		margin-top: 30upx;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 600upx;
		height: 80upx;
		font-size: $font-lg;
		color: #fff;
		background-color: $base-color;
		border-radius: 10upx;
		&.hollow{
			background: #fff;
			color: #303133;
			border: 1px solid #ccc;
		}
	} */
</style>
