商品分类管理.html
17.1 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http://static.yohobuy.com/admin/css/style.css" media="screen" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://static.yohobuy.com/admin/js/jquery.min.js"></script>
<title>YOHO有货后台管理Right</title>
</head>
<body>
<div class="mainbox">
<div class="daohang">当前位置:<a href="/">首页</a> > <a href="#">商品管理</a> > <span>商品分类管理</span></div>
<div class="searchb">
<ul>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="center"><a href="/brand/add" class="but6">添加品牌</a></td>
<form action="/brand" method="get">
<td >
<input type="hidden" name="sFlag" value="1" id="sFlag"/>
<span id="category"></span>
<select name="sel_good_sort" id="sel_good_sort">
<option value="0">产品分类 </option>
<optgroup label="服装">
<optgroup label=" 上衣">
<option value="3" > 夹克 </option>
<option value="4" > 卫衣 </option>
<option value="5" > 拉链衫 </option>
<option value="6" > 背心与马甲 </option>
<option value="7" > 衬衫 </option>
<option value="8" > T恤 </option>
<option value="9" > POLO衫 </option>
</optgroup>
<optgroup label=" 裤类">
<option value="11" > 休闲裤 </option>
<option value="12" > 牛仔裤 </option>
<option value="13" > 短裤 </option>
<option value="14" > 中裤 </option>
<option value="15" > 打底裤 </option>
<option value="16" > 工装裤 </option>
<option value="17" > 西裤 </option>
<option value="18" > 背带裤 </option>
<option value="19" > 裙裤 </option>
</optgroup>
<optgroup label=" 鞋类">
<option value="21" > 皮鞋 </option>
<option value="22" > 休闲鞋 </option>
<option value="23" > 凉鞋 </option>
<option value="24" > 拖鞋 </option>
<option value="25" > 靴子 </option>
<option value="26" > 时装鞋 </option>
<option value="27" > 帆布鞋 </option>
<option value="28" > 运动鞋 </option>
<option value="29" > 户外鞋 </option>
</optgroup>
<optgroup label=" 帽类">
<option value="31" > 机车帽 </option>
<option value="32" > 线帽 </option>
<option value="33" > 货车帽 </option>
<option value="34" > 棒球帽 </option>
<option value="35" > 圆边帽 </option>
<option value="36" > 掩耳帽 </option>
<option value="37" > 鸭舌帽 </option>
</optgroup>
<optgroup label=" 包类">
<option value="39" > 单肩包 </option>
<option value="40" > 双肩包 </option>
<option value="41" > 腰包 </option>
<option value="42" > 挎包 </option>
<option value="43" > 拎包 </option>
<option value="44" > 钱包 </option>
<option value="45" > 专用储物包 </option>
<option value="46" > 洗漱包/化妆包 </option>
<option value="47" > 环保包 </option>
</optgroup>
<optgroup label=" 内衣">
<option value="49" > 内裤 </option>
<option value="50" > 内衣 </option>
<option value="51" > 家居服 </option>
<option value="52" > 游泳衣 </option>
<option value="53" > 游泳裤 </option>
<option value="54" > 袜子 </option>
</optgroup>
</optgroup>
<optgroup label="女装">
<optgroup label=" 上衣">
<option value="57" > 夹克 </option>
<option value="58" > 卫衣 </option>
<option value="59" > 拉链衫 </option>
<option value="60" > 背心与马甲 </option>
<option value="61" > 衬衫 </option>
<option value="62" > T恤 </option>
</optgroup>
<optgroup label=" 裤类">
<option value="64" > 休闲裤 </option>
<option value="65" > 牛仔裤 </option>
<option value="66" > 短裤 </option>
<option value="67" > 中裤 </option>
</optgroup>
<optgroup label=" 裙类">
<option value="69" > 连衣裙类 </option>
<option value="70" > 背带裙 </option>
<option value="71" > 短裙 </option>
<option value="72" > 长裙 </option>
</optgroup>
<optgroup label=" 鞋类">
<option value="74" > 皮鞋 </option>
<option value="75" > 休闲鞋 </option>
<option value="76" > 凉鞋 </option>
<option value="77" > 拖鞋 </option>
<option value="78" > 靴子 </option>
</optgroup>
</optgroup>
<optgroup label="Lifestyle">
<optgroup label=" 床上用品">
<option value="81" > 床单被罩 </option>
<option value="82" > 枕头 </option>
</optgroup>
<optgroup label=" 日用百货">
</optgroup>
<optgroup label=" 文体用品">
</optgroup>
<optgroup label=" 电子数码">
</optgroup>
</optgroup>
<optgroup label="日用百货">
</optgroup>
</select>
<select name="status" id="status">
<option value="-1" >审核状态</option>
<option value="0" >未审核</option>
<option value="1" >已审核</option>
</select>
<select name="brand_level" id="brand_level">
<option value="0">品牌级别</option>
<option value="1" >普通客户</option>
<option value="2" >优先客户</option>
<option value="3" >普通推荐</option>
<option value="4" >yoho推荐</option>
</select>
<select name="brand_type" id="brand_type">
<option value="0">品牌类型</option>
<option value="1" >品牌旗舰店</option>
<option value="2" >香港潮流贩卖</option>
<option value="3" >台湾街牌速递</option>
<option value="4" >内地潮流区</option>
<option value="5" >玩乐生活区</option>
</select>
<select name="brand_scale" id="brand_scale">
<option value="0">品牌规模</option>
<option value="1" >国际知名</option>
<option value="2" >流行品牌</option>
<option value="3" >设计师原创</option>
<option value="4" >网货(无品牌)</option>
</select>
<select name="keywordtype" id="keywordtype">
<option value="0" >关键词类型</option>
<option value="1" >品牌名称(中)</option>
<option value="2" >品牌名称(英)</option>
<option value="3" >品牌介绍</option>
<option value="4" >品牌简述</option>
</select>
<input type="text" id="keyword" name="keyword" value="" />
<button type="button" class="searbut"></button>
</td>
</form>
</tr>
</table>
</ul>
</div>
<table class="table1" style="width: 100%; text-align: center;">
<thead>
<tr>
<th align="center">ID</th>
<th align="center">品牌名称</th>
<th align="center">Logo</th>
<th align="center">主要商品</th>
<th align="center">品牌级别</th>
<th align="center">状态</th>
<th align="center">操作</th>
</tr>
</thead>
<tr class="F1">
<td width="40">12 </td>
<td > <a href="/brand/view?id=12">reputation<br/>reputation </a> </td>
<td > <img src="http://img002.static.yohobuy.com/brandLogo/2011/01/24/13/261bb351765fcd6d5d0353c967a8f69fe.gif" alt="reputation"> </td>
<td >掩耳帽,鸭舌帽,单肩包,双肩包</td>
<td >普通客户</td>
<td ><span id="curStatus12">已开启</span></td>
<td><a href="/branddimension/series?brand_id=12" class="but2">系列管理</a> <a href="/brand/edit?id=12&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(12)" class="but3" id="statusa12"><span id="btntext12">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">11 </td>
<td > <a href="/brand/view?id=11">mania<br/>mania </a> </td>
<td > <img src="http://img001.static.yohobuy.com/brandLogo/2011/01/24/13/1c0dc22e950953e69374daa4fe8548710.gif" alt="mania"> </td>
<td >休闲裤,牛仔裤,短裤,中裤</td>
<td >普通客户</td>
<td ><span id="curStatus11">已开启</span></td>
<td><a href="/branddimension/series?brand_id=11" class="but2">系列管理</a> <a href="/brand/edit?id=11&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(11)" class="but3" id="statusa11"><span id="btntext11">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">10 </td>
<td > <a href="/brand/view?id=10">西湖创意<br/>siw </a> </td>
<td > <img src="http://img001.static.yohobuy.com/brandLogo/2011/01/24/11/11af1ab13b10cbb09c1082db96bf7693a.gif" alt="西湖创意"> </td>
<td >圆边帽,掩耳帽,鸭舌帽,挎包,钱包</td>
<td >普通客户</td>
<td ><span id="curStatus10">已开启</span></td>
<td><a href="/branddimension/series?brand_id=10" class="but2">系列管理</a> <a href="/brand/edit?id=10&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(10)" class="but3" id="statusa10"><span id="btntext10">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">9 </td>
<td > <a href="/brand/view?id=9">furyanimals<br/>furyanimals </a> </td>
<td > <img src="http://img002.static.yohobuy.com/brandLogo/2011/01/24/11/2fc590590ce92b8c91cb453474908a6a4.jpg" alt="furyanimals"> </td>
<td >夹克,卫衣,休闲裤</td>
<td >普通客户</td>
<td ><span id="curStatus9">已开启</span></td>
<td><a href="/branddimension/series?brand_id=9" class="but2">系列管理</a> <a href="/brand/edit?id=9&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(9)" class="but3" id="statusa9"><span id="btntext9">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">8 </td>
<td > <a href="/brand/view?id=8">Magicstar<br/>Magicstar </a> </td>
<td > <img src="http://img001.static.yohobuy.com/brandLogo/2011/01/24/11/1c6cbd20ac81bbdbac7f8f4396b5a0bdb.gif" alt="Magicstar"> </td>
<td >单肩包,双肩包</td>
<td >普通客户</td>
<td ><span id="curStatus8">已开启</span></td>
<td><a href="/branddimension/series?brand_id=8" class="but2">系列管理</a> <a href="/brand/edit?id=8&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(8)" class="but3" id="statusa8"><span id="btntext8">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">7 </td>
<td > <a href="/brand/view?id=7">东情西韵<br/>dongqingxiyun </a> </td>
<td > <img src="http://img001.static.yohobuy.com/brandLogo/2011/01/24/11/17db996334bf58458bee76910241b124e.gif" alt="东情西韵"> </td>
<td >单肩包,双肩包,腰包,挎包,拎包,钱包,专用储物包</td>
<td >优先客户</td>
<td ><span id="curStatus7">已开启</span></td>
<td><a href="/branddimension/series?brand_id=7" class="but2">系列管理</a> <a href="/brand/edit?id=7&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(7)" class="but3" id="statusa7"><span id="btntext7">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">6 </td>
<td > <a href="/brand/view?id=6">morncreations<br/>morncreations </a> </td>
<td > <img src="http://img002.static.yohobuy.com/brandLogo/2011/01/24/11/214b47d656f3f107fac80f0e644f1bbc7.gif" alt="morncreations"> </td>
<td >单肩包,双肩包,腰包,挎包,拎包</td>
<td >普通客户</td>
<td ><span id="curStatus6">已开启</span></td>
<td><a href="/branddimension/series?brand_id=6" class="but2">系列管理</a> <a href="/brand/edit?id=6&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(6)" class="but3" id="statusa6"><span id="btntext6">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">5 </td>
<td > <a href="/brand/view?id=5">ACROSS<br/>ACROSS </a> </td>
<td > <img src="http://img002.static.yohobuy.com/brandLogo/2011/01/24/11/2cbe585d5999ce978248687f6b153036d.gif" alt="ACROSS"> </td>
<td >单肩包,双肩包,腰包,挎包,拎包,钱包,专用储物包,洗漱包/化妆包,环保包</td>
<td >普通客户</td>
<td ><span id="curStatus5">已开启</span></td>
<td><a href="/branddimension/series?brand_id=5" class="but2">系列管理</a> <a href="/brand/edit?id=5&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(5)" class="but3" id="statusa5"><span id="btntext5">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">4 </td>
<td > <a href="/brand/view?id=4">速写<br/>croquis </a> </td>
<td > <img src="http://img002.static.yohobuy.com/brandLogo/2011/01/24/11/20b5029917972155aed428fd6fe2c3375.gif" alt="速写"> </td>
<td >夹克,卫衣,皮鞋,休闲鞋,皮鞋,休闲鞋</td>
<td >普通客户</td>
<td ><span id="curStatus4">已开启</span></td>
<td><a href="/branddimension/series?brand_id=4" class="but2">系列管理</a> <a href="/brand/edit?id=4&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(4)" class="but3" id="statusa4"><span id="btntext4">关闭</span></a></td>
</tr>
<tr class="F1">
<td width="40">3 </td>
<td > <a href="/brand/view?id=3">LACOSTE<br/>LACOSTE </a> </td>
<td > <img src="http://img002.static.yohobuy.com/brandLogo/2011/01/24/11/2f41b386800db306ba7a2a0e3ca8cbbee.gif" alt="LACOSTE"> </td>
<td >皮鞋,休闲鞋</td>
<td >普通客户</td>
<td ><span id="curStatus3">已开启</span></td>
<td><a href="/branddimension/series?brand_id=3" class="but2">系列管理</a> <a href="/brand/edit?id=3&ref=/brand?page=1" class="but2">修改</a>
<a href="javascript:void(0)" onclick="javascript:changeStatus(3)" class="but3" id="statusa3"><span id="btntext3">关闭</span></a></td>
</tr>
<tfoot>
<tr>
<td colspan="8"><div class="pagination"><div class="pagination"><a href="javascript:void(0);">共12条数据</a><a href="javascript:void(0);">第1页/共2页</a><a href="javascript:void(0);" class="act">1</a><a href="?page=2&q=/brand" title="Results 11 - 12">2</a> <a href="?page=2&q=/brand" title="下一页">下一页</a></div></div></td>
</tr>
</tfoot>
</table>
<script stype="text/javascript">
function changeStatus(id)
{
var toStatus = 1;
if($.trim($('#curStatus' + id).html()) == '已开启')
{
toStatus = 0;
}
$.getJSON("/brand/changestatus?id="+id+"&tostatus=" + toStatus , function(data)
{
if(data.code == 200)
{
if($.trim($('#curStatus' + id).html()) == '已关闭')
{
$('#curStatus'+id).html('已开启');
$('#btntext'+id).html('关闭');
$('#statusa' + id).attr('class','but3');
}
else
{
$('#curStatus'+id).html('已关闭');
$('#btntext'+id).html('开启');
$('#statusa' + id).attr('class', 'but2');
}
}
else
{
alert(data.message);
}
});
}
</script></div>
</body>
</html>