close_match.html
3.09 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
<div class="panel panel-default">
<form action="" class="form-horizontal form-bordered">
<div class="panel-heading">
<a class="netsale-position" href="javascript:;" name="position13"></a>
<div class="panel-btns" style="display: none;">
<a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a>
</div>
<h2 class="panel-title">搭配</h2>
</div>
<div class="panel-body nopadding">
<div id="dapeiTable"></div>
</div>
<div class="panel-footer">
<button class="btn btn-primary" id="dapeiadd">添加搭配</button>
<!-- <button class="btn btn-primary" id="dapeisave">保存</button> -->
</div>
</form>
</div>
<script type="text/template" id="wqt-template1">
<div class="rows">
<div class="form-group">
<div class="col-sm-8">
<div class="poseditimg">
[[if imageUrl]]
<img src="[[imageUrl]]">
[[/if]]
[[each info as item __index]]
<div class="pos form-control" style="left:[[item.left]]px;top:[[item.top]]px;">
<input type="text" maxlength="8" class="pos-text" data-index='[[__index]]' value="[[item.id]]" onkeyup="this.value=this.value.replace(/\D/gi,'')"/>
<span class="close" data-index='[[__index]]'>×</span>
</div>
[[/each]]
</div>
</div>
<div class="col-sm-4">
<div class="rows" id="dapei-form">
<div class="form-group">
<label class="control-label pull-left"><i class="red">*</i> 介绍</label>
<div class="pull-left" style="width: 160px;">
<input type="text" id="content" class="form-control panel-input" placeholder="介绍" value="[[content]]" required>
</div>
</div>
<div class="form-group">
<label class="control-label pull-left"><i class="red">*</i> 图片</label>
<div class="pull-left" style="width: 160px;">
<input type="file" id="imageUrl" name="imageUrl" value="[[imageUrl]]" required/>
</div>
</div>
<div class="form-group">
<label class="control-label pull-left"><i class="red">*</i> 排序</label>
<div class="pull-left" style="width: 160px;">
<input type="number" id="orderBy" class="form-control panel-input" placeholder="排序" value="[[orderBy]]" required>
</div>
</div>
</div>
</div>
</div>
</div>
</script>
<script type="text/template" id="kapian">
<div class="pos form-control">
<input type="text" maxlength="8" class="pos-text" data-index='[[__index]]' value="[[id]]" onkeyup="this.value=this.value.replace(/\D/gi,'')" />
<span class="close" data-index='[[__index]]'>×</span>
</div>
</script>