add.html
4.5 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
<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('zj_service/index')}">服务列表</a></li>
<li class="active"><a>添加服务</a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('zj_service/addPost')}" method="post">
<fieldset>
<div class="tabbable">
<div class="tab-content">
<div class="tab-pane active" id="A">
<div class="form-group">
<label for="input-ser-name" class="col-sm-2 control-label"><span class="form-required">*</span>服务名称</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-ser-name" name="name" required>
</div>
</div>
<div class="form-group">
<label for="input-ser-ori" class="col-sm-2 control-label"><span class="form-required">*</span>原价</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-ser-ori" name="price_ori" required>
</div>
</div>
<div class="form-group">
<label for="input-ser-new" class="col-sm-2 control-label"><span class="form-required">*</span>现价</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-ser-new" name="price_new" required>
</div>
</div>
<div class="form-group">
<label for="input-ser-ser" class="col-sm-2 control-label"><span class="form-required">*</span>服务分类</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="ser_type" id="input-ser-ser">
<foreach name="ser" item="val">
<option value="{$val.id}">{$val.name}</option>
</foreach>
</select>
</div>
</div>
<div class="form-group">
<label for="input-ser-describes" class="col-sm-2 control-label"><span class="form-required">*</span>服务简介</label>
<div class="col-md-6 col-sm-10">
<input type="text" class="form-control" id="input-ser-describes" name="describes" required>
</div>
</div>
<div class="form-group">
<label for="input-ser-apply" class="col-sm-2 control-label"><span class="form-required">*</span>适用阶段</label>
<div class="col-md-6 col-sm-10">
<select class="form-control" name="apply" id="input-ser-apply">
<option value="0">无经验</option>
<option value="1">1-2年经验</option>
<option value="2">3-5年经验</option>
<option value="2">5年以上经验</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label"><span class="form-required">*</span>服务详情</label>
<div class="col-md-6 col-sm-10">
<textarea name="content"cols="96" rows="5"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>