index.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>识别大屏</title>
  8. <style>
  9. body {
  10. margin: 0;
  11. padding: 0;
  12. }
  13. p {
  14. margin: 0;
  15. }
  16. /* @font-face {
  17. font-family: zhanti;
  18. src: url("./static/font/zhanti.ttf");
  19. } */
  20. .recognbox {
  21. width: 100%;
  22. height: 100vh;
  23. position: relative;
  24. overflow: hidden;
  25. background-color: #101010;
  26. }
  27. .videobox {
  28. width: 100%;
  29. height: 100%;
  30. overflow: hidden;
  31. }
  32. .iframebox {
  33. position: absolute;
  34. top: 0px;
  35. left: 0px;
  36. width: 100%;
  37. height: 100%;
  38. z-index: 98;
  39. text-align: center;
  40. }
  41. .iframebox img {
  42. width: 75%;
  43. height: 100%;
  44. margin: 0 auto;
  45. }
  46. .iframebox .zhedang {
  47. height: 100%;
  48. width: 50px;
  49. background-color: #101010;
  50. position: absolute;
  51. top: 0;
  52. right: 12.5%;
  53. }
  54. .borbox {
  55. position: absolute;
  56. top: 0px;
  57. left: 0px;
  58. width: 100%;
  59. height: 100%;
  60. z-index: 99;
  61. }
  62. .borbox .bg {
  63. width: 100%;
  64. height: 100%;
  65. }
  66. .borbox .shang {
  67. position: absolute;
  68. top: -14px;
  69. left: 1.8%;
  70. width: 100%;
  71. height: 100px;
  72. }
  73. .borbox .tilte {
  74. position: absolute;
  75. top: 0;
  76. left: 0;
  77. width: 100%;
  78. height: 80px;
  79. /* font-family: zhanti; */
  80. color: #fff;
  81. text-align: center;
  82. line-height: 55px;
  83. font-size: 30px;
  84. margin: 0;
  85. }
  86. .borbox .xia {
  87. position: absolute;
  88. bottom: -10px;
  89. left: 1.8%;
  90. width: 100%;
  91. height: 80px;
  92. }
  93. .borbox_menu {
  94. position: absolute;
  95. width: 70%;
  96. top: 50%;
  97. left: 15%;
  98. margin-top: -230px;
  99. display: flex;
  100. justify-content: space-around;
  101. }
  102. .borbox .caozuo {
  103. position: absolute;
  104. top: 20px;
  105. right: 20px;
  106. height: 100px;
  107. }
  108. .fangda img,.suoxiao img{
  109. width: 24px;
  110. height: 24px;
  111. }
  112. .menu_item {
  113. width: 20%;
  114. height: 500px;
  115. /* background-image: url("./static/images/card.png");
  116. background-size: 100% 100%;*/
  117. padding: 20px;
  118. box-sizing: border-box;
  119. position: relative;
  120. }
  121. .menu_item2 {
  122. width: 25%;
  123. /* height: 100%; */
  124. height: 500px;
  125. display: flex;
  126. flex-direction: column;
  127. justify-content: space-between;
  128. }
  129. .menu_item2_item {
  130. width: 100%;
  131. height: 45%;
  132. padding: 20px;
  133. box-sizing: border-box;
  134. position: relative;
  135. }
  136. .menu_item p:first-child {
  137. font-size: 24px;
  138. /* font-family: zhanti; */
  139. color: #fff;
  140. }
  141. .menu_item p:nth-child(2) {
  142. font-size: 12px;
  143. color: rgba(255, 255, 255, 0.6);
  144. margin-top: 5px;
  145. }
  146. .menu_item .itemimg {
  147. width: 100%;
  148. position: absolute;
  149. top: 0;
  150. left: 0;
  151. z-index: -1;
  152. }
  153. .menu_item:hover {
  154. background-image: url("./static/images/card2.png");
  155. background-size: 100% 100%;
  156. }
  157. .menu_item2_item p:first-child {
  158. font-size: 24px;
  159. /* font-family: zhanti; */
  160. color: #fff;
  161. }
  162. .menu_item2_item p:nth-child(2) {
  163. font-size: 12px;
  164. color: rgba(255, 255, 255, 0.6);
  165. margin-top: 5px;
  166. }
  167. .menu_item2_item .itemimg {
  168. width: 100%;
  169. height: 100%;
  170. position: absolute;
  171. top: 0;
  172. left: 0;
  173. z-index: -1;
  174. }
  175. .menu_item2_item:hover {
  176. background-image: url("./static/images/card2.png");
  177. background-size: 100% 100%;
  178. }
  179. </style>
  180. </head>
  181. <body>
  182. <div class="recognbox" id="recognbox">
  183. <div class="videobox">
  184. <video controls="controls" muted="muted" autoplay="autoplay" loop="loop" class="fillWidth" id="fillWidths">
  185. <source src="https://zhanting-shibie.oss-cn-hangzhou.aliyuncs.com/1.mp4" type="video/mp4" />
  186. </video>
  187. </div>
  188. <div class="borbox">
  189. <img src="./static/images/shipinbianyuanheichang.png" alt="" class="bg" v-show="btntf" />
  190. <div class="borbox_menu">
  191. <div class="menu_item" onclick="topage('/maizediscern')">
  192. <p>玉米虫害识别</p>
  193. <p>Maize pest identification</p>
  194. <img src="./static/images/index/5.png" alt="" class="itemimg" />
  195. </div>
  196. <div class="menu_item" onclick="topage('/ricediscern')">
  197. <p>水稻虫害识别</p>
  198. <p>Identification of rice pests</p>
  199. <img src="./static/images/index/3.png" alt="" class="itemimg" />
  200. </div>
  201. <div class="menu_item" onclick="topage('/wheatdiscern')">
  202. <p>小麦蚜虫识别</p>
  203. <p>Wheat pest identification</p>
  204. <img src="./static/images/index/4.png" alt="" class="itemimg" />
  205. </div>
  206. <div class="menu_item2">
  207. <div class="menu_item2_item" onclick="topage('/achievement')">
  208. <p>虫害识别结果展示</p>
  209. <p>Display of pest identification results</p>
  210. <img src="./static/images/index/1.png" alt="" class="itemimg" />
  211. </div>
  212. <div class="menu_item2_item" onclick="topage('/Diseaselibrary')">
  213. <p>病害库</p>
  214. <p>Disease library</p>
  215. <img src="./static/images/index/2.png" alt="" class="itemimg" />
  216. </div>
  217. </div>
  218. </div>
  219. <img src="./static/images/shang.png" alt="" class="shang" />
  220. <img src="./static/images/xia.png" alt="" class="xia" />
  221. <p class="tilte">AI识别技术</p>
  222. <div class="caozuo">
  223. <div class="fangda" id="fangda" onclick="btnClick()">
  224. <img src="./static/images/index/fangda.png" alt="">
  225. </div>
  226. <div class="suoxiao" id="suoxiao" onclick="exitFullScreen()">
  227. <img src="./static/images/index/suoxiao.png" alt="">
  228. </div>
  229. </div>
  230. </div>
  231. </div>
  232. <script src="./static/js/jquery-2.1.4.min.js"></script>
  233. <script src="./static/js/show.js"></script>
  234. <script type="">
  235. function topage(route) {
  236. window.location.href = "."+route+".html"
  237. }
  238. </script>
  239. </body>
  240. </html>