<?php include "layout/header.php" ?>

<?php require "layout/pageBanner.php" ?>

<section class="content pagecontent">
  <div class="container">
		<div class="content-box panel-shadow tab-content">
        <div class="row">
          <div class="col-sm-4">
            <div class="input-group">
              <input class="form-control" value="" placeholder="关键字查询" type="text">
              <span class="input-group-btn">
                <button class="btn btn-default" type="button" title="搜索"><i class="icon-search"></i></button>
              </span>
            </div>
          </div>
          <div class="col-sm-8 text-right">
            <div class="btn-group sort-button">
              <button type="button" class="btn btn-sm sort btn-primary sorting_desc">发布时间</button>
              <button type="button" class="btn btn-sm sort sorting btn-default">需求数量</button>
              <button type="button" class="btn btn-sm sort sorting btn-default">交期</button>
            </div>
          </div>
        </div>

        <div class="data-group data-type">
					<ul>
						<li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
            <li>
							<div class="data-item">
								<a class="photo magnific"  href="image/110-17-8.gif"><img src="image/110-17-8.gif"></a>
								<span class="data-name">CAS: 83949-11-4</span>
                <div class="info">
                  <div class="item ellipsis" title="中文名称：中文名称中文名称中文名称"><strong>中文名称：</strong>中文名称中文名称中文名称</div>
                  <div class="item ellipsis" title="纯度：纯度纯度"><strong>纯度：</strong>纯度纯度</div>
                  <div class="item ellipsis" title="数量：1"><strong>数量：</strong>1</div>
                  <div class="item ellipsis" title="交期要求：1个月"><strong>交期要求：</strong>1个月</div>
                </div>
								<button type="button" class="btn btn-theme btn-submit">定制接单</button>
							</div>
						</li>
					</ul>
				</div>

        <div class="page-nav row">
          <div class="col-sm-5">
            <p class="static-text loadtext">
              每页 <span class="semibold">10</span> 条
              共 <span class="semibold">1024</span> 条
              当前显示第 <span class="semibold">340 - 350</span> 条
              <span class="semibold">35 / 102</span> 页
            </p>
          </div>
          <div class="col-sm-7 text-right">
            <div class="btn-group">
              <button class="btn btn-default" type="button" title="最首页"><i class="icon-double-angle-left"></i></button>
              <button class="btn btn-default" type="button" title="上一页"><i class="icon-angle-left"></i></button>
              <button class="btn btn-default" type="button">33</button>
              <button class="btn btn-default" type="button">34</button>
              <button class="btn btn-default active" type="button">35</button>
              <button class="btn btn-default" type="button">36</button>
              <button class="btn btn-default" type="button">37</button>
              <button class="btn btn-default" type="button" title="下一页"><i class="icon-angle-right"></i></button>
              <button class="btn btn-default" type="button" title="最末页"><i class="icon-double-angle-right"></i></button>
            </div>
            <div class="input-group">
              <input type="text" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" onkeyup="value=value.replace(/[^\d]/g,'') " placeholder="页码" class="form-control" value="">
              <button type="button" class="btn btn-default">跳转</button>
            </div>
          </div>
        </div>
    </div>
  </div>
</section>

<?php include "layout/footer.php" ?>

<script>$(function(){$("#pageName").text("化学品定制接单")})</script>

<script type="text/javascript">
$(function() {
	//图片预览
	$(".data-group").magnificPopup({
		delegate: ".photo",
		type: "image",
		gallery: {
			enabled: false,
		},
		image: {
			tError: '图片无法显示，请检查图片路径是否正确',
		}
	});

  //排序按钮
	$(".sort-button .sort").addClass("sorting");
	$(".sort-button .sort").on("click",function(){
		if($(this).hasClass("sorting"))$(this).removeClass("sorting btn-default").addClass("sorting_asc btn-primary");
		else if($(this).hasClass("sorting_asc"))$(this).removeClass("sorting_asc btn-default").addClass("sorting_desc btn-primary");
		else if($(this).hasClass("sorting_desc"))$(this).removeClass("sorting_desc btn-default").addClass("sorting_asc btn-primary");
		$(this).siblings(".sort").removeClass("sorting_asc sorting_desc btn-primary").addClass("sorting btn-default");
	});
});
</script>
</body>
</html>