Index.html
7.06 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a class="btn btn-success" id="addInfo"><i class="fa fa-plus"></i> 添加图标</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" class="form-control" id="icoName-filter" placeholder="请输入名称"/>
</div>
<div class="panel-col">
<select name="status" id="status-filter" tabindex="-1" class="form-control">
<option value="">请选择状态</option>
<option value="0">关闭</option>
<option value="1">开启</option>
</select>
</div>
<div class="panel-col">
<select name="type" id="type-filter" class="form-control">
<option value="" selected="">请选择类别</option>
<option value="0">通用</option>
<option value="1">男生 BOYS</option>
<option value="2">女生 GIRLS</option>
<option value="3">潮童 KIDS</option>
<option value="4">创意生活 LIFE STYLE</option>
</select>
</div>
<div class="panel-col">
<a class="btn btn-info" id="filter-btn">筛选</a>
<a href="/operations/icon/index">
<button class="btn btn-info" type="button">全部</button>
</a>
</div>
</div>
</div>
</div>
<div id="content-list"></div>
</div>
<script type="text/template" id="toast-template">
<div class="panel-body" id="base-form">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">名称</label>
<div class="col-sm-10">
<input type="text" name="ico_name" class="form-control observe" placeholder="名称" required
value="[[icoName]]" data-field="icoName" maxlength="20">
<input type="hidden" name="id" class="form-control" value="[[id]]">
<p style="color:#999">注:名称不能超过20个字符</p>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">默认图片名称</label>
<div class="col-sm-10">
<input type="text" name="default_ico" placeholder="默认图片名称" value="[[defaultIco]]"
class="form-control observe" data-field="defaultIco" required>
<p style="color:#999">注:文件名一经设置,请谨慎修改。文件名示例:123.png</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">高亮图片名称</label>
<div class="col-sm-10">
<input type="text" name="ico" placeholder="高亮图片名称" value="[[ico]]" class="form-control observe"
data-field="ico" required>
<p style="color:#999">注:文件名一经设置,请谨慎修改。文件名示例:123.png</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">频道</label>
<div class="col-sm-10">
<select name="type" id="type" style="width:150px;height:40px;" class="form-control observe"
value="[[type]]" data-field="type" required>
<option value="" selected="">请选择频道</option>
<option value="0">通用</option>
<option value="1">男生 BOYS</option>
<option value="2">女生 GIRLS</option>
<option value="3">潮童 KIDS</option>
<option value="4">创意生活 LIFE STYLE</option>
</select>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">key</label>
<div class="col-sm-10">
<select name="ico_key" id="ico_key" class="form-control observe" style="width:150px;height:40px;"
value="[[icoKey]]" data-field="icoKey" required>
<option value="" selected="">请选择key</option>
<option value="home">首页</option>
<option value="category">分类</option>
<option value="ufo">UFO</option>
<option value="guang">逛</option>
<option value="shoppingCart">购物车</option>
<option value="profile">我的</option>
<option value="logoCh">中文logo</option>
<option value="logoEn">英文logo</option>
<option value="setting">设置按钮</option>
<option value="message">消息中心</option>
<option value="address">地址管理</option>
<option value="myguang">我的逛</option>
<option value="yohoCoin">YOHO币</option>
<option value="coupon">优惠券</option>
<option value="feedback">意见反馈</option>
<option value="invite">分享购</option>
<option value="inviteFriend">邀请好友</option>
<option value="online">在线客服</option>
<option value="willDeliver">待发货</option>
<option value="willPay">待付款</option>
<option value="willComment">待评价</option>
<option value="willReceived">待收货</option>
<option value="reback">退/换货</option>
<option value="vipBill">会员账单</option>
<option value="myList">我的晒单</option>
<option value="globalBuy">全球购</option>
<option value="myLimitCode">我的限购码</option>
<option value="suggestion">服务与反馈</option>
<option value="helpCenter"> 帮助中心</option>
<option value="instalment">有货分期</option>
<option value="redPackets">红包</option>
<option value="giftCard">礼品卡</option>
</select>
</div>
</div><!-- form-group -->
</div><!-- row -->
</div>
</script>