<template>
	<view class="content">
		
		<view>
			<image class="topimg" src="../../static/image/suc.png"></image>
			<text class="tit">支付成功</text>
			<!-- <view class="tipcon">
				成功支付 <text class="tip">2999.00</text> 元，详情请查看 <text class="tip" @click="gotoOrder"> 我的订单  </text>
			</view> -->
		</view>
		
		<view>
			<view class="etipcon">
				<uni-icons type="close" color="#fa436a" size="80"></uni-icons>
			</view>
			<text class="etit">支付失败</text>
			<text class="ertit">请返回重试</text>
		</view>
		
		<view class="btn-group">
			<navigator url="/pages/order/orderlist?id=0" open-type="switchTab" class="mix-btn">我的订单</navigator>
			<navigator url="/pages/index/index" open-type="switchTab" class="mix-btn hollow">返回首页</navigator>
		</view>
	</view>
</template>

<script>
	import { myCache } from '../../utils/utils.js';
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			gotoOrder(){
				uni.navigateTo({
					url: `/pages/order/orderlist?id=0`
				});
			},
		}
	}
</script>

<style lang='scss'>
	.content{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.tipcon{
		padding: 40rpx;
		font-size: 26rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 600;
		color: #23262F;
		line-height: 36rpx;
		.tip{
			color:#619af7;
			margin: auto 5rpx;
		}
	}
	.topimg{
		width: 160rpx;
		height: 160rpx;
		margin-top: 100rpx;
		margin-bottom: 30rpx;
	}
	.tit{
		font-size: 40upx;
		color: #333;
	}
	.etipcon{
		margin-top: 180rpx;
		margin-bottom: 60rpx;
	}
	.etit{
		font-size: 38upx;
		color: #303133;
	}
	.ertit{
		font-size: 26upx;
		color: #78839A;
		margin-top: 20rpx;
		margin-bottom: 30rpx;
	}
	.btn-group{
		padding-top: 100upx;
	}
	.mix-btn {
		display: block;
		width: 585rpx;
		height: 80rpx;
		line-height: 80rpx;
		background: #E1F2FF;
		box-shadow: 0rpx 12rpx 64rpx 2rpx rgba(186,186,188,0.4);
		border-radius: 254rpx 254rpx 254rpx 254rpx;
		margin-top: 30rpx;
		font-size: 28rpx;
		color:#78839A;
		text-align: center;
		box-sizing:border-box;
		border: 1rpx solid #619af7;
		&.hollow{
			background: #E1F2FF;
			color: #78839A;
			border: 1rpx solid #619af7;
		}
	}
</style>
