国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

95 lines
4.2KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="{dede:global.cfg_soft_lang/}">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <script>const PHPURL = '{dede:field name="phpurl"/}';</script>
  7. <script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
  8. <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/style.css">
  11. <link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
  12. <title>{dede:field.title/}-{dede:global.cfg_webname/}</title>
  13. <meta name="keywords" content="{dede:field.keywords/}" />
  14. <meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
  15. </head>
  16. <body>
  17. {dede:include filename='top.htm'/}
  18. {dede:include filename='header.htm'/}
  19. {dede:include filename='navbar.htm'/}
  20. <div class="container">
  21. <div class="position">
  22. <nav aria-label="breadcrumb">
  23. <ol class="breadcrumb mb-0">
  24. <li class="breadcrumb-item">当前位置</li>
  25. {dede:field name='position'/}
  26. </ol>
  27. </nav>
  28. </div>
  29. <!-- /.position -->
  30. </div>
  31. <main class="container">
  32. <div class="row">
  33. <div class="col-md-8 article-main">
  34. <h2 class="mt-0 mb-3 zixue">{dede:field.title/}</h2>
  35. <div class="body py-2">
  36. <div class="float-lg-right text-lg-right mr-5" id="body-pic">{dede:field name='image'/}</div>
  37. <p><small>所属区域:</small><span>{dede:field.nativeplace/}</span></p>
  38. <p><small>信息类型:</small><span>{dede:field.infotype/}</span></p>
  39. <p><small>点击数:</small><span id="_count">...</span></p>
  40. <p><small>发布时间:</small><span>{dede:field.pubdate function="MyDate('y-m-d H:i',@me)"/} </span></p>
  41. <p><small>截止日期:</small><span>{dede:field.endtime function="MyDate('Y-m-d H:m',@me)" /} </span></p>
  42. <p><small>联系人:</small><span>{dede:field.linkman /}</span></p>
  43. <p><small>联系电话:</small><span>{dede:field.tel /}</span></p>
  44. <p><small>电子邮箱:</small><span>{dede:field.email/}</span></p>
  45. <p><small>地址:</small><span>{dede:field.address /}</span></p>
  46. <p>信息描述</p>
  47. <div role="alert">
  48. {dede:field.body/}
  49. </div>
  50. </div>
  51. <!-- /.body -->
  52. <div class="clearfix"></div>
  53. {dede:include comment='文档顶踩模块' filename="widget_article_digg.htm"/}
  54. <div class="row">
  55. <div class="col-md-4 prenext pt-2">
  56. <div class="pagination-previous">{dede:prenext get='pre'/}</div>
  57. <div class="pagination-next mt-2">{dede:prenext get='next'/}</div>
  58. </div>
  59. <div class="col-md-8">
  60. <div class="row actbox">
  61. <ul>
  62. <li><i class="fa fa-star-o" aria-hidden="true"></i> <a href="{dede:field name='phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank">收藏</a></li>
  63. <li><i class="fa fa-bug" aria-hidden="true"></i> <a href="javascript:ErrorAddSave({dede:field.id/}, '{dede:field.title/}');">挑错</a>
  64. </li>
  65. <li><i class="fa fa-thumbs-o-up" aria-hidden="true"></i> <a href="{dede:field name='phpurl'/}/recommend.php?aid={dede:field.id/}" target="_blank">推荐</a></li>
  66. <li><i class="fa fa-print" aria-hidden="true"></i> <a href="#" onClick="window.print();">打印</a></li>
  67. </ul>
  68. </div><!-- /actbox -->
  69. </div>
  70. </div>
  71. {dede:include comment='文档评论模块' file='widget_article_feedback.htm' /}
  72. </div>
  73. <!-- /.article-main -->
  74. <aside class="col-md-4 article-sidebar">
  75. {dede:include comment='推荐内容' filename="widget_recommend_sg.htm"/}
  76. {dede:include comment='热点内容' filename="widget_hot_sg.htm"/}
  77. {dede:include comment='QR二维码' filename="widget_qrcode.htm"/}
  78. </aside>
  79. <!-- /.article-sidebar -->
  80. </div>
  81. </main>
  82. <!-- /main -->
  83. {dede:include filename="footer.htm"/}
  84. <script>
  85. //页面加载触发
  86. $(document).ready(function () {
  87. //获取文档点击数统计
  88. $.get("{dede:field name='phpurl'/}/count.php?format=json&view=yes&aid={dede:field.id/}&mid=1&cid={dede:field.channel/}", function (data) {
  89. let result = JSON.parse(data);
  90. $("#_count").html(result.data.click);
  91. })
  92. });
  93. </script>
  94. </body>
  95. </html>