<template>
	<view class="ezy-order-page">
		<view class="icon-title-navBar-box">
			<view @click="handleBack" class="nav-bar-icon"></view>
			<text class="nav-bar-title">订单</text>
		</view>
		<view class="ezy-page-body">
			<view @click="bangdingPhone">绑定手机号</view>
		</view>
	</view>
	<bindPhone ref="bindPhoneRef" @success="onLoginSuccess"></bindPhone>
</template>

<script setup>
	import {
		reactive,
		ref
	} from "vue";
	import {
		onLoad,
		onShow
	} from "@dcloudio/uni-app"
	import bindPhone from "@/components/bindPhone/bindPhone.vue"
	const bindPhoneRef = ref(null);

	function handleBack() {
		uni.switchTab({
			url: '/pages/chanpinMy/my'
		})
	}

	function bangdingPhone() {
		bindPhoneRef.value.showDl();
	}
	onLoad(() => {})
</script>

<style>
</style>