news-detail-mobile.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>新闻资讯</title>
  7. <link rel="stylesheet" href="./css/common/default.css" />
  8. <link rel="stylesheet" href="./css/components/header-mobile.css" />
  9. <link rel="stylesheet" href="./css/components/footer-mobile.css" />
  10. <link rel="stylesheet" href="./css/news-detail-mobile.css" />
  11. <script src="./js/lib/vue.min.js"></script>
  12. <script src="./js/lib/axios.min.js"></script>
  13. <script src="./js/common/browser-resize.js"></script>
  14. </head>
  15. <body>
  16. <div class="wrap">
  17. <div id="header" class="header" style="background: #fff">
  18. <img class="header-logo" :src="logo_path" alt="" />
  19. <div class="header-right">
  20. <div class="header-language">
  21. <span
  22. :class="[current_language=='chs'?'current':'no-current']"
  23. @click="changeLanguage('chs')"
  24. >中文</span
  25. ><span>/</span
  26. ><span
  27. :class="[current_language=='en'?'current':'no-current']"
  28. @click="changeLanguage('en')"
  29. >EN</span
  30. >
  31. </div>
  32. <img
  33. class="header-menu"
  34. :src="`./static/${menu_show?'close':'menu'}.png`"
  35. @click="menu_show = !menu_show"
  36. />
  37. </div>
  38. <div
  39. class="header-nav"
  40. :style="{height:menu_show?'calc(100vh - 2.75rem)':'0'}"
  41. >
  42. <a v-for="item in path_list" :href="item.path">
  43. <span :class="{'current':current_path.includes(item.path)}">
  44. {{text(item.name)}}
  45. </span>
  46. <span class="icon">›</span>
  47. </a>
  48. </div>
  49. </div>
  50. <div id="app">
  51. <div class="title">{{info[lan_key('name')]}}</div>
  52. <div class="time">{{text('发布时间')}}:{{info.time}}</div>
  53. <div class="card">
  54. <div class="content" v-html="info[lan_key('content')]"></div>
  55. <div class="download" v-if="info.url">
  56. <div class="name">{{info[lan_key('url_name')]}}</div>
  57. <div class="a-btn btn" @click="downloadFile">
  58. {{text('下载附件')}}
  59. </div>
  60. </div>
  61. <div class="next" v-if="info.nfront">
  62. <div class="label">{{text('上一篇')}}</div>
  63. <a class="link" :href="'/news-detail.html?id=' + info.nfront.id"
  64. >{{info.nfront[lan_key('name')]}}</a
  65. >
  66. </div>
  67. <div class="next" v-if="info.nafter">
  68. <div class="label">{{text('下一篇')}}</div>
  69. <a class="link" :href="'/news-detail.html?id=' + info.nafter.id"
  70. >{{info.nafter[lan_key('name')]}}</a
  71. >
  72. </div>
  73. <div class="back" @click="back()">
  74. {{text('返回列表')}} <span>›</span>
  75. </div>
  76. </div>
  77. </div>
  78. <div id="footer" class="footer">
  79. <img
  80. class="footer-company"
  81. :src="baseURL + config.web_logo_footer"
  82. alt=""
  83. />
  84. <div class="footer-page">
  85. <a
  86. class="footer-page-item"
  87. v-for="item in path_list"
  88. :href="item.path"
  89. >{{text(item.name)}}</a
  90. >
  91. </div>
  92. <div class="footer-info" v-if="config.web_tel && config.web_tel.tel1">
  93. <img class="footer-icon" src="./static/phone.png" alt="" />
  94. <span>{{config.web_tel?config.web_tel.tel1:'-'}}</span>
  95. </div>
  96. <div class="footer-info">
  97. <img class="footer-icon" src="./static/email.png" alt="" />
  98. <span>{{config.web_email}}</span>
  99. </div>
  100. <div class="footer-info">
  101. <img class="footer-icon" src="./static/place.png" alt="" />
  102. <span>{{config[lan_key('web_company_address')]}}</span>
  103. </div>
  104. <div class="footer-line"></div>
  105. <div class="footer-ICP">{{config[lan_key('web_copyright')]}}</div>
  106. <a class="footer-ICP" :href="config.web_beian_url"
  107. >{{config.web_beian}}</a
  108. >
  109. <div class="footer-term">
  110. <a class="footer-term-item" href="/agreement-mobile.html?type=1"
  111. >{{text('法律声明')}}</a
  112. >
  113. <span>|</span>
  114. <a class="footer-term-item" href="/agreement-mobile.html?type=2"
  115. >{{text('隐私条款')}}</a
  116. >
  117. </div>
  118. </div>
  119. </div>
  120. <script type="module" src="./js/components/header-mobile.js"></script>
  121. <script type="module" src="./js/components/footer-mobile.js"></script>
  122. <script type="module" src="./js/news-detail-mobile.js"></script>
  123. </body>
  124. </html>