Showing
7 changed files
with
411 additions
and
0 deletions
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="panel panel-default"> | ||
5 | + <div class="panel-heading"> | ||
6 | + <h4 class="panel-title">添加活动模板</h4> | ||
7 | + </div><!-- panel-heading --> | ||
8 | + <div class="panel-body" role="<%type%>" id="wrap-content" data-id="<%id%>" url="<%url%>"> | ||
9 | + <div class="row" id="content-template"> | ||
10 | + | ||
11 | + </div><!-- row --> | ||
12 | + </div><!-- panel-body --> | ||
13 | + <div class="panel-footer"> | ||
14 | + <div class="row"> | ||
15 | + <div class="col-sm-9 col-sm-offset-3"> | ||
16 | + <a id="save_btn" class="btn btn-primary mr5">保存</a> | ||
17 | + <a href="/operations/activitytemplate/index" class="btn btn-primary mr5">取消</a> | ||
18 | + </div> | ||
19 | + | ||
20 | + </div> | ||
21 | + </div><!-- panel-footer --> | ||
22 | +</div> | ||
23 | + | ||
24 | +<script type="text/template" id="template"> | ||
25 | + <div class="form-group"> | ||
26 | + <label class="col-sm-1 control-label">模板标题</label> | ||
27 | + <div class="col-sm-4"> | ||
28 | + <input type="text" name="title" class="form-control observe" placeholder="模板标题" required="" value="[[title]]" data-field="title"> | ||
29 | + </div> | ||
30 | + </div><!-- form-group --> | ||
31 | + <div class="form-group"> | ||
32 | + <label class="col-sm-1 control-label">上传图片</label> | ||
33 | + <div class="col-sm-8"> | ||
34 | + <input type="text" name="image" id="image" class="form-control observe" placeholder="图片地址" value="[[image]]" data-field="image"> | ||
35 | + <input id="uploadBox" name="图片" type="file" style="position: absolute; top: 0;left: 0;z-index: -999"> | ||
36 | + <div id="chooseFile" class="file-name btn btn-success">请选择文件</div> | ||
37 | + </div> | ||
38 | + </div> | ||
39 | + </div> | ||
40 | + <div class="form-group"> | ||
41 | + <label class="col-sm-1 control-label">跳转链接</label> | ||
42 | + <div class="col-sm-9"> | ||
43 | + <input type="text" name="url" id="url" class="form-control observe" placeholder="跳转链接" value="[[url.replace(/"/g, """)]]" data-field="url"> | ||
44 | + <button type="button" class="btn btn-info" id="addUrl">添加链接</button> | ||
45 | + <p style="color:#999">注:链接中不能有英文单引号</p> | ||
46 | + </div> | ||
47 | + </div><!-- form-group --> | ||
48 | + <div class="form-group"> | ||
49 | + <label class="col-sm-1 control-label">分享ID</label> | ||
50 | + <div class="col-sm-2"> | ||
51 | + <input type="text" name="share_id" class="form-control observe" placeholder="分享ID" required="" value="[[shareId]]" data-field="shareId"> | ||
52 | + </div> | ||
53 | + </div><!-- form-group --> | ||
54 | +</script> | ||
55 | + | ||
56 | +<script type="text/template" id="template2"> | ||
57 | + <div id="action-row" class="rows"> | ||
58 | + <div class="form-group"> | ||
59 | + <label class="col-sm-2 control-label">选择跳转目的地:</label> | ||
60 | + | ||
61 | + <div class="col-sm-8"> | ||
62 | + <select name="goTo" id="goTo" class="form-control" value="[[action]]"> | ||
63 | + [[layout action_template]] | ||
64 | + </select> | ||
65 | + | ||
66 | + </div> | ||
67 | + </div> | ||
68 | + | ||
69 | + <div class="form-group"> | ||
70 | + <label class="col-sm-2 control-label">跳转地址:</label> | ||
71 | + | ||
72 | + <div class="col-sm-8"> | ||
73 | + <textarea rows="2" id="goToUrl" class="form-control" placeholder="跳转地址">[[url]]</textarea> | ||
74 | + </div> | ||
75 | + | ||
76 | + </div> | ||
77 | + </div> | ||
78 | +</script> | ||
79 | + | ||
80 | +<%include '../../resource/__partail/actions'%> |
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="contentpanel"> | ||
5 | + <div style="margin-bottom: 20px"> | ||
6 | + <a href="/operations/activitytemplate/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加活动模板</a> | ||
7 | + </div> | ||
8 | + <div class="panel"> | ||
9 | + <div class="panel-body nopadding"> | ||
10 | + <div class="basicTable_wrapper" id="content-list"></div> | ||
11 | + </div> | ||
12 | + </div> | ||
13 | +</div> |
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="contentpanel"> | ||
5 | + <div class="panel panel-default" style="margin-bottom:10px;"> | ||
6 | + <div class="panel-heading"> | ||
7 | + <div id="basicForm" class="form-horizontal form-bordered form-inline" data-id="<%id%>"> | ||
8 | + <div class="form-group"> | ||
9 | + <input id="uploadBox" name="file" type="file" style="position: absolute; top: 0;left: 0;z-index: -999"> | ||
10 | + <div id="chooseFile" class="file-name btn btn-success">上传商品</div> | ||
11 | + <p style="color: #999">注:上传.xls文件</p> | ||
12 | + </div> | ||
13 | + </div> | ||
14 | + </div> | ||
15 | + <div class="panel-body" id="condition"> | ||
16 | + <div class="panel-col"> | ||
17 | + <input type="text" class="form-control" name="product_skn" placeholder="输入SKN查询" id="productSkn"> | ||
18 | + </div> | ||
19 | + <a id="filter-btn" class="btn btn-info">筛选</a> | ||
20 | + <a href="<%url%>" class="btn btn-info">全部</a> | ||
21 | + </div> | ||
22 | + </div> | ||
23 | + <div class="panel panel-primary-head" id="product-list"> | ||
24 | + </div> | ||
25 | +</div> |
server/views/operations/icon/Index.html
0 → 100644
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="contentpanel"> | ||
5 | + <div class="panel panel-default" style="margin-bottom:10px;"> | ||
6 | + <div class="panel-body" style="padding-bottom: 0"> | ||
7 | + <a class="btn btn-success" id="addInfo"><i class="fa fa-plus"></i> 添加图标</a> | ||
8 | + </div> | ||
9 | + <div class="panel-body"> | ||
10 | + <div class="row"> | ||
11 | + <div class="panel-col"> | ||
12 | + <select name="status" id="status-filter" tabindex="-1" class="form-control"> | ||
13 | + <option value="">请选择状态</option> | ||
14 | + <option value="0">关闭</option> | ||
15 | + <option value="1">开启</option> | ||
16 | + </select> | ||
17 | + </div> | ||
18 | + <div class="panel-col"> | ||
19 | + <select name="type" id="type-filter" class="form-control"> | ||
20 | + <option value="" selected="">请选择类别</option> | ||
21 | + <option value="0">通用</option> | ||
22 | + <option value="1">男生 BOYS</option> | ||
23 | + <option value="2">女生 GIRLS</option> | ||
24 | + <option value="3">潮童 KIDS</option> | ||
25 | + <option value="4">创意生活 LIFE STYLE</option> | ||
26 | + </select> | ||
27 | + </div> | ||
28 | + <div class="panel-col"> | ||
29 | + <a class="btn btn-info" id="filter-btn">筛选</a> | ||
30 | + <a href="/operations/icon/index"> | ||
31 | + <button class="btn btn-info" type="button">全部</button> | ||
32 | + </a> | ||
33 | + </div> | ||
34 | + </div> | ||
35 | + </div> | ||
36 | + </div> | ||
37 | + <div id="content-list"></div> | ||
38 | +</div> | ||
39 | + | ||
40 | +<script type="text/template" id="toast-template"> | ||
41 | + <div class="panel-body" id="base-form"> | ||
42 | + <div class="row"> | ||
43 | + <div class="form-group"> | ||
44 | + <label class="col-sm-2 control-label">名称</label> | ||
45 | + <div class="col-sm-10"> | ||
46 | + <input type="text" name="ico_name" class="form-control observe" placeholder="名称" required | ||
47 | + value="[[icoName]]" data-field="icoName"> | ||
48 | + <input type="hidden" name="id" class="form-control" value="[[id]]"> | ||
49 | + </div> | ||
50 | + </div><!-- form-group --> | ||
51 | + <div class="form-group"> | ||
52 | + <label class="col-sm-2 control-label">默认图片名称</label> | ||
53 | + <div class="col-sm-10"> | ||
54 | + <input type="text" name="default_ico" placeholder="默认图片名称" value="[[defaultIco]]" | ||
55 | + class="form-control observe" data-field="defaultIco" required> | ||
56 | + <p style="color:#999">注:文件名一经设置,请谨慎修改。文件名示例:123.png</p> | ||
57 | + </div> | ||
58 | + </div> | ||
59 | + <div class="form-group"> | ||
60 | + <label class="col-sm-2 control-label">高亮图片名称</label> | ||
61 | + <div class="col-sm-10"> | ||
62 | + <input type="text" name="ico" placeholder="高亮图片名称" value="[[ico]]" class="form-control observe" | ||
63 | + data-field="ico" required> | ||
64 | + <p style="color:#999">注:文件名一经设置,请谨慎修改。文件名示例:123.png</p> | ||
65 | + </div> | ||
66 | + </div> | ||
67 | + | ||
68 | + <div class="form-group"> | ||
69 | + <label class="col-sm-2 control-label">频道</label> | ||
70 | + <div class="col-sm-10"> | ||
71 | + <select name="type" id="type" style="width:150px;height:40px;" class="form-control observe" | ||
72 | + value="[[type]]" data-field="type" required> | ||
73 | + <option value="" selected="">请选择频道</option> | ||
74 | + <option value="0">通用</option> | ||
75 | + <option value="1">男生 BOYS</option> | ||
76 | + <option value="2">女生 GIRLS</option> | ||
77 | + <option value="3">潮童 KIDS</option> | ||
78 | + <option value="4">创意生活 LIFE STYLE</option> | ||
79 | + </select> | ||
80 | + </div> | ||
81 | + </div><!-- form-group --> | ||
82 | + <div class="form-group"> | ||
83 | + <label class="col-sm-2 control-label">key</label> | ||
84 | + <div class="col-sm-10"> | ||
85 | + <select name="ico_key" id="ico_key" class="form-control observe" style="width:150px;height:40px;" | ||
86 | + value="[[icoKey]]" data-field="icoKey" required> | ||
87 | + <option value="" selected="">请选择key</option> | ||
88 | + <option value="home">首页</option> | ||
89 | + <option value="category">分类</option> | ||
90 | + <option value="guang">逛</option> | ||
91 | + <option value="shoppingCart">购物车</option> | ||
92 | + <option value="profile">我的</option> | ||
93 | + <option value="logoCh">中文logo</option> | ||
94 | + <option value="logoEn">英文logo</option> | ||
95 | + <option value="setting">设置按钮</option> | ||
96 | + <option value="message">消息中心</option> | ||
97 | + <option value="address">地址管理</option> | ||
98 | + <option value="myguang">我的逛</option> | ||
99 | + <option value="yohoCoin">YOHO币</option> | ||
100 | + <option value="coupon">优惠券</option> | ||
101 | + <option value="feedback">意见反馈</option> | ||
102 | + <option value="invite">邀请好友</option> | ||
103 | + <option value="online">在线客服</option> | ||
104 | + <option value="willDeliver">待发货</option> | ||
105 | + <option value="willPay">待付款</option> | ||
106 | + <option value="willComment">待评价</option> | ||
107 | + <option value="willReceived">待收货</option> | ||
108 | + <option value="reback">退/换货</option> | ||
109 | + <option value="vipBill">会员账单</option> | ||
110 | + <option value="myList">我的晒单</option> | ||
111 | + <option value="globalBuy">全球购</option> | ||
112 | + <option value="myLimitCode">我的限购码</option> | ||
113 | + <option value="suggestion">服务与反馈</option> | ||
114 | + <option value="helpCenter"> 帮助中心</option> | ||
115 | + </select> | ||
116 | + </div> | ||
117 | + </div><!-- form-group --> | ||
118 | + </div><!-- row --> | ||
119 | + </div> | ||
120 | +</script> |
server/views/operations/webshare/Edit.html
0 → 100644
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="panel panel-default"> | ||
5 | + <div class="panel-heading"> | ||
6 | + <h4 class="panel-title"><%pageName%></h4> | ||
7 | + </div><!-- panel-heading --> | ||
8 | + <div class="panel-body"> | ||
9 | + <div class="row" id="edit-content" data-id="<%id%>" url="<%url%>"> | ||
10 | + | ||
11 | + </div><!-- row --> | ||
12 | + </div><!-- panel-body --> | ||
13 | + <div class="panel-footer"> | ||
14 | + <div class="row"> | ||
15 | + <div class="col-sm-9 col-sm-offset-3"> | ||
16 | + <a id="save_btn" class="btn btn-primary mr5">保存</a> | ||
17 | + <a href="/operations/webshare/index" class="btn btn-primary mr5">取消</a> | ||
18 | + </div> | ||
19 | + </div> | ||
20 | + </div><!-- panel-footer --> | ||
21 | +</div> | ||
22 | + | ||
23 | +<script type="text/template" id="edit-template"> | ||
24 | + <div class="form-group"> | ||
25 | + <label class="col-sm-1 control-label">分享名称</label> | ||
26 | + <div class="col-sm-9"> | ||
27 | + <input type="text" name="title" class="form-control observe" placeholder="活动分享名称" required="" value="[[title]]" data-field="title"> | ||
28 | + <p style="color:#999">注:分享名称必填</p> | ||
29 | + </div> | ||
30 | + </div> | ||
31 | + <div class="form-group"> | ||
32 | + <label class="col-sm-1 control-label">分享主标题</label> | ||
33 | + <div class="col-sm-9"> | ||
34 | + <input type="text" name="share_title_main" class="form-control observe" placeholder="分享主标题" value="[[shareTitleMain]]" data-field="shareTitleMain"> | ||
35 | + </div> | ||
36 | + </div> | ||
37 | + <div class="form-group"> | ||
38 | + <label class="col-sm-1 control-label">分享副标题</label> | ||
39 | + <div class="col-sm-9"> | ||
40 | + <input type="text" name="share_title_sub" class="form-control observe" placeholder="分享副标题" value="[[shareTitleSub]]" data-field="shareTitleSub"> | ||
41 | + </div> | ||
42 | + </div> | ||
43 | + <div class="form-group"> | ||
44 | + <label class="col-sm-1 control-label">分享图片</label> | ||
45 | + <div class="col-sm-9"> | ||
46 | + <input type="file" name="shareImage" data-field="shareImage" value="[[shareImage]]" /> | ||
47 | + </div> | ||
48 | + </div> | ||
49 | + <div class="form-group"> | ||
50 | + <label class="col-sm-1 control-label">跳转链接</label> | ||
51 | + <div class="col-sm-9"> | ||
52 | + <input type="text" name="share_url" class="form-control observe" placeholder="跳转链接" required="" value="[[shareUrl]]" data-field="shareUrl"> | ||
53 | + <p style="color:#999">注:必填,链接中不能有英文单引号</p> | ||
54 | + </div> | ||
55 | + </div><!-- form-group --> | ||
56 | + <div class="form-group" hidden id="choose-status"> | ||
57 | + <label class="col-sm-1 control-label">状态</label> | ||
58 | + <div class="col-sm-9"> | ||
59 | + <select name="status" id="status" style="width:120px;" tabindex="-1" value="[[status]]" class="form-control observe" data-field="status"> | ||
60 | + <option value="">选择状态</option> | ||
61 | + <option value="0">关闭</option> | ||
62 | + <option value="1">开启</option> | ||
63 | + </select> | ||
64 | + </div> | ||
65 | + </div> | ||
66 | +</script> |
server/views/operations/webshare/Index.html
0 → 100644
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="contentpanel"> | ||
5 | + <div class="panel panel-default" style="margin-bottom:10px;"> | ||
6 | + <div class="panel-body" style="padding-bottom: 0"> | ||
7 | + <div id="basicForm" class="form-horizontal form-bordered form-inline" data-id="<%id%>"> | ||
8 | + <div class="form-group" style="padding: 0"> | ||
9 | + <a href="/operations/webshare/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加活动分享</a> | ||
10 | + </div> | ||
11 | + </div> | ||
12 | + </div> | ||
13 | + <div class="panel-body" id="condition"> | ||
14 | + <div class="row"> | ||
15 | + <div class="panel-col"> | ||
16 | + <input type="text" class="form-control" name="product_skn" placeholder="分享id" id="shareId-filter"> | ||
17 | + </div> | ||
18 | + <div class="panel-col"> | ||
19 | + <input type="text" class="form-control" name="product_skn" placeholder="标题" id="title-filter"> | ||
20 | + </div> | ||
21 | + <div class="panel-col"> | ||
22 | + <select name="status" id="status-filter" tabindex="-1" class="form-control"> | ||
23 | + <option value="">选择状态</option> | ||
24 | + <option value="0">关闭</option> | ||
25 | + <option value="1">开启</option> | ||
26 | + </select> | ||
27 | + </div> | ||
28 | + <div class="panel-col"> | ||
29 | + <a id="filter-btn" class="btn btn-info">筛选</a> | ||
30 | + <a href="<%url%>" class="btn btn-info">全部</a> | ||
31 | + </div> | ||
32 | + </div> | ||
33 | + </div> | ||
34 | + </div> | ||
35 | + <div class="panel panel-primary-head" id="content-list"></div> | ||
36 | +</div> |
server/views/operations/ziplist/Index.html
0 → 100644
1 | +<%include '../../common/__ui/header'%> | ||
2 | +<%include '../../common/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="contentpanel"> | ||
5 | + <div class="panel panel-default" style="margin-bottom:10px;"> | ||
6 | + <div class="panel-body" style="padding-bottom: 0"> | ||
7 | + <a class="btn btn-success" id="uploadZip"><span class="glyphicon glyphicon-arrow-up"></span> 上传图片包</a> | ||
8 | + </div> | ||
9 | + <div class="panel-body"> | ||
10 | + <div class="row"> | ||
11 | + <div class="panel-col"> | ||
12 | + <select name="status" id="status-filter" tabindex="-1" class="form-control"> | ||
13 | + <option value="">请选择状态</option> | ||
14 | + <option value="0">关闭</option> | ||
15 | + <option value="1">开启</option> | ||
16 | + </select> | ||
17 | + </div> | ||
18 | + <div class="panel-col"> | ||
19 | + <select name="platform" id="platform-filter" tabindex="-1" class="form-control"> | ||
20 | + <option value="" selected="">请选择平台</option> | ||
21 | + <option value="iphone">IOS手机</option> | ||
22 | + <option value="ipad">IOS Pad</option> | ||
23 | + <option value="android">安卓手机</option> | ||
24 | + <option value="androidpad">安卓Pad</option> | ||
25 | + <option value="h5">手机网站</option> | ||
26 | + <option value="web">网站</option> | ||
27 | + <option value="platform">平台</option> | ||
28 | + </select> | ||
29 | + </div> | ||
30 | + <div class="panel-col"> | ||
31 | + <a class="btn btn-info" id="filter-btn">筛选</a> | ||
32 | + <a href="/operations/icon/index"> | ||
33 | + <button class="btn btn-info" type="button">全部</button> | ||
34 | + </a> | ||
35 | + </div> | ||
36 | + </div> | ||
37 | + </div> | ||
38 | + </div> | ||
39 | + <div id="content-list"></div> | ||
40 | +</div> | ||
41 | + | ||
42 | +<script type="text/template" id="toast-template"> | ||
43 | + <div class="panel-body" id="base-form"> | ||
44 | + <div class="row"> | ||
45 | + <div class="form-group"> | ||
46 | + <label class="col-sm-2 control-label">上传文件</label> | ||
47 | + <div class="col-sm-10"> | ||
48 | + <input type="text" name="zip" id="zip" class="form-control" required prompt="图片包"> | ||
49 | + <input id="uploadBox" name="图片包" type="file" | ||
50 | + style="position: absolute; top: 0;left: 0;z-index: -999"> | ||
51 | + <div id="chooseFile" class="file-name btn btn-success">上传图片包</div> | ||
52 | + </div> | ||
53 | + </div> | ||
54 | + <div class="form-group"> | ||
55 | + <label class="col-sm-2 control-label">类别</label> | ||
56 | + <div class="col-sm-10"> | ||
57 | + <select name="platform" id="platform" style="width:150px;" tabindex="-1" title="" | ||
58 | + class="form-control"> | ||
59 | + <option value="iphone">IOS手机</option> | ||
60 | + <option value="ipad">IOS Pad</option> | ||
61 | + <option value="android">安卓手机</option> | ||
62 | + <option value="androidpad">安卓Pad</option> | ||
63 | + <option value="h5">手机网站</option> | ||
64 | + <option value="web">网站</option> | ||
65 | + <option value="platform">平台</option> | ||
66 | + </select> | ||
67 | + </div> | ||
68 | + </div><!-- form-group --> | ||
69 | + </div><!-- row --> | ||
70 | + </div> | ||
71 | +</script> |
-
Please register or login to post a comment