Index.html
3.74 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
<%include '../common/__ui/header'%>
<%include '../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="...">
<div class="panel-body" style="padding-bottom: 0">
<a id="addVideo" href="javascript:;" class="btn btn-success"><span class="glyphicon glyphicon-cloud-upload"></span> 添加新视频 </a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" value="" name="productSkn" id="content-filter1" placeholder="SKN"
class="form-control">
</div>
<div class="panel-col">
<input type="text" value="" name="videoName" id="content-filter2" placeholder="视频名称"
class="form-control">
</div>
<div class="panel-col2">
<a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
<a id="filter-all" href="/video/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div id="content-list"></div>
</div>
<script type="text/template" id="template">
<div class="rows">
<div class="form-group">
<label class="col-sm-2 control-label" for="videoName">视频名称<span class="red">*</span></label>
<div class="col-sm-3">
<input type="text" value="[[videoName]]" class="form-control observe" id="videoName"
placeholder="视频名称" required="required" data-field="videoName"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="avatar">视频<span class="red">*</span></label>
<div class="col-sm-6">
<div class="cover-image-list col-sm-10">
<ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;">
<li class="cover-image-item fileinput-button">
<div class="goods-img">
<a class="fileinput-button-icon" id="imgATag" href="javascript:void(0);">+</a>
<input type="file" class="goods-img-upload picfile" name="picfile" required="required" id="picfile" placeholder="图片" multiple="true">
<img id="imgTag" width="106" height="146" src="[[url]]" >
</div>
</li>
</ul>
<label class="col-sm-8 control-label" for="avatar"><span class="red">ps:只支持MP4格式</span></label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="skn">关联SKN<span class="red">*</span></label>
<div class="col-sm-3">
<input type="text" value="[[skn]]" class="form-control observe" id="skn"
placeholder="关联SKN" required="required" data-field="skn"/>
</div>
<label class="col-sm-2 control-label" style="margin-top:13px"><span class="red">多个SKN以逗号分隔</span></label>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="note">备注<span class="red"></span></label>
<div class="col-sm-3">
<input type="text" value="[[note]]" class="form-control observe" id="note"
placeholder="备注" data-field="note"/>
</div>
</div>
</div>
</script>