<template>
	<view class="pages">
		<image class="imag" :src="IMG_URL +'prescription_success.png'" mode=""></image>
		<text class="info">提交成功，预约审核中！</text>
		<button class="btn" @click="toHome">我知道了</button>
	</view>
</template>

<script>
	import { IMG_URL } from '@/env.js'
	export default {
		data() {
			return {
				IMG_URL
			}
		},
		onUnload() {
			// 不够是做什么都跳 可能会要可能不要 我的-抓拍药方 
			// uni.redirectTo({
			// 	url:"./../index"
			// })
		},
		methods: {
			toHome() {
				uni.redirectTo({
					url:"./../index"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.pages{
		display: flex;
		flex-direction: column;
		.imag{
	 width: 425rpx;
	 height: 358rpx;
	 margin-top: 155rpx;
	 margin-left: 162rpx;
 }
 .info{
	 font-size: 36rpx;
	 font-weight: bold;
	 color: #01AEEA;
	 text-align: center;
 }
 .btn{
	 width: 569rpx;
	 height: 94rpx;
	 margin-top: 185rpx;
	 border-radius: 46rpx;
	 background-color: #fff;
	 border: 3rpx solid #01AEEA;
	 color: #01AEEA;
 }
	}
 
</style>
