DecorationBLK.html
11.5 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<%include '../common/__ui/header'%>
<div class="tabheader">
<ul class="nav nav-tabs">
<li data-template="1" class="active"><a href="javascript:">默认模板</a></li>
</ul>
</div>
<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" style="font-family: 'Microsoft YaHei'">
<li><a href="javascript:"><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="javascript:">店铺管理</a></li>
<li>店铺装修管理</li>
</ul>
<div style="padding-right: 60px">
<div class="col-sm-4" style="padding-left: 0; font-family: 'Microsoft YaHei'">
<h4 style="line-height: 30px;font-size: 24px;margin-top: 2px">BLK装修模板</h4>
</div>
<div class="col-sm-4">
<div class="platformView" style="text-align: center">
<label class="radio-inline"><input type="radio" name="Platform" value="pc" checked>PC端</label>
<label class="radio-inline" style="margin-left: 30px;"><input type="radio" name="Platform" value="app">APP端</label>
</div>
</div>
<div id="operations" class="col-sm-4">
<div id="decorationBack" style="display: none; text-align: right; margin-top: -10px">
<input type="button" class="btn btn-default " value="返回" onclick="location.href='/supplier/shop/decoration'">
</div>
<div id="decorationSubmite" style="display: none; text-align: right; margin-top: -10px">
<input id="saveDecoration" type="button" class="btn btn-success delay-btn" value="暂存">
<input id="submitDecoration" type="button" class="btn btn-primary delay-btn" value="提交审核">
<input type="button" class="btn btn-default " value="返回" onclick="location.href='/supplier/shop/decoration'">
</div>
<div id="decorationCheck" style="display: none; text-align: right; margin-top: -10px">
<input id="checkOk" type="button" class="btn btn-primary delay-btn" value="审核通过">
<input id="checkNo" type="button" class="btn btn-danger delay-btn" value="驳回">
<input type="button" class="btn btn-default " value="返回" onclick="location.href='/supplier/check/index'">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="main" class="contentpanel"></div>
<!--BLK店铺pc端-->
<script type="text/template" id="1-pc">
<div id="decorationTemplate_blk_pc">
<div class="shopBanner canEdit" data-dialogid="shopTopBanner">
<img src="[[resources.shopTopBanner.data.shopSrc]]">
[[if resources.shopTopBanner.data.isShowShopName == "Y"]]
<h1 style="color:white;margin-top:70px">[[shopName]]</h1>
[[/if]]
</div>
<div class="nav canEdit" data-dialogid="navigationBar">
<ul>
<li><a href="javascript:">店铺首页</a></li>
<li><a href="javascript:">全部商品</a></li>
<li><a href="javascript:">新品上架</a></li>
<li><a href="javascript:">人气商品</a></li>
[[each resources.navigationBar.data as item _index]]
[[if item.name]]
<li><a href="javascript:">[[item.name]]</a></li>
[[/if]]
[[/each]]
</ul>
</div>
<div class="resourceImg">
<div class="largeSlideImg canEdit" data-dialogid="largeSlideImg">
<ul>
<li><img src="[[resources.largeSlideImg.data[0].src]]"></li>
<li><img src="[[resources.largeSlideImg.data[1].src]]"></li>
<div class="clearfix"></div>
</ul>
</div>
<div class="oneRowTwoColImages canEdit" data-dialogid="oneRowTwoColImages">
<ul>
<li><img src="[[resources.oneRowTwoColImages.data[0].src]]"></li>
<li><img src="[[resources.oneRowTwoColImages.data[1].src]]"></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
<div class="newProducts">
<div class="title">
<h1>NEW ARRIVALS</h1>
<em>最新上架</em>
<a class="more" href="javascript:">MORE</a>
</div>
<div class="productList canEdit" data-dialogid="newProducts">
<ul>
[[if resources.newProducts.data.length > 0]]
[[each resources.newProducts.data as item _index]]
<li>
<img src="[[item.src]]">
<div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div>
</li>
[[/each]]
[[else]]
<li>
<img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png">
<div class="productInfo"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div>
</li>
[[/if]]
<div class="clearfix"></div>
</ul>
</div>
</div>
<div class="hotProducts" style="margin-bottom: 20px">
<div class="title">
<h1>HOTS</h1>
<em>人气单品</em>
<a class="more" href="javascript:">MORE</a>
</div>
<div class="productList canEdit" data-dialogid="hotProducts">
<ul>
[[if resources.hotProducts.data.length > 0]]
[[each resources.hotProducts.data as item _index]]
<li>
<img src="[[item.src]]">
<div class="productInfo"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div>
</li>
[[/each]]
[[else]]
<li>
<img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png">
<div class="productInfo"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div>
</li>
[[/if]]
<div class="clearfix"></div>
</ul>
</div>
</div>
</div>
</script>
<!--BLK店铺app端-->
<script type="text/template" id="1-app">
<div id="decorationTemplate_blk_app">
<div class="shopBanner canEdit" data-dialogid="shopTopBanner_app">
<img src="[[resources.shopTopBanner_app.data.shopSrc]]">
</div>
</div>
</script>
<!--pc端banner-->
<script type="text/template" id="shopTopBanner">
<table class="table table-bordered">
<thead>
<tr>
<th>PC端店铺banner图片</th>
<th>PC端是否展示店铺名称</th>
<th>PC端商品详情页banner图片</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input type="file" fileType='14' name='shopBannerImg' class="observe" value="[[data.shopSrc]]" data-field="shopSrc" >
</td>
<td>
<lable>
<input type='radio' name='isShowShopName' class="observe" value='Y' [[data.isShowShopName=='Y'?'checked':'']] data-field="isShowShopName">
显示店铺名称
</lable><br>
<lable>
<input type='radio' name='isShowShopName' class="observe" value='N' [[data.isShowShopName=='N'?'checked':'']] data-field="isShowShopName">
不显示店铺名称
</lable>
</td>
<td>
<input type="file" fileType='15' name='DetailbannerImage' class="observe" value="[[data.detailSrc]]" data-field="detailSrc" >
</td>
</tr>
</tbody>
</table>
</script>
<!--app端banner-->
<script type="text/template" id="shopTopBanner_app">
<table class="table table-bordered">
<thead>
<tr>
<th>APP端店铺banner图片</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input type="file" fileType='18' name='shopBannerAppImg' class="observe" value="[[data.shopSrc]]" data-field="shopSrc" >
</td>
</tr>
</tbody>
</table>
</script>
<!--pc端nav-->
<script type="text/template" id="navigationBar">
<table class="table table-bordered">
<thead>
<tr>
<th>编号</th>
<th>导航名称</th>
<th>链接</th>
</tr>
</thead>
<tbody>
[[each data as item _index]]
<tr>
<td>[[_index+1]]</td>
<td><input type="text" class="form-control observe" name="name" value="[[item.name]]" data-field="[[_index]].name" maxlength="5"></td>
<td><input type="text" class="form-control observe" name="url" value="[[item.url]]" data-field="[[_index]].url"></td>
</tr>
[[/each]]
</tbody>
</table>
</script>
<!--pc端大图资源位-->
<script type="text/template" id="largeImg">
<table class="table table-bordered">
<thead>
<tr>
<th>图片</th>
<th>链接</th>
</tr>
</thead>
<tbody>
[[each data as item _index]]
<tr>
<td><input type="file" fileType='16' name='resourceImage' class="observe" value="[[item.src]]" data-field="[[_index]].src"></td>
<td><input type="text" class="form-control observe" name="url" value="[[item.url]]" data-field="[[_index]].url"></td>
</tr>
[[/each]]
</tbody>
</table>
</script>
<!--pc端小图资源位-->
<script type="text/template" id="smallImg">
<table class="table table-bordered">
<thead>
<tr>
<th>图片</th>
<th>链接</th>
</tr>
</thead>
<tbody>
[[each data as item _index]]
<tr>
<td><input type="file" fileType='17' name='resourceImage' class="observe" value="[[item.src]]" data-field="[[_index]].src"></td>
<td><input type="text" class="form-control observe" name="url" value="[[item.url]]" data-field="[[_index]].url"></td>
</tr>
[[/each]]
</tbody>
</table>
</script>
<!--新品,热门商品-->
<script type="text/template" id="products">
<div class="tabheader productsTabs">
<ul class="nav nav-tabs">
<li class="active"><a href="javascript:">全部商品</a></li>
<li><a href="javascript:">已选 (<b class="selectedProductsNum"></b>)</a></li>
</ul>
</div>
<div class="filter" style="margin-top: 20px; display: none">
<input type="text" id="selectSkn" class="form-control" value="" placeholder="SKN查询" style="display: inline-block;width: 200px;margin-right: 10px">
<a id="filterSkn" href="javascript:;" class="btn btn-info">筛选</a>
</div>
<div class="productTable" style="margin-top: 20px"></div>
</script>
<%include '../common/__ui/footer'%>