Skip to content

Commit ac1879b

Browse files
committed
UX改善 & jaの文字列追加
1 parent 11eaf65 commit ac1879b

File tree

3 files changed

+10
-19
lines changed

3 files changed

+10
-19
lines changed

src/assets/locales/ja.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"login": "ログイン",
99
"logout": "ログアウト",
1010
"ok": "OK",
11-
"save": "保存する"
11+
"save": "保存する",
12+
"verify": "認証する"
1213
},
1314
"error": {
1415
"default": "何らかのエラーが発生しました。時間をおいて再度お試しください。"
@@ -45,7 +46,8 @@
4546
"password": "パスワード",
4647
"password_rules": "パスワードは6文字以上で設定してください",
4748
"password_not_acceptable": "パスワードが条件を満たしていません",
48-
"password_not_same": "パスワードが一致していません"
49+
"password_not_same": "パスワードが一致していません",
50+
"verification_code":"認証コード"
4951
}
5052
},
5153
"agree_terms": {

src/pages/user/signup.vue

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,6 @@
8080
<v-snackbar v-model="error" :timeout="5000" top color="#C01B61">
8181
{{ $t('common.general.error.default') }}
8282
</v-snackbar>
83-
<v-dialog v-model="completion" max-width="460px">
84-
<v-card class="DialogCard">
85-
<v-container class="DialogCardContentContainer">
86-
{{ $t('pages.user_signup.success.message') }}
87-
</v-container>
88-
<v-card-actions class="DialogCardButtons px-4">
89-
<base-action-button
90-
:text="$t('pages.user_signup.success.go_back_to_top')"
91-
theme="border"
92-
class="my-3"
93-
@click="$router.push('/')"
94-
/>
95-
</v-card-actions>
96-
</v-card>
97-
</v-dialog>
9883
</div>
9984
</template>
10085

@@ -166,7 +151,10 @@ export default Vue.extend({
166151
.then(() => {
167152
this.completion = true
168153
this.loading = false
169-
this.$router.push('/user/verify')
154+
this.$router.push({
155+
name: 'user-verify',
156+
params: { email: this.email },
157+
})
170158
})
171159
.catch(() => {
172160
this.error = true

src/pages/user/verify.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default Vue.extend({
7373
layout: 'background',
7474
data() {
7575
return {
76-
email: '',
76+
email: this.$route.params.email,
7777
verification_code: '',
7878
loading: false,
7979
error: false,
@@ -114,6 +114,7 @@ export default Vue.extend({
114114
}
115115
.SignIn-Item {
116116
margin: 20px 0;
117+
display: flex;
117118
}
118119
.SignIn-ButtonOuter {
119120
justify-content: space-between;

0 commit comments

Comments
 (0)