<template>
	<view class="content">
		<view class="success-title">新增成功</view>
		<view class="success-icon">
			<u-icon name="checkmark-circle-fill" color="#19be6b" size="156"></u-icon>
		</view>
		<view class="success-text">新增学员成功，稍后我们会联系您</view>
		<view class="handle-fix-box">
			<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="goBack()">返回</u-button>
		</view>
		<u-top-tips ref="uTips"></u-top-tips>
	</view>
</template>

<script>
	import {
		mapGetters
	} from 'vuex'
	export default {
		computed: {
			...mapGetters([
				'customStyle',
			])
		},
		data() {
			return {}
		},
		onLoad() {},
		onReady() {},
		methods: {
			//  返回
			goBack() {
				uni.navigateBack()
			},
		},
	}
</script>

<style>
	page {
		width: 100%;
		height: 100%;
		position: relative;
	}
</style>
<style lang="scss" scoped>
	@import "@/static/css/themes.scss";
	.content {
		width: 100%;
		float: left;
		padding: 0 15px 60px 15px;
		box-sizing: border-box;

		.success-title {
			width: 100%;
			height: 64px;
			float: left;
			line-height: 48px;
			font-size: 28px;
			text-align: center;
		}

		.success-icon {
			width: 100%;
			float: left;
			text-align: center;
		}

		.success-text {
			width: 100%;
			height: 20px;
			float: left;
			line-height: 20px;
			font-size: 12px;
			text-align: center;
			margin-top: 20px;
		}
	}
</style>
