<template>
	<NavBar />
	<view class="container">
		<view class="title">
			<PageTitle :title="$t('home.transfer')" />
		</view>
		<view class="content">
			<image src="/static/success.png" mode="aspectFit" style="width: 56px; height: 56px"></image>
			<text class="successTitle">{{ $t('mtTransfer.success') }}</text>
			<text class="successDesc">{{ $t('deposit.successDesc') }}</text>
		</view>
		<view class="btns">
			<button class="btn primaryButton" type="button" @click="handleContinueTransfer">
				{{ $t('mtTransfer.continue') }}
			</button>
			<button class="btn secondaryButton" type="button" @click="handleTradeRecord">
				{{ $t('home.tradeRecord') }}
			</button>
		</view>
	</view>
</template>

<script>
export default {
	name: '',
	data() {
		return {};
	},
	methods: {
		handleContinueTransfer() {
			uni.redirectTo({
				url: '/pages/capital/ibTransfer/index'
			});
		},
		handleTradeRecord() {
			uni.redirectTo({
				url: '/pages/capital/tradeRecord/index?type=ibTransfer'
			});
		}
	}
};
</script>

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