<template>
	<NavBar />
	<view class="container">
		<view class="pageTitle">
			<PageTitle :title="$t('personal.personalData')" />
		</view>
		<view class="resultContent" >
			<image src="/static/user/underApproval.png" mode="aspectFit" style="width: 59px; height: 54px"></image>
			<text class="title">{{ $t('form.personalData.financialInformation.saveBankStatus.B1_0') }}</text>
			<button class="primaryButton backBtn" @click="back">{{ $t('common.back') }}</button>
		</view>
<!--		<view class="resultContent" v-if="type === 'B1' && resCode === '1'">-->
<!--			<image src="/static/success.png" mode="aspectFit" style="width: 59px; height: 54px"></image>-->
<!--			<text class="title">{{ $t('form.personalData.financialInformation.saveBankStatus.B1_1') }}</text>-->
<!--			<button class="primaryButton backBtn" @click="back">{{ $t('common.back') }}</button>-->
<!--		</view>-->
<!--		<view class="resultContent" v-if="type === 'B1' && resCode === '2'">-->
<!--			<image src="/static/success.png" mode="aspectFit" style="width: 59px; height: 54px"></image>-->
<!--			<text class="title">{{ $t('form.personalData.financialInformation.saveBankStatus.B1_2') }}</text>-->
<!--			<button class="primaryButton backBtn" @click="back">{{ $t('common.back') }}</button>-->
<!--		</view>-->
<!--		<view class="resultContent" v-if="type === 'B2'">-->
<!--			<image src="/static/success.png" mode="aspectFit" style="width: 59px; height: 54px"></image>-->
<!--			<text class="title">{{ $t('form.personalData.financialInformation.saveBankStatus.B2') }}</text>-->
<!--			<text class="b2Info">{{ $t('form.personalData.financialInformation.bankNo.label_B2') }}: {{ wa }}</text>-->
<!--			<text class="b2Info">{{ $t('form.personalData.financialInformation.bankCurrency.label') }}: {{ currency }}</text>-->
<!--			<button class="primaryButton backBtn" @click="back">{{ $t('common.back') }}</button>-->
<!--		</view>-->
<!--		<view class="resultContent" v-if="type === 'B3'">-->
<!--			<image src="/static/success.png" mode="aspectFit" style="width: 59px; height: 54px"></image>-->
<!--			<text class="title">{{ $t('form.personalData.financialInformation.saveBankStatus.B3') }}</text>-->
<!--			<text class="b2Info">{{ $t('form.personalData.financialInformation.bankNo.label_B2') }}: {{ wa }}</text>-->
<!--			<text class="b2Info">{{ $t('form.personalData.financialInformation.bankCurrency.label') }}: {{ currency }}</text>-->
<!--			<button class="primaryButton backBtn" @click="back">{{ $t('common.back') }}</button>-->
<!--		</view>-->
	</view>
</template>

<script>
export default {
	props: {
		resCode: {
			type: String,
			required: true,
			default: '2'
		},
		type: {
			type: String,
			required: true,
			default: 'B1'
		},
		wa: {
			type: String,
			required: true,
			default: ''
		},
		currency: {
			type: String,
			required: true,
			default: ''
		}
	},
	methods: {
		back() {
			uni.navigateBack();
		}
	}
};
</script>

<style lang="scss" scoped>
@import './index.scss';
</style>
