news.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <extend name="Public:computerbase" />
  2. <block name="content">
  3. <link rel="stylesheet" href="__PUBLIC__/pinduoduo/assets/css/news_v2_c42442884e1e6eeff4cfb7500facfc08.css">
  4. <style>
  5. .pdd-head .ph-tab{float:left;}
  6. .pdd-news-outer{margin-top:1.2rem;}
  7. </style>
  8. <div class="pdd-news-outer">
  9. <div class="pdd-news-wrapper">
  10. <div class="pdd-news-banner">
  11. <img src="/Uploads/image/<?php echo $pc_news['image']; ?>" alt="banner">
  12. </div>
  13. <div class="pdd-other-news">
  14. <div class="pn-cat pn-other-cat">
  15. <p>关于我们</p>
  16. </div>
  17. <ul class="pn-other-list">
  18. <?php foreach($blog_list as $blog){ ?>
  19. <li class="pn-other-item">
  20. <a target="_blank" href="{:U('Index/new_detail', array('blog_id' => $blog['blog_id']))}">
  21. <p class="pn-other-title"><?php echo $blog['title']; ?></p>
  22. </a>
  23. <span><?php echo $blog['author']; ?></span>
  24. <span class="pn-other-time"><?php echo $blog['create_time']; ?></span>
  25. </li>
  26. <?php } ?>
  27. </ul>
  28. </div>
  29. </div>
  30. </div>
  31. <include file="Public:foot_computer" />
  32. </block>