12 <MenuPage :title="$t('createAccount.title')" @back="back">
14 <div class="form-item">
15 <label class="form-item-label">{{ $t('createAccount.accountAlias') }}</label>
16 <div class="form-item-content" style="margin-left: 76px;">
17 <input type="text" v-model="formItem.accAlias">
20 <div class="form-item">
21 <label class="form-item-label">{{ $t('createAccount.keyAlias') }}</label>
22 <div class="form-item-content" style="margin-left: 76px;">
23 <input type="text" v-model="formItem.keyAlias">
26 <div class="form-item">
27 <label class="form-item-label">{{ $t('createAccount.keyPassword') }}</label>
28 <div class="form-item-content" style="margin-left: 76px;">
29 <input type="password" v-model="formItem.passwd1">
32 <div class="form-item">
33 <label class="form-item-label">{{ $t('createAccount.confirmPassword') }}</label>
34 <div class="form-item-content" style="margin-left: 76px;">
35 <input type="password" v-model="formItem.passwd2">
38 <div class="tips">{{tips}}</div>
39 <div class="form-item bg-gray" style="text-align: center">
40 <div class="btn bg-green" @click="create">{{ $t('createAccount.create') }}</div>
47 import bytom from "../../script/bytom";
64 this.$emit("on-back", "creation");
67 this.$emit("on-exit", "creation");
70 if (this.formItem.passwd1 != this.formItem.passwd2) {
71 this.tips = "两次密码不一致,请检查后再试";
75 let loader = this.$loading.show({
76 container: this.fullPage ? null : this.$refs.formContainer,
78 onCancel: this.onCancel
82 this.formItem.accAlias,
83 this.formItem.keyAlias,
98 // this.tips = err.message;