add.vm
7.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#set($page_title="编辑")
#set($crumbs="首页:/home,编辑")
#set($url_save = "/buyerInfo/save.do")
<div class="page-content">
<div class="page-header">
<span class="pull-right">
<a href="javascript:history.back()" class="btn btn-white btn-default">返回</a>
</span>
<h1>
管理
<small>
<i class="icon-double-angle-right"></i>
功能
</small>
</h1>
</div>
<!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
<!-- PAGE CONTENT BEGINS -->
<form class="form-horizontal" role="form" method="post" action="$url_save">
#if($obj.id)
<input type="hidden" value="${obj.id}" name="id">
#end
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-1"> 手机号: </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-1"
placeholder="手机号" name="mobilePhone"
value="$!{obj.mobilePhone}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-2"> 密码: </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-2"
placeholder="密码" name="accountPwd"
value="$!{obj.accountPwd}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-3"> 用户名: </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-3"
placeholder="用户名" name="accountName"
value="$!{obj.accountName}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-4"> 性别(1:男 2:女): </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-4"
placeholder="性别(1:男 2:女)" name="sex"
value="$!{obj.sex}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-5"> 生日: </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-5"
placeholder="生日" name="birthday"
value="$!{obj.birthday}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-6"> 头像: </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-6"
placeholder="头像" name="face"
value="$!{obj.face}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-7"> 当前绑定的店铺ID: </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-7"
placeholder="当前绑定的店铺ID" name="currentShopId"
value="$!{obj.currentShopId}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-8"> 状态(1:有效 2:无效): </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-8"
placeholder="状态(1:有效 2:无效)" name="yn"
value="$!{obj.yn}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-9"> : </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-9"
placeholder="" name="created"
value="$!{obj.created}"
class="width-100">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label no-padding-right"
for="form-field-10"> : </label>
<div class="col-xs-12 col-sm-4">
<input type="text" id="form-field-10"
placeholder="" name="modified"
value="$!{obj.modified}"
class="width-100">
</div>
</div>
<div class="clearfix form-actions">
<div class="col-md-offset-3 col-md-9">
<button class="btn btn-info" type="submit">
<i class="icon-ok bigger-110"></i>
提交
</button>
<a class="btn btn-info" href="javascript:history.back()">
<i class="icon-undo bigger-110"></i>
返回
</a>
</div>
</div>
</form>
</div>
</div>
</div>