Skip to content

Commit 051812a

Browse files
authored
Merge pull request #135 from kaizumaki/feature/issue-123-add-sign-up-page
ユーザー登録ページ作成
2 parents 268c7cc + b9f1f3e commit 051812a

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

src/pages/user/signup.vue

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

0 commit comments

Comments
 (0)