File tree Expand file tree Collapse file tree 2 files changed +121
-0
lines changed Expand file tree Collapse file tree 2 files changed +121
-0
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <bottom-sheet-layer title =" クラス登録" title-en =" STEP 2" >
3
+ <template v-slot :LayerContents >
4
+ <dl class =" RegisterClass-List" >
5
+ <dt class =" RegisterClass-ItemTitle" >学校名</dt >
6
+ <dd >
7
+ <input-field label =" school" placeholder =" おひさま小学校" require />
8
+ </dd >
9
+ <dt class =" RegisterClass-ItemTitle" >クラス名</dt >
10
+ <dd >
11
+ <input-field label =" class" placeholder =" 2年B組" require />
12
+ <span class =" RegisterClass-ItemNote" >
13
+ クラス名は表示されますのでご注意ください
14
+ </span >
15
+ </dd >
16
+ </dl >
17
+ </template >
18
+ <template v-slot :LayerFooter >
19
+ <action-button theme =" primary" text =" 登録を完了する" />
20
+ </template >
21
+ </bottom-sheet-layer >
22
+ </template >
23
+
24
+ <script lang="ts">
25
+ import Vue from ' vue'
26
+ import BottomSheetLayer from ' @/components/BottomSheetLayer.vue'
27
+ import ActionButton from ' @/components/ActionButton.vue'
28
+ import InputField from ' @/components/InputField.vue'
29
+
30
+ export default Vue .extend ({
31
+ components: { BottomSheetLayer , ActionButton , InputField },
32
+ layout: ' background'
33
+ })
34
+ </script >
35
+
36
+ <style lang="scss" scoped>
37
+ .RegisterClass-List {
38
+ padding : 24px 0 ;
39
+ }
40
+ .RegisterClass-ItemTitle {
41
+ font-size : 16px ;
42
+ font-weight : bold ;
43
+ color : $color-white ;
44
+ text-align : center ;
45
+ margin : 4px 0 ;
46
+ }
47
+ .RegisterClass-ItemNote {
48
+ display : block ;
49
+ font-size : 14px ;
50
+ font-weight : bold ;
51
+ color : $color-white ;
52
+ text-align : center ;
53
+ margin : 4px 0 ;
54
+ }
55
+ </style >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <bottom-sheet-layer title =" 登録されました!" title-en =" THANK YOU!" >
3
+ <template v-slot :LayerContents >
4
+ <div class =" Registered-Contents" >
5
+ <v-icon color =" white" class =" Registered-Icon" >
6
+ mdi-clipboard-account
7
+ </v-icon >
8
+ <p class =" Registered-Text" >あなたのクラスIDです</p >
9
+ <div class =" Registered-Id" >ほげほげほげ</div >
10
+ </div >
11
+ </template >
12
+ <template v-slot :LayerFooter >
13
+ <action-button
14
+ theme =" primary"
15
+ text =" 授業を追加・編集する"
16
+ class =" Registered-Button"
17
+ />
18
+ <action-button theme =" secondary" text =" クラスIDを共有する" />
19
+ </template >
20
+ </bottom-sheet-layer >
21
+ </template >
22
+
23
+ <script lang="ts">
24
+ import Vue from ' vue'
25
+ import BottomSheetLayer from ' @/components/BottomSheetLayer.vue'
26
+ import ActionButton from ' @/components/ActionButton.vue'
27
+
28
+ export default Vue .extend ({
29
+ components: { BottomSheetLayer , ActionButton },
30
+ layout: ' background'
31
+ })
32
+ </script >
33
+
34
+ <style lang="scss" scoped>
35
+ .Registered-Contents {
36
+ display : flex ;
37
+ flex-direction : column ;
38
+ justify-content : center ;
39
+ align-items : center ;
40
+ padding : 24px 0 ;
41
+ }
42
+ .Registered-Icon {
43
+ font-size : 50px ;
44
+ }
45
+ .Registered-Text {
46
+ font-size : 16px ;
47
+ font-weight : bold ;
48
+ color : $color-white ;
49
+ margin : 24px 0 12px ;
50
+ }
51
+ .Registered-Id {
52
+ max-width : 9em ;
53
+ padding : 16px 24px ;
54
+ text-align : center ;
55
+ background-color : $color-white ;
56
+ border : 2px solid $color-base-color-01 ;
57
+ border-radius : 14px ;
58
+ letter-spacing : 0.2em ;
59
+ line-height : 1.25 ;
60
+ font-size : 30px ;
61
+ color : $color-gray ;
62
+ }
63
+ .Registered-Button {
64
+ margin-bottom : 16px ;
65
+ }
66
+ </style >
You can’t perform that action at this time.
0 commit comments