Skip to content

Commit 06fe5a9

Browse files
committed
ユーザー登録のページ作成
1 parent 268c7cc commit 06fe5a9

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

src/pages/user/signup.vue

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<template>
2+
<bottom-sheet-layer title="ユーザー登録" title-en="STEP 1" fullscreen>
3+
<template v-slot:LayerContents>
4+
<dl>
5+
<dt class="SignUp-ItemTitle">お名前(表示名)</dt>
6+
<dd>
7+
<input-field label="name" placeholder="山田花子" />
8+
</dd>
9+
<dt class="SignUp-ItemTitle">メールアドレス</dt>
10+
<dd>
11+
<input-field
12+
label="email"
13+
placeholder="[email protected]"
14+
type="email"
15+
/>
16+
</dd>
17+
<dt class="SignUp-ItemTitle">パスワード</dt>
18+
<dd>
19+
<input-field label="password" type="password" />
20+
</dd>
21+
<dt class="SignUp-ItemTitle">パスワード(確認用)</dt>
22+
<dd>
23+
<input-field label="confirmation" type="password" />
24+
</dd>
25+
</dl>
26+
</template>
27+
<template v-slot:LayerFooter>
28+
<div class="SignUp-ButtonOuter">
29+
<action-button
30+
theme="transparent"
31+
text="キャンセル"
32+
class="SignUp-Button"
33+
/>
34+
<action-button theme="primary" text="登録" class="SignUp-Button" />
35+
</div>
36+
</template>
37+
</bottom-sheet-layer>
38+
</template>
39+
40+
<script lang="ts">
41+
import Vue from 'vue'
42+
import BottomSheetLayer from '@/components/BottomSheetLayer.vue'
43+
import ActionButton from '@/components/ActionButton.vue'
44+
import InputField from '@/components/InputField.vue'
45+
46+
export default Vue.extend({
47+
components: { BottomSheetLayer, ActionButton, InputField },
48+
layout: 'background'
49+
})
50+
</script>
51+
52+
<style lang="scss" scoped>
53+
.SignUp-ItemTitle {
54+
font-size: 16px;
55+
font-weight: bold;
56+
color: $color-white;
57+
text-align: center;
58+
margin: 4px 0;
59+
}
60+
.SignUp-ButtonOuter {
61+
display: flex;
62+
justify-content: space-between;
63+
}
64+
.SignUp-Button {
65+
flex: 0 1 48%;
66+
}
67+
</style>

0 commit comments

Comments
 (0)