You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
2.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
  1. <!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1">
  2. <title><?php echo $post["title"]; ?>_<?php echo sysconfig('CMS_WEBNAME'); ?></title>
  3. <link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/style.css"><script src="/js/jquery.min.js"></script><script src="/js/bootstrap.min.js"></script></head><body>
  4. @include('home.common.header')
  5. <div class="container"><div class="row row-offcanvas row-offcanvas-right"><div class="col-xs-12 col-sm-9">
  6. <div class="bread"><a href=""><?php echo sysconfig('CMS_INDEXNAME'); ?></a> > <?php echo get_cat_path($post["typeid"],'goods_type','productlist'); ?></div>
  7. <h1 class="page-header"><?php echo $post["title"]; ?></h1>
  8. <div class="content"><?php echo $post["body"]; ?>
  9. <div class="dinfo"><span class="addtime"><?php echo date("Y-m-d",$post["pubdate"]); ?></span>
  10. <br><br>下一篇:<?php if($pre){ ?><a href="<?php echo get_front_url(array("id"=>$pre['id'],"catid"=>$pre["typeid"],"type"=>'goodsdetail')); ?>"><?php echo $pre["title"]; ?></a><?php }else{echo '没有了';} ?><div class="cl"></div></div>
  11. </div>
  12. </div><!--/.col-xs-12.col-sm-9-->
  13. <div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar">
  14. <div class="panel panel-info">
  15. <div class="panel-heading"><strong>商品详情</strong></div>
  16. <ul class="list-group">
  17. <?php if($post["litpic"]){ ?><li class="list-group-item"><img src="<?php echo $post["litpic"]; ?>" width=100% height=auto></li><?php } ?>
  18. <li class="list-group-item"><span class="badge "> <?php echo $post["price"]; ?></span>商品价格</li>
  19. <li class="list-group-item"><span class="badge"><del> <?php echo $post["market_price"]; ?></del></span>原价</li>
  20. <li class="list-group-item"><span class="badge"><?php echo $post["sale"]; ?></span>销量</li>
  21. </ul>
  22. </div></div><!--/.sidebar-offcanvas--></div><!--/row--></div><!-- /.container -->
  23. @include('home.common.footer')</body></html>