release-of-goods.html 22.3 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
<!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">
		search_ajaxUrl = 'http://www.nong12.com/tip.html?callback=jQuery18304425293356180191_1413859900213&key=a&_=1413859908376'
	</script>
	<script type="text/javascript" src="../../common/js/base/jquery-1.8.2.min.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/dist/release-of-goods.css">
	<script type="text/javascript" src="../js/javascript/common/config.js"></script>
    
	
	<!--[if lt IE 9]>
		<script src="../../common/js/plugin/respond.src.js"></script>
		<link href="../../common/js/plugin/respond-proxy.html" id="respond-proxy" rel="respond-proxy" />
		<link href="../respond.proxy.gif" id="respond-redirect" rel="respond-redirect" />
		<script src="../../common/js/plugin/respond.proxy.js"></script>
	<![endif]-->
</head>
<body>


<div class="content-box">
	<h2>发布商品</h2>
	<!-- 分布展示 -->
	<div class="steps col3">
		<ul class="clearfix">
			<li class="steps-current steps1">								
				<span class="steps-num">1</span>
				选择商品分类
				<i></i>
				<em></em>
			</li>
			<li class="steps-current steps2">	
				<span class="steps-num">2</span>
				填写商品信息
				<i></i>
				<em></em>
			</li>
			<li class="steps3">
				<span class="steps-num">3</span>
				商品发布成功
			</li>
		</ul>
	</div>
	<!-- 分布展示 结束-->
	
	<p class="p-title">填写商品信息</p>

	<!-- 表单数据 -->
	<form action="" class="s-form" ng-app="">
		<!-- 基本信息 -->
		<div class="form-box" id="basic-info">
			<h4>基本信息</h4>
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td class="align-right">商品分类:</td>
					<td>蔬菜 &gt 果实类 &gt 茄子 <a href="#" class="submitBtn grayBtn">返回修改</a></td>
				</tr>
				<tr>
					<td class="align-right">商品标题<span class="required-icon">*</span>:</td>
					<td>
						<input type="text" class="iptText required" name="goodsname">
						<span class="submitBtn grayBtn" id="auto-title">自动生成标题</span>
						<p class="iptTips">请填写与商品相关的标题,请保持在50个汉字以内的标题长度!</p>
					</td>
				</tr>
				<tr>
					<td class="align-right">商品编号<span class="required-icon">*</span>:</td>
					<td>
						<input type="text" class="iptText required">
						<p class="iptTips">商品编号是为方便您的销售管理而填写的编号,可不填写</p>
					</td>
				</tr>
				<tr>
					<td class="align-right">商品提货点<span class="required-icon">*</span>:</td>
					<td>
						<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>
					</td>
				</tr>
				<tr>
					<td class="align-right">商品所在地<span class="required-icon">*</span>:</td>
					<td>
						<span class="select-address required clearfix">
						    <div class="m-region" url="http://user.nong12.com//api/city/getCityJsonpList.do" ></div>
						</span>
					</td>
				</tr>
                <tr>
                    <td class="align-right">商品产地<span class="required-icon">*</span>:</td>
                    <td>
						<span class="select-address required clearfix">
						    <div class="m-region" url="http://user.nong12.com//api/city/getCityJsonpList.do" data="ceshi,parentId,regionId,regionName,parentId,1" ></div>
						</span>
                    </td>
                </tr>
				<tr>
					<td class="align-right">备货周期<span class="required-icon">*</span>:</td>
					<td>
						<select class="s-select">
							<option class="select_please">请选择备货周期</option>
							<option disabled>1小时</option>
							<option>2小时</option>
						</select>
						<p class="iptTips">从用户下单后,多长时间可以完成备货(全天24小时计算)</p>
					</td>
				</tr>
			</table>
		</div>	
		<!-- 商品属性 -->
		<div class="form-box" id="product-attribute">
			<h4>商品属性</h4>
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td class="align-right">等级<span class="required-icon">*</span>:</td>
					<td>
						<input type="radio" checked="checked" id="r1"><label for="r1" class="iptTitle">一级</label>
						<input type="radio" id="r2"><label for="r2" class="iptTitle">二级</label>
						<input type="radio" id="r3"><label for="r3" class="iptTitle">三级</label>
						<input type="radio" id="r4"><label for="r4" class="iptTitle">四级</label>
					</td>
				</tr>
				<tr>
					<td class="align-right">包装<span class="required-icon">*</span>:</td>
					<td>
						<input type="radio" checked="checked" id="ro1"><label for="ro1" class="iptTitle">灌装</label>
						<input type="radio" id="ro2"><label for="ro2" class="iptTitle">盒装</label>
						<input type="radio" id="ro3"><label for="ro3" class="iptTitle">袋装</label>
						<input type="radio" id="ro4"><label for="ro3" class="iptTitle">瓶装</label>
					</td>
				</tr>
				<tr>
					<td class="align-right">属性二:</td>
					<td>
						<input type="text" class="iptText required">
					</td>
				</tr>
				<tr>
					<td class="align-right">属性三:</td>
					<td>
						<textarea></textarea>
					</td>
				</tr>
			</table>
		</div>
		<!-- 商品认证 -->
		<div class="form-box" id="product-certification">
			<h4>商品认证</h4>
			<ul class="certification clearfix">
				<li>
					<div class="certification-img" href="#add-certification">
						<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>
				<li>
                    <div class="certification-img" href="#add-certification">
                        <img src=>
                        <span class="certification-info"></span>
                    </div>
                    <span class="img-remove"></span>
				</li>
				<li>
                    <div class="certification-img" href="#add-certification">
                        <img src="">
                        <span class="certification-info"></span>
                    </div>
                    <span class="img-remove"></span>
				</li>
				<li>
                    <div class="certification-img" href="#add-certification">
                        <img src="">
                        <span class="certification-info"></span>
                    </div>
                    <span class="img-remove"></span>
				</li>
			</ul>
            <p class="iptTips certification-p">修改认证请重新选择并上传相应的认证信息即可</p>
		</div>

		<!-- 交易设置 -->
		<div class="form-box">
			<h4>交易设置</h4>
			<table cellspacing="0" cellpadding="0" id="transaction-set">
				<tr>
					<td class="align-right">计量单位:</td>
					<td>
						<select class="s-select" id="unit">
							<option></option>
							<option>公斤</option>
                            <option>测试</option>
						</select>
					</td>
				</tr>
				<tr class="attribute">
					<td class="align-right">尺码:</td>
					<td>
						<input type="checkbox" class="n-size" alt="大" checked="checked" value="1" ><label class="iptTitle"></label>
						<input type="checkbox" class="n-size" alt="中" value="2" ><label class="iptTitle"></label>
						<input type="checkbox" class="n-size" alt="小" value="3" ><label class="iptTitle"></label>
					</td>
				</tr>
				<tr class="attribute">
					<td class="align-right">颜色:</td>
					<td>
						<input type="checkbox" class="n-color" value="11" checked="checked" alt="红"><label class="iptTitle"></label>
						<input type="checkbox" class="n-color" value="12" alt="黄"><label class="iptTitle"></label>
						<input type="checkbox" class="n-color" value="13" alt="蓝"><label class="iptTitle"></label>
					</td>
				</tr>
				<tr class="attribute">
					<td class="align-right">产地:</td>
					<td>
						<input type="checkbox" class="n-city" value="111" checked="checked" alt="京"><label class="iptTitle"></label>
						<input type="checkbox" class="n-city" value="112" checked="checked" alt="青"><label class="iptTitle"></label>
						<input type="checkbox" class="n-city" value="113" alt="粤"><label class="iptTitle"></label>
					</td>
				</tr>

				<tr>
					<td class="align-right">报价方式:</td>
					<td>
						<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>
					</td>
				</tr>
				<!-- 按区间报价 -->
				<tr class="interval-view">
					<td class="align-right">区间报价:</td>
					<td>
						<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>
                                    <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>
					</td>
				</tr>
				<!-- 按规格报价-->
				<tr class="specifications-view">
					<td class="align-right">规格报价:</td>
					<td>
                        <table cellspacing="0" cellpadding="0" id="describe" class="price-table">
                            <thead>
                            <tr>
                                <th>颜色</th>
                                <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>
					</td>
				</tr>

			</table>
		</div>
		<!-- 商品图片 -->
		<div class="form-box" id="product-img">
			<h4>商品图片</h4>
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td class="align-right">选择图片:</td>
					<td>
						<ul class="s-ntab clearfix">
							<li><a href="#local-img" class="current">本地上传<i></i></a></li>
							<li><a href="#" >我的图片<i></i></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.本地上传图片大小不能超过1M;</li>
									<li>2.每个商品允许上传6张商品图片;</li>
									<li>3.背景图片为地利批发提供的参考范例,请尽量按照范例选图,
									  发布后范例不会显示;</li>
									<li>4.图片上传成功后会存在于您的图片空间中,此处的删除图片只
									  会删除商品图片,原图依旧存在于您的图片空间中;</li>
									<li>5.每个用户仅提供1GB的图片空间,若图片之前已经上传过,请尽
									  量使用图片空间中的图片;</li>
								</ul>
							</div>
						</div>

						<div class="s-ntab-content" id="my-img">
							<div class="title-box clearfix">
								<span class="ll">图片目录</span>
								<span>图片列表</span>
							</div>
							<div class="my-img-list clearfix">
								<div class="my-list ll">
                                   <dl>
                                       <p>我的图片</p>
                                       <ul>
                                           <li>商品图片</li>
                                           <li>幻灯图片</li>
                                           <li>商品图片</li>
                                           <li>幻灯图片</li>
                                           <li>商品图片</li>
                                           <li>幻灯图片</li>
                                           <li>商品图片</li>
                                           <li>幻灯图片</li>
                                       </ul>
                                   </dl>
								</div>
								<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>
									</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="">
                                        <span class="img-remove"></span>
                                    </span>
									<span class="img-label">首图</span>
									<p>单品展示</p>
								</li>
								<li class="selected">
									<span class="img-box"><img src=""><span class="img-remove"></span></span>
									<span class="img-label">设为首图</span>
									<p>包装展示</p>
								</li>
								<li>
									<span class="img-box"><img src=""><span class="img-remove"></span></span>
									<span class="img-label">设为首图</span>
									<p>包装内部</p>
								</li>
								<li>
									<span class="img-box"><img src=""><span class="img-remove"></span></span>
									<span class="img-label">设为首图</span>
									<p>堆码展示</p>
								</li>
								<li>
									<span class="img-box"><img src=""><span class="img-remove"></span></span>
									<span class="img-label">设为首图</span>
									<p>商品细节</p>
								</li>
								<li>
									<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>

					</td>
				</tr>
			</table>
		</div>

		<!-- 商品描述 -->
		<div class="form-box" id="product-des">
			<h4>商品描述</h4>
		</div>
		<!-- 上架设置 -->
		<div class="form-box" id="product-added">
			<h4>上架设置</h4>
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td class="align-right">有效期:</td>
					<td>
						<input type="radio" checked="checked"><label  class="iptTitle"> 15天</label>
						<p class="iptTips"> *商品上架15天后会自动下架,请随时关注商品的销售状态</p>
					</td>
				</tr>
				<tr>
					<td class="align-right">上架时间:</td>
					<td>
						<input type="radio" checked="checked"><label  class="iptTitle">审核后上架</label>
						<input type="radio"><label  class="iptTitle">放入仓库</label>
						<input type="radio"><label  class="iptTitle">审核后指定时间上架</label>
					</td>
				</tr>
			</table>
		</div>

		<div class="sub-box">
			<input type="checkbox" checked="checked"><a href="#" class="a-link">《地利批发商城店铺服务管理规范》</a>
			<div>
				<button class="submitBtn">发布商品</button>
				<a class="submitBtn grayBtn">预览商品展示</a>
			</div>
		</div>
	</form>
</div>
<div class="release-stairs">
    <span class="icon-7"></span>
    <span class="icon-stairs-colse"></span>
    <p class="title">发布快速指引</p>
    <ul>
        <li>基本信息</li>
        <li>商品属性</li>
        <li>商品认证</li>
        <li>交易设置</li>
        <li>商品图片</li>
        <li>商品描述</li>
        <li>上架设置</li>
    </ul>
    <p class="top">返回顶部</p>
</div>
<div id="add-certification" class="add-certification mbox-table">
    <p class="title">添加商品认证</p>
    <div class="form-box">
        <table cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="align-right">认证分类:</td>
                    <td>
                        <select class="s-select">
                            <option class="select_please">选择商品认证</option>
                            <option>身份证认证</option>
                            <option>电话认证</option>
                        </select>
                    </td>
                </tr>
                <tr align="left">
                    <td class="align-right">认证图片:</td>
                    <td>
                        <span class="submitBtn grayBtn uploadSpan">
								上传图片
								<input multiple="multiple" class="uploadBtn required" type="file" name="file">
							</span>
                        <div class="c-img">
                            <img src="" alt=""/>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="align-right">有效期至:</td>
                    <td>
                        <input type="text" class="iptText required">
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <button class="submitBtn add-mbox">确认添加</button>
</div>

<!-- <script type="text/javascript" src="../js/javascript/sell/jquery.dragsort-0.5.1.min.js"></script> -->

<script type="text/javascript">

	seajs.use([ '../js/javascript/common/common.js', '../js/javascript/sell/release-of-goods.js' ]);
	
</script>
</body>
</html>