vipamount-edit.html
3.43 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
<div class="contentpanel">
<form id="basicForm" role="{{type}}" class="form-horizontal form-bordered" method="get" action="{{action}}">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">活动创建</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="form-group">
<label for="title" class="col-sm-2 control-label">促销活动名称<i class="red">*</i></label>
<div class="col-sm-8">
<input type="text" id="title" placeholder="促销活动名称,支持中英文、数字,建议20个字以内" class="form-control" required maxlength="20" value="{{name}}">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">促销活动类型</label>
<div class="col-sm-3">
<select id="type1" class="form-control">
<option value="1">vip累计金额翻倍</option>
</select>
</div>
<input type="hidden" id="type" value="1" required>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">倍数设置</label>
<div class="col-sm-3">
<select id="num1" class="form-control">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
<input type="hidden" id="num" value="1" required>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">活动时间设置<span class="red">*</span></label>
<div class="col-sm-3">
<input type="text" class="form-control" jsaction="time:end:endTime" id="startTime" placeholder="活动开始时间" value="" readonly required>
</div>
<div class="col-sm-3">
<input type="text" class="form-control" jsaction="time:start:startTime" id="endTime" placeholder="活动结束时间" value="" readonly required>
</div>
<!-- readonly require-->
</div>
</div>
</div>
<div class="panel-footer">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a>
<button id="save_brand" type="submit" data-loading-text="保存中..." class="btn btn-primary">保存</button>
</div>
</div>
</div>
</div>
</form>
</div>