<template>
	<view class="content">
		<view class="inner">
			<view class="top">
				<text class="title">支付成功</text>
				<image class="icon" src="https://jnlzjk-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/success.png" ></image>
				<view   class="btn-box">
					<view class="btn cancel" @click="goBack()"> 返回</view>
				</view>
			</view>
		</view>
		<view class="ad">
			<ad unit-id="adunit-1f2b34a04431a6f4" ad-type="video" ad-theme="white"></ad>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad(option) {
		},
		methods: {
			goBack(){
				uni.navigateBack({
					delta:1
				})
			}
		}
	}
</script>

<style lang="scss">
	page{
		height: 100%;
	}
	.content{
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		.inner{
			padding: 20upx;
			.top{
				box-sizing: border-box;
				background: #FFFFFF;
				border-radius: 16upx;
				display: flex;
				flex-direction: column;
				align-items: center;
				padding: 50upx 0upx;
				.title{
					font-size: 40upx;
					font-family: PingFang SC;
					font-weight: 500;
					color: #222222;
					line-height: 1;
					text-align: center;
				}
				.icon{
					margin: 60upx 0upx;
					width: 100upx;
					height: 100upx;
				}
				 
			}
			 
			.order-info{
				margin-top: 20upx;
				background: #FFFFFF;
				border-radius: 16upx;
				padding: 40upx 30upx;
				.title{
					font-size: 30upx;
					font-family: PingFang SC;
					font-weight: bold;
					color: #222222;
					line-height: 1;
				}
				.item{
					margin-top: 40upx;
					display: flex;
					align-items: center;
					justify-content: space-between;
					.label{
						font-size: 26upx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #666666;
						line-height: 1;
					}
					.text{
						font-size: 26upx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #222222;
						line-height: 32upx;
					}
					.cont-text{
						font-size: 26upx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #666666;
						.bold{
							color: #111111;
						}
					}
					.sn-box{
						display: flex;
						align-items: center;
						.copy-btn{
							width: 58upx;
							height: 32upx;
							line-height: 32upx;
							text-align: center;
							font-size: 22upx;
							font-family: PingFang SC;
							font-weight: 500;
							color: #222222;
							background: #F5F5F5;
							border-radius: 4upx;
							margin-left: 24upx;
						}
					}
					 
				}
				.line{
					width: 100%;
					height: 1px;
					background: #F0F0F0;
					margin-top: 30upx;
				}
			}
		}
		.btn-box{
			margin-top: 20upx;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			.btn{
				width: 155upx;
				height: 64upx;
				line-height: 64upx;
				font-size: 26upx;
				font-family: PingFang SC;
				font-weight: 500;
				text-align: center;
				border-radius: 32upx;
				&.cancel{
					border: 1px solid #DDDDDD;
					color: #666666;
				}
				 
			}
		}
	}
	
</style>
