<template>
	<view class="u-page">
		<view class="se-flex  se-flex-v-sa se-pt-140">
			<image class="se-w-300 se-h-300" src="@/static/image/success.png" mode=""></image>
			<view class="se-c-black se-fw-6 se-fs-44 se-ta-c se-mt-20">
				恭喜你，聘用成功
			</view>
			<view class="se-fs-26 se-ta-c  se-mt-20">
				等待师傅确认
			</view>
		</view>
		<view class="se-px-40 se-mt-140">
			<view class="se-px-20 se-pb-80 se-fs-20 se-flex">
				<view @click="onOrderDetail()"
					class="se-mx-10 se-flex-1 se-br-40 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-28 se-c-white se-bgc-orange">
					<text>查看订单详情</text>
				</view>
				<view @click="onCancel()"
					class="se-mx-10 se-flex-1 se-b se-br-40 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-28 se-c-66 se-bgc-f5">
					<text>取消订单</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				id:null
			}
		},
		onLoad(options) {
			console.info("求职者订单详情："+options.id)
			this.id = options.id
		},
		methods:{
			onOrderDetail(){
				let that = this;
				uni.navigateTo({
					url:"/pages_subpack/job-order-detail/index?orderId="+that.id
				})
			},
			onCancel(){
				uni.navigateBack({
					delta:1
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
</style>