1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < meta charset ="UTF-8 ">
5
- < meta name ="viewport " content ="width=device-width,initial-scale=1,user-scalable=0 ">
6
- < title > 注册页</ title >
7
- < link rel ="stylesheet " type ="text/css " href ="https://cdnjs.cloudflare.com/ajax/libs/weui/0.3.0/style/weui.min.css " />
8
- < link rel ="stylesheet " type ="text/css " href ="css/register.css " />
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width,initial-scale=1,user-scalable=0 ">
6
+ < title > 注册页</ title >
7
+ < link rel ="stylesheet " type ="text/css " href ="https://cdn.bootcdn.net/ajax/libs/weui/2.3.0/style/weui.min.css "/>
9
8
</ head >
10
9
< body ontouchstart >
11
10
< div class ="container ">
12
- < div class =" hd " >
13
- < h1 class ="page_title " > 请填写注册信息 </ h1 >
14
- </ div >
15
- < div class ="weui_cells weui_cells_form ">
16
- < form action =" register/save " method =" post " >
17
- < div class ="weui_cell ">
18
- < div class ="weui_cell_hd ">
19
- < label class =" weui_label " > 昵称 </ label >
20
- </ div >
21
- < div class ="weui_cell_bd weui_cell_primary ">
22
- < input type =" text " name =" user.name " placeholder =" 请输入昵称 " class ="weui_input " >
23
- </ div >
24
- </ div >
25
- < div class =" weui_cell weui_vcode " >
26
- < div class =" weui_cell_hd " >
27
- < label class =" weui_label " > 年龄 </ label >
28
- </ div >
29
- < div class ="weui_cell_bd weui_cell_primary ">
30
- < input type =" number " name =" user.age " placeholder =" 请输入年龄 " class ="weui_input ">
31
- </ div >
32
- </ div >
33
- < div class ="weui_cells_title " > 性别 </ div >
34
- < div class ="weui_cells weui_cells_radio ">
35
- < label for =" x11 " class ="weui_cell weui_check_label " >
36
- < div class =" weui_cell_bd weui_cell_primary " >
37
- < p > 男 </ p >
38
- </ div >
39
- < div class ="weui_cell_ft ">
40
- < input type =" radio " value =" 男 " id =" x11 " name =" user.sex " class =" weui_check " >
41
- < span class =" weui_icon_checked " > </ span >
42
- </ div >
43
- </ label >
44
- < label for =" x12 " class ="weui_cell weui_check_label " >
45
- < div class =" weui_cell_bd weui_cell_primary " >
46
- < p > 女 </ p >
47
- </ div >
48
- < div class ="weui_cell_ft ">
49
- < input type =" radio " value =" 女 " checked =" checked " id =" x12 " name =" user.sex " class =" weui_check " >
50
- < span class =" weui_icon_checked " > </ span >
51
- </ div >
52
- </ label >
53
- < label for =" x13 " class ="weui_cell weui_check_label " >
54
- < div class =" weui_cell_bd weui_cell_primary " >
55
- < p > 中性 </ p >
56
- </ div >
57
- < div class =" weui_cell_ft " >
58
- < input type =" radio " value =" 中性 " id =" x13 " name =" user.sex " class ="weui_check ">
59
- < span class ="weui_icon_checked " > </ span >
60
- </ div >
61
- </ label >
62
- </ div >
63
- < div class =" weui_cell " >
64
- < div class =" weui_cell_hd " >
65
- < label class ="weui_label " > 手机号 </ label >
66
- </ div >
67
- < div class ="weui_cell_bd weui_cell_primary ">
68
- < input type =" tel " placeholder =" 请输入手机号 " name =" user.phone " class ="weui_input ">
69
- </ div >
70
- </ div >
71
- < div class =" weui_cells_title " > 收获地址 </ div >
72
- < div class ="weui_cell " >
73
- < div class =" weui_cell_bd weui_cell_primary " >
74
- < textarea rows =" 3 " placeholder =" 请输入收获地址 " name =" user.deliveryaddress " class =" weui_textarea " > </ textarea >
75
- < div class =" weui_textarea_counter " > < span > 0 </ span > /200 </ div >
76
- </ div >
77
- </ div >
78
- < div class ="weui_btn_area ">
79
- < button type ="submit " class ="weui_btn weui_btn_primary "> 注册</ button >
80
- </ div >
11
+ < div style =" text-align: center;font-size: 30px;margin:5px; " > < span > 请填写注册信息 </ span > </ div >
12
+ < div class ="weui-cells weui-cells_form " >
13
+ < form action =" register/save " method =" post " >
14
+ < div class ="weui-cell ">
15
+ < div class =" weui-cell__hd " > < label class =" weui-label " > 昵称 </ label > </ div >
16
+ < div class ="weui-cell__bd ">
17
+ < input name =" user.name " type =" text " class ="weui-input " placeholder =" 请输入昵称 ">
18
+ </ div >
19
+ </ div >
20
+ < div class ="weui-cell ">
21
+ < div class =" weui-cell__hd " > < label class ="weui-label " > 年龄 </ label > </ div >
22
+ < div class =" weui-cell__bd " >
23
+ < input name =" user.age " type =" number " class =" weui-input " placeholder =" 请输入年龄 " >
24
+ </ div >
25
+ </ div >
26
+ < div style =" margin-left:16px; " > 性别 </ div >
27
+ < div class =" weui-cells weui-cells_radio " >
28
+ < label class ="weui-cell weui-cell_active weui-check__label " for =" x11 ">
29
+ < div class ="weui-cell__bd ">
30
+ < p > 男 </ p >
31
+ </ div >
32
+ < div class ="weui-cell__ft " >
33
+ < input type =" radio " class ="weui-check " value =" 男 " name =" user.sex " id =" x11 ">
34
+ < span class ="weui-icon-checked " > </ span >
35
+ </ div >
36
+ </ label >
37
+ < label class =" weui-cell weui-cell_active weui-check__label " for =" x12 " >
38
+ < div class ="weui-cell__bd ">
39
+ < p > 女 </ p >
40
+ </ div >
41
+ < div class =" weui-cell__ft " >
42
+ < input type =" radio " class =" weui-check " value =" 女 " name =" user.sex " id =" x12 " >
43
+ < span class ="weui-icon-checked " > </ span >
44
+ </ div >
45
+ </ label >
46
+ < label class =" weui-cell weui-cell_active weui-check__label " for =" x13 " >
47
+ < div class ="weui-cell__bd ">
48
+ < p > 中性 </ p >
49
+ </ div >
50
+ < div class =" weui-cell__ft " >
51
+ < input type =" radio " class =" weui-check " value =" 中性 " name =" user.sex " id =" x13 " >
52
+ < span class ="weui-icon-checked " > </ span >
53
+ </ div >
54
+ </ label >
55
+ </ div >
56
+
57
+ < div class ="weui-cell ">
58
+ < div class =" weui-cell__hd " > < label class ="weui-label " > 手机号 </ label > </ div >
59
+ < div class =" weui-cell__bd " >
60
+ < input name =" user.phone " type =" tel " class =" weui-input " placeholder =" 请输入手机号 " >
61
+ </ div >
62
+ </ div >
63
+
64
+ < div class ="weui-cells__group weui-cells__group_form " >
65
+ < div class =" weui-cells__title " > 收获地址 </ div >
66
+ < div class ="weui-cells weui-cells_form ">
67
+ < div class ="weui-cell ">
68
+ < div class =" weui-cell__bd " >
69
+ < textarea class =" weui-textarea " name =" user.deliveryaddress " placeholder =" 请输入收获地址 "
70
+ rows =" 3 " > </ textarea >
71
+ < div class ="weui-textarea-counter " > < span > 0 </ span > /200 </ div >
72
+ </ div >
73
+ </ div >
74
+ </ div >
75
+ </ div >
76
+
77
+ < div class ="button-sp-area cell ">
78
+ < button type ="submit " class ="weui-btn_cell weui-btn_cell-default "> 注册</ button >
79
+ </ div >
81
80
</ form >
82
- </ div >
81
+ </ div >
83
82
</ div >
84
83
</ body >
85
84
</ html >
0 commit comments