shopsVersionUpdate.html
4.16 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
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">运营管理</a></li>
<li>商家端app包上传</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>商家端app包上传</h4>
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-heading">
<a class="btn btn-success " id="addAppVersion"><i class="fa fa-plus"></i> 添加</a>
</div>
<div class="panel-body">
<div class="panel-col">
<input type="text" id="appVersion" class="form-control" placeholder="app版本">
</div>
<div class="panel-col">
<select name="platform" id="clientType" tabindex="-1" class="form-control select2-offscreen brandBtn-group">
<option value="" selected="">安装包类型</option>
<option value="iphone">IOS手机</option>
<option value="ipad">IOS Pad</option>
<option value="android">安卓手机</option>
</select>
</div>
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
<div id="list-content"></div>
</div>
<script type="text/template" id="template">
<div class="row" id="base-form">
<div class="form-group">
<label class="col-sm-2 control-label">app版本</label>
<div class="col-sm-8">
<input type="text" value="[[appVersion]]" class="form-control observe" data-field="appVersion" prompt="app版本" placeholder="请填写版本" required>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">安装包类型</label>
<div class="col-sm-8">
<select name="platform" id="types" tabindex="-1" class="form-control select2-offscreen brandBtn-group observe" data-field="clientType" value="[[clientType]]" required>
<option value="" selected="">请选择类型</option>
<option value="iphone">IOS手机</option>
<option value="ipad">IOS Pad</option>
<option value="android">安卓手机</option>
</select>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">url地址</label>
<div class="col-sm-6">
<input id="url" class="form-control" value="[[url]]" type="text" disabled="disabled" style="cursor:default" required prompt="app文件">
</div>
<div class="col-sm-4" style="position: relative">
<input id="appFile" name="appFile" class="btn btn-default excel-upload" type="file" style="position: absolute; top: 0;left: 0;">
<div class="file-name btn btn-default">请选择文件</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">提醒内容</label>
<div class="col-sm-8">
<textarea name="content" class="form-control observe" data-field="content" required prompt="提醒内容">[[content]]</textarea>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">状态</label>
<div class="col-sm-8">
<label style="cursor: pointer;"><input style="width: 15px;height: 15px" type="radio" name="status" value="0" checked>关闭</label>
<label style="cursor: pointer;"><input style="width: 15px;height: 15px" type="radio" name="status" value="1">开启</label>
</div>
<input type="hidden" id="status" value="[[status||0]]" for="radio" />
</div><!-- form-group -->
</div>
</script>