<template>
	<view class="tabbar-page page-box" style="display: flex;align-items: center;justify-content: center;height: 100vh;">
		<template v-if="code == 0">
			<view>
				<u-icon name="checkbox-mark" color="#19be6b" size="100"></u-icon>
				<view style="text-align: center;font-size: 46rpx;color: #000;margin-top: 40rpx;">
					开卡成功
				</view>
			</view>
		</template>
		<template v-if="code == 1">
			<view>
				<u-icon name="close-circle-fill" color="#fa3534" size="100"></u-icon>
				<view style="text-align: center;font-size: 46rpx;color: red;margin-top: 40rpx;">
					开卡失败
				</view>
			</view>
		</template>
	</view>
</template>

<script>
	import theTabBar from "@/components/the/the-tabbar";
	import logins from '@/components/login/logins.vue'
	export default {
		mixins: [],
		components: {
			theTabBar,
			logins
		},
		data() {
			return {
				code: -1
			}
		},
		onLoad(opt) {
			this.code = opt.code
		},
		computed: {
			
		},
		async onPullDownRefresh() {},
		//发送给朋友
		onShareAppMessage(res) {},
		onReachBottom() {},
		onPullDownRefresh() {},
		methods: {
			isLogin() {
				
			},
			async getData() {
				
			}
		}
	}
</script>

<style lang="scss">
	// #ifndef H5
	.content {
		padding-top: calc(44px + var(--status-bar-height));
	}

	// #endif
</style>