<template>
	<NavBar />
	<view class="container">
		<view class="title">
			<PageTitle :title="$t('home.changeROPwd')" />
		</view>
		<view class="content">
			<image src="/static/success.png" mode="aspectFit" style="width: 56px; height: 56px"></image>
			<text class="successTitle">{{ $t('changeTradePwd.success') }}</text>
			<text class="successDesc">{{ $t('changeTradePwd.successDesc') }}</text>
		</view>
		<view class="btns">
			<button class="btn primaryButton" type="button" @click="handleClose">
				{{ $t('common.back') }}
			</button>
		</view>
	</view>
</template>

<script>
export default {
	name: '',
	data() {
		return {};
	},
	methods: {
		handleClose() {
			uni.redirectTo({
				url: '/pages/home/index'
			});
		}
	}
};
</script>

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