<template>
	<view>
		<!-- 模态框 -->
		<view class="cu-modal" :class="isShow?'show':''">
			<view class="cu-dialog">
				<view class="padding-xl">
					<view class="cuIcon-pay big-icon padding-tb text-main-color"></view>
					<view>您还未完成账户绑定，完成账户绑定后才能接收家政服务收益</view>
				</view>
				<view class="cu-bar bg-white solid-top">
					<view class="action margin-0 flex-sub text-black" data-modal="showTakeCertifiedModal"
						@tap="hideModal">以后绑定</view>
					<view class="action margin-0 flex-sub text-main-color solid-left"
						data-modal="showTakeCertifiedModal" @tap="hideModal" @click="goToBindBank">立即绑定</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'vertify-bank-bind',
		emits: ['reload'],
		data() {
			return {
				isShow: false
			}
		},
		methods: {
			showModal(e) {
				this.isShow = true
			},
			hideModal(e) {
				this.isShow = false;
			},
			goToBindBank() {
				uni.navigateTo({
					url: '/pages/my/withdraw'
				})
			}
		}
	}
</script>

<style>
</style>
