feat: 初始化
This commit is contained in:
41
pages/home/adjustLeverage/error/index.vue
Normal file
41
pages/home/adjustLeverage/error/index.vue
Normal file
@ -0,0 +1,41 @@
|
||||
<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>
|
Reference in New Issue
Block a user