bitcooo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

77 lines
1.7 KiB

<template>
<view class="">
<navigation :showBack="true">
Backup mnemonics
</navigation>
<view class="main">
<view class="title">
Please copy the helper words in<br>the correct order
</view>
<view class="mnemonic">
<view class="mnemonicBlock u-rela" v-for="(item,index) in mnemonics" :key="index">
<text>{{ item }}</text>
<view class="number u-abso" v-text="index+1<10 ? ((index+1)) : index+1"></view>
</view>
</view>
<view class="title2">
The booster words will be used for wallet asset recovery, please copy the booster words in the correct order and keep them in a safe place and do not disclose them to others
</view>
<u-button class="custom-style" @click="test">I have copied it</u-button>
</view>
</view>
</view>
</template>
<script>
import cont from "@/components/navigation/navigation.vue"
import token from '@/utils/TokenUtil'
export default {
data() {
return {
mnemonics:[]
};
},
methods: {
// 获取词语
getWrod(){
var walletInfo = uni.getStorageSync('word');
this.mnemonics=walletInfo.mnemonic.split(' ')
console.log(walletInfo.mnemonic)
console.log(this.mnemonics)
},
test(){
uni.navigateTo({
url:'../backUp3/index',
})
},
},
onLoad() {
this.getWrod()
},
};
</script>
<style scoped>
.custom-style {
height: 112rpx;
text-align: center;
color: #fff;
background-color: #5B53FF !important;
border-radius: 40rpx;
margin-top: 200rpx;
}
.u-default-hover{
background-color: #5B53FF !important;
border-radius: 40rpx !important;
color: #fff !important;
border: none;
}
</style>
<style>
@import './index.css';
</style>