<template>
	<view class="g_flex_column_center p-result" style="">
		<view class="g_h_159"></view>
		<view class="btn g_flex_row_center">
			<image src="../../static/image/apply_success.svg" mode="widthFix" style="width: 166rpx;"></image>
		</view>
		<view style="margin: 23px auto 12px;" class="g_text_c g_c_3 g_fs_19 g_fw_600">已报名</view>
		<view style="color: #8f8f8f;margin-bottom: 106px;" class="g_fs_14 g_text_c g_w_all">您已报名，等待客服信息确认</view>
		<view class="g_mt_16">
			<g-button btnText="知道了" type="primary" @clickBtn="goHome" />
		</view>
		<view class="g_c_sub g_mt_16 g_fs_14 g_text_c g_w_all g_fw_700" 
					style="position: fixed; bottom: 56px; width: calc(100vw - 0px)" 
					hover-class="thover" 
					@click="goList"
		>查看报名记录</view>
	</view>
</template>
<script>
/* 自定义空页面
 */
export default {
	onShareAppMessage() {
		return this.G.shareFun();
	},
	onLoad(options) {
		console.log(options);
		if (options.type) {
			uni.setNavigationBarTitle({
				title: options.type,
			});
		}
	},
	data() {
		return {
			cdnBaseImg: this.G.store().cdnBaseImg,
		};
	},
	props: {
		text: {
			type: String,
			default: () => {
				return "暂无数据";
			},
		},
		subText: {
			type: String,
			default: () => {
				return "";
			},
		},
	},
	methods: {
		goHome() {
			let that = this;
			uni.switchTab({
				url:'/pages/home/index'
			})
		},
		goList(){
			uni.navigateTo({
				url:'/root/person/enrollList?from=toc'
			})
		}
	},
};
</script>

<style lang="less">
	.p-result{
		
	}
</style>
