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

<script>
export default {
	name: '',
	data() {
		return {
			msg: ''
		};
	},
	methods: {
		back() {
			uni.navigateBack();
		}
	},
	onLoad(params) {
		this.msg = params.msg;
	}
};
</script>

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