user-release-of-goods.html
24.9 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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
<!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">
<title>商品发布</title>
<script type="text/javascript" src="../../common/js/base/jquery.js"></script>
<script language="javascript" type="text/javascript" src="http://static.nong12.com/static/common/date/WdatePicker.js"></script>
<script type="text/javascript" src="../../common/js/base/sea.js"></script>
<link rel="stylesheet" type="text/css" href="../css/style/user-release-of-goods.css">
<script type="text/javascript" src="../js/javascript/common/config.js"></script>
</head>
<body>
<div class="content-box">
<!-- 表单数据 -->
<!-- <form action="" class="s-form" ng-app=""> -->
<!-- 基本信息 -->
<div class="form-box" id="basic-info">
<h4>第一步 基本信息</h4>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品分类:</div>
<div class="d-content">
<p class="text-dec">蔬菜 > 果实类 > 茄子</p>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right">商品子分类:</div>
<div class="d-content">
<div class="c-nav-box">
<select class="sea-select categoryItem" data-pid="0">
<option value="">请选择分类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
<option value="714" data-has_child="true">干果</option>
<option value="3" data-has_child="true">海鲜水产</option>
<option value="4" data-has_child="true">肉类产品</option>
<option value="6" data-has_child="true">农资产品</option>
<option value="5" data-has_child="true">粮油蛋类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
<option value="714" data-has_child="true">干果</option>
<option value="3" data-has_child="true">海鲜水产</option>
<option value="4" data-has_child="true">肉类产品</option>
<option value="6" data-has_child="true">农资产品</option>
<option value="5" data-has_child="true">粮油蛋类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
<option value="714" data-has_child="true">干果</option>
<option value="3" data-has_child="true">海鲜水产</option>
<option value="4" data-has_child="true">肉类产品</option>
<option value="6" data-has_child="true">农资产品</option>
<option value="5" data-has_child="true">粮油蛋类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
<option value="714" data-has_child="true">干果</option>
<option value="3" data-has_child="true">海鲜水产</option>
<option value="4" data-has_child="true">肉类产品</option>
<option value="6" data-has_child="true">农资产品</option>
<option value="5" data-has_child="true">粮油蛋类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
<option value="714" data-has_child="true">干果</option>
<option value="3" data-has_child="true">海鲜水产</option>
<option value="4" data-has_child="true">肉类产品</option>
<option value="6" data-has_child="true">农资产品</option>
<option value="5" data-has_child="true">粮油蛋类</option>
</select>
<span class="submitBtn grayBtn c-nav-rmove">删除</span>
</div>
<span class="submitBtn grayBtn" id="c-nav-add">添加商品子分类</span>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品产地<span class="required-icon">*</span>:</div>
<div class="d-content">
<select class="sea-select categoryItem" data-pid="0">
<option value="">请选择分类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
</select>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right">商品所在地<span class="required-icon">*</span>:</div>
<div class="d-content">
<span class="a-link"><input type="checkbox" id="checkbox1"> <label for="checkbox1">与商品所在地相同</label></span>
<select class="sea-select categoryItem" data-pid="0">
<option value="">请选择分类</option>
<option value="1" data-has_child="true">蔬菜</option>
<option value="2" data-has_child="true">水果</option>
</select>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right">商品提货点<span class="required-icon">*</span>:</div>
<div class="d-content">
<span class="inputcell"><input type="checkbox" id="c1"><label for="c1" class="iptTitle">山东寿光</label></span>
<span class="inputcell"><input type="checkbox" id="c2"><label for="c2" class="iptTitle">成都聚合</label></span>
<span class="inputcell"><input type="checkbox" id="c3"><label for="c3" class="iptTitle">哈尔滨哈达</label></span>
<span class="inputcell"><input type="checkbox" id="c4"><label for="c4" class="iptTitle">贵州人和</label></span>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">备货周期<span class="required-icon">*</span>:</div>
<div class="d-content">
<select class="sea-select">
<option class="select_please">请选择备货周期</option>
<option disabled>1小时</option>
<option>2小时</option>
<option>3小时</option>
<option>4小时</option>
<option>5小时</option>
<option>6小时</option>
<option>7小时</option>
<option>51小时</option>
<option>9小时</option>
<option>10小时</option>
<option>s小时</option>
<option>150小时</option>
<option>151小时</option>
<option>153小时</option>
</select>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品标题<span class="required-icon">*</span>:</div>
<div class="d-content">
<input type="text" class="iptText required email" name="goodsname" placeholder="请输入商品名称">
<span class="submitBtn grayBtn" id="auto-title">自动生成标题</span>
</div>
</div>
</div>
</div>
<!-- 商品属性和价格 -->
<div class="form-box" id="product-attribute">
<h4>第二步 属性和价格</h4>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品属性:</div>
<div class="d-content">
<div class="sku-list clearfix">
<span class="ll">等级:</span>
<div class="sku-content">
<span><input type="radio" checked="checked" id="r1"><label for="r1" class="iptTitle">一级一级一级一级一级</label></span>
<span><input type="radio" id="r2"><label for="r2" class="iptTitle">二级</label></span>
<span><input type="radio" id="r3"><label for="r3" class="iptTitle">三级</label></span>
<span><input type="radio" id="r4"><label for="r4" class="iptTitle">四级</label></span>
<span><input type="radio" id="r5"><label for="r4" class="iptTitle">五级</label></span>
</div>
</div>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<div class="sku-list clearfix">
<span class="ll">包装:</span>
<div class="sku-content">
<span><input type="radio" checked="checked" id="ro1"><label for="ro1" class="iptTitle">灌装</label></span>
<span><input type="radio" id="ro2"><label for="ro2" class="iptTitle">盒装</label></span>
<span><input type="radio" id="ro3"><label for="ro3" class="iptTitle">袋装</label></span>
<span><input type="radio" id="ro4"><label for="ro3" class="iptTitle">瓶装</label></span>
</div>
</div>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<div class="sku-list clearfix">
<span class="ll">属性二:</span>
<input type="text" class="iptText required">
</div>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<div class="sku-list clearfix">
<span class="ll">属性三:</span>
<textarea></textarea>
</div>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品价格:</div>
<div class="d-content">
计量单位:<span id="unit">斤</span>
</div>
</div>
<div id="transaction-set">
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<div class="attribute">
<div class="sku-list clearfix">
<span class="ll">尺码:</span>
<div class="sku-content">
<span><input type="checkbox" class="n-size" alt="大" checked="checked" value="1"><label class="iptTitle">大</label></span>
<span><input type="checkbox" class="n-size" alt="中" value="2"><label class="iptTitle">中</label></span>
<span><input type="checkbox" class="n-size" alt="小" value="3"><label class="iptTitle">小</label></span>
</div>
</div>
</div>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<div class="attribute">
<div class="sku-list clearfix">
<span class="ll">颜色:</span>
<div class="sku-content">
<span><input type="checkbox" class="n-color" value="11" checked="checked" alt="红"><label class="iptTitle">红</label></span>
<span><input type="checkbox" class="n-color" value="12" alt="黄"><label class="iptTitle">黄</label></span>
<span><input type="checkbox" class="n-color" value="13" alt="蓝"><label class="iptTitle">蓝</label></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
报价方式:
<input type="radio" checked="checked" value="false" id="qujian" name="pricetype"><label for="qujian" class="iptTitle">按区间报价</label>
<input type="radio" id="guige" value="true" name="pricetype"><label for="guige" class="iptTitle">按规格报价</label>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<!-- 按区间报价 -->
<div class="interval-view">
<table cellspacing="0" cellpadding="0" id="purchases" class="price-table">
<thead>
<tr>
<th>购买数量</th>
<th>产品单价</th>
</tr>
</thead>
<tbody>
<tr>
<td>购买:<input type="text"><span ng-bind="name">件</span>以上</td>
<td><input type="text">元/<span ng-bind="name">件</span><span class="delete a-link">删除</span></td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2"><span class="addbtn">+ 增加价格区间</span></td>
</tr>
</tfoot>
</table>
<table cellspacing="0" cellpadding="0" id="interval" class="price-table">
<thead>
<tr>
<th>颜色</th>
<th>尺码</th>
<th>可售量</th>
</tr>
</thead>
<tbody>
<tr>
<td class="txt" val="1111000:1:11:111">大</td>
<td class="txt" val="1111000:1:11:111">红</td>
<td class="txt" val="1111000:1:11:111">京</td>
<td><input index="0" type="text" sku="1:11:111" class="price" dilipattern="/^[0-9]+$/,可售量有误!" value="321324">元/<span class="t-unit">斤</span></td>
</tr>
<tr>
<td class="txt" val="1111000:1:11:112">大</td>
<td class="txt" val="1111000:1:11:112">红</td>
<td class="txt" val="1111000:1:11:112">青</td>
<td><input index="0" type="text" sku="1:11:112" class="price" dilipattern="/^[0-9]+$/,可售量有误!" value="0">元/<span class="t-unit">斤</span></td>
</tr>
</tbody>
</table>
<p>可售总量:<span class="sell-num">100<span class="t-unit">公斤</span></span></p>
<p class="iptTips">可售总量是各规格可售量的综合</p>
</div>
<!-- 按规格报价-->
<div class="specifications-view">
<table cellspacing="0" cellpadding="0" id="describe" class="price-table">
<thead>
<tr>
<th>颜色</th>
<th>尺码</th>
<th>价格</th>
<th>可售量</th>
<th>起售量</th>
</tr>
</thead>
<tbody>
<tr><td class="txt" val="1111000:1:11:111">大</td><td class="txt" val="1:11:111">红</td><td class="txt" val="1:11:111">京</td><td><input index="0" type="text" sku="1:11:111" class="price" dilipattern="/^[0-9]+$/,可售量有误!" value="555">元/<span class="t-unit">斤</span></td><td><input index="1" type="text" sku="1:11:111" class="stockNum" dilipattern="/^[0-9]+$/,可售量有误!" value="999999">元/<span class="t-unit">斤</span></td><td><input index="2" type="text" sku="1:11:111" class="minNum" dilipattern="/^[0-9]+$/,可售量有误!" value="0">元/<span class="t-unit">斤</span></td></tr>
<tr><td class="txt" val="1111000:1:11:112">大</td><td class="txt" val="1:11:112">红</td><td class="txt" val="1:11:112">青</td><td><input index="0" type="text" sku="1:11:112" class="price" dilipattern="/^[0-9]+$/,可售量有误!" value="222">元/<span class="t-unit">斤</span></td><td><input index="1" type="text" sku="1:11:112" class="stockNum" dilipattern="/^[0-9]+$/,可售量有误!" value="0">元/<span class="t-unit">斤</span></td><td><input index="2" type="text" sku="1:11:112" class="minNum" dilipattern="/^[0-9]+$/,可售量有误!" value="0">元/<span class="t-unit">斤</span></td></tr>
</tbody>
</table>
<p>可售总量:<span class="sell-num">100<span class="t-unit">公斤</span></span></p>
<p class="iptTips">可售总量是各规格可售量的综合</p>
</div>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品认证:</div>
<div class="d-content">
<div class="certification-list">
<select class="sea-select">
<option>身份认证</option>
<option>电话认证</option>
</select>
<form>
<input class="iptText" readonly placeholder="请上传认证图片">
<span class="submitBtn grayBtn uploadSpan">
<span>上传图片</span>
<input multiple="multiple" class="uploadBtn required" type="file" name="file">
</span>
</form>
证书有效期:
<input class="iptText Wdate" onclick="WdatePicker({readOnly:true})" readonly="">
<span class="submitBtn grayBtn">添加</span>
</div>
</div>
</div>
<div class="d-list clearfix">
<div class="align-right"> </div>
<div class="d-content">
<ul class="certification clearfix">
<li>
<div class="c-img">
<img src="../upload/img-2-2.png">
<span class="certification-info"><span class="stext">绿色食品</span><i>2014/03/02</i></span>
</div>
<span class="img-remove"></span>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- 商品信息 -->
<div class="form-box" id="product-img">
<h4>第三步 商品信息</h4>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">商品展示图:</div>
<div class="d-content d-content-img">
<ul class="s-ntab clearfix">
<li><a href="#local-img" class="current">本地上传</a></li>
<li><a href="#" >我的图片</a></li>
</ul>
<div class="s-ntab-content" id="local-img">
<div class="upload-box clearfix">
<div class="upload-btn ll">
<span class="submitBtn grayBtn uploadSpan">
<a class="upload-btn-bg"></a>
<input multiple="multiple" class="uploadBtn required" type="file" name="file">
</span>
<p>上传图片</p>
</div>
<ul class="upload-info">
<li>提示</li>
<li>1.本地上传图片大小不能超过5M;</li>
<li>2.每个商品允许上传6张商品图片;</li>
<li>3.只支持JPG(jpg、jpeg)、BMP、GIF、PNG四种格式的图片;</li>
<li>4、图片上传规格不能小于800*800象素</li>
</ul>
</div>
</div>
<div class="s-ntab-content" id="my-img">
<div class="title-box clearfix">
查看时间范围:
<input type="text" value="" onfocus="var d5222=$dp.$('d5222');WdatePicker({onpicked:function(){d5222.focus();},readOnly:true,dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\'d5222\')}'})" class="iptText Wdate" name="startDate" id="d5221" readonly="">
-
<input type="text" value="" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true,minDate:'#F{$dp.$D(\'d5221\')}'})" class="iptText Wdate" name="endDate" id="d5222">
</div>
<div class="my-img-list clearfix">
<div class="my-imgs">
<ul>
<li class="selected">
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
<li>
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
<li>
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
<li>
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
<li>
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
<li>
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
<li>
<span class="imgs"><img src="../upload/img-2-2.png"></span>
<input type="checkbox">
</li>
</ul>
</div>
</div>
</div>
<div class="img-list">
<i></i>
<em></em>
<ul id="user-list" class="clearfix">
<li class="selected first-img">
<span class="img-box">
<img src="../upload/img-1-2.png">
<span class="img-remove"></span>
</span>
<span class="img-label">首图</span>
</li>
<li class="selected">
<span class="img-box"><img src="../upload/img-1-2.png"><span class="img-remove"></span></span>
<span class="img-label">设为首图</span>
<p>包装展示</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">请填写详细描述:</div>
<div class="d-content">
<script type="text/plain" id="container" style="width:100%;height:300px;"></script>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">请选择商品视频:</div>
<div class="d-content d-content-video">
<div class="video-sea">
<input class="iptText" placeholder="请输入视频名称">
<span class="submitBtn grayBtn">搜索</span>
<span class="submitBtn grayBtn">清空</span>
</div>
<div class="video-list">
<ul class="clearfix">
<li class="selected">
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
<div class="video-view"><span class="video-icon"></span></div>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
<li>
<a href="#"><img src="../upload/img-2-2.png"></a>
<p><input type="radio">视频名称</p>
</li>
</ul>
<div class="video col-f60">已选择"视频名称"</div>
</div>
</div>
</div>
</div>
</div>
<!-- 上架设置 -->
<div class="form-box" id="product-added">
<h4>第四步 上架信息</h4>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">有效期:</div>
<div class="d-content">
<input type="radio" checked="checked"><label class="iptTitle"> 15天</label>
<input type="radio"><label class="iptTitle"> 30天</label>
<input type="radio" class="c-info" cdata='c-date'><label class="iptTitle"> 自定义</label>
<span id="c-date"><input class="iptText"> 天</span>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">上架模式:</div>
<div class="d-content">
<input type="radio" checked="checked"><label class="iptTitle">立即上架</label>
<input type="radio"><label class="iptTitle">放入仓库</label>
<input type="radio" class="c-info" cdata="z-date"><label class="iptTitle">指定时间上架</label>
<span id="z-date"><input class="iptText Wdate" onclick="WdatePicker({readOnly:true})" class="Wdate" readonly></span>
</div>
</div>
</div>
<div class="d-box">
<div class="d-list clearfix">
<div class="align-right">发布地:</div>
<div class="d-content">
<input type="radio" checked="checked"><label class="iptTitle">地球</label>
<input type="radio"><label class="iptTitle">火星</label>
<input type="radio"><label class="iptTitle">月亮</label>
</div>
</div>
</div>
</div>
<div class="sub-box">
<button class="submitBtn">立即发布</button>
</div>
<!-- </form> -->
</div>
<script type="text/javascript" src="../../common/js/plugin/WdatePicker.js"></script>
<script type="text/javascript" charset="utf-8" src="../../common/js/plugin/umeditor/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="../../common/js/plugin/umeditor/umeditor.min.js"></script>
<link href="../../common/js/plugin/umeditor/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript">
seajs.use([ '../js/javascript/common/common.js', '../js/javascript/sell/user-release-of-goods.js' ]);
var um = UM.getEditor('container',{
initialFrameWidth:'100%'
});
</script>
</body>
</html>