pano3.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>vr house</title>
  5. <!-- <script src="./three.module.js"></script> -->
  6. <!-- <script src="./js/controls/OrbitControls.js"></script> -->
  7. <script src="./js/tvSysBtnBind.v2.1.js"></script>
  8. <!-- <script src="./js/loaders/MTLLoader.js"></script> -->
  9. <!-- <script src="js/loaders/collada/AnimationHandler.js"></script> -->
  10. <meta charset="utf-8">
  11. <style>
  12. body {
  13. /* set margin to 0 and overflow to hidden, to go fullscreen */
  14. margin: 0;
  15. overflow: hidden;
  16. }
  17. .navigation{
  18. display: flex;
  19. z-index: 10;
  20. position: fixed;
  21. top:15px;
  22. right:15px;
  23. user-select: none;
  24. -moz-user-select: none;
  25. -khtml-user-select: none;
  26. -webkit-user-select: none;
  27. -o-user-select: none;
  28. /* flex-direction: column;
  29. align-items: center; */
  30. }
  31. .navigation .map_img{
  32. width: 128px;
  33. height: 128px;
  34. }
  35. #map{
  36. position: absolute;
  37. /* z-index: 11;
  38. top:32px; */
  39. right:15px;
  40. }
  41. #cam{
  42. position: absolute;
  43. /* z-index: 12; */
  44. /* top:32px; */
  45. right:15px;
  46. /* transform: rotate(180deg); */
  47. }
  48. #redPoints{
  49. position: relative;
  50. right:15px;
  51. }
  52. .navigation .cam_img{
  53. width: 32px;
  54. height: 32px;
  55. }
  56. .navigation .point_img{
  57. width: 8px;
  58. height: 8px;
  59. }
  60. #tip{
  61. position: absolute;
  62. right:15px;
  63. bottom: 15px;
  64. color: gray;
  65. display: none;
  66. }
  67. #menuTip{
  68. position: absolute;
  69. left:50%;
  70. top: 50%;
  71. color: gray;
  72. display: none;
  73. transform: translate(-50%,-50%);
  74. font-size: 26px;
  75. }
  76. #menu{
  77. position: absolute;
  78. z-index: 9;
  79. display: none;
  80. bottom: 0px;
  81. width: 100%;
  82. overflow: auto;
  83. background-color: #eaeee3;
  84. }
  85. #menu .pano{
  86. position: relative;
  87. margin: 10px;
  88. cursor: pointer;
  89. }
  90. #menu .panoEnd{
  91. display: flex;
  92. justify-content: flex-end;
  93. align-items: flex-end;
  94. }
  95. #menu .panoSelect{
  96. position: relative;
  97. margin: 10px;
  98. cursor: pointer;
  99. background-color: violet;
  100. }
  101. #menu .pano .title,#menu .panoSelect .title{
  102. /* position: absolute;
  103. top:50%;
  104. left:50%;
  105. transform:translate(-50%,-50%);
  106. font-size: 18px;
  107. width: 120px;
  108. display: flex;
  109. justify-content: center;
  110. align-items: center;
  111. overflow: hidden;
  112. text-overflow: ellipsis;
  113. white-space: nowrap; */
  114. position: absolute;
  115. top: 90%;
  116. left: 50%;
  117. transform: translate(-50%,-50%);
  118. font-size: 16px;
  119. width: 100px;
  120. color: #eb9713;
  121. overflow: hidden;
  122. text-overflow: ellipsis;
  123. white-space: nowrap;
  124. }
  125. #menu .pano .thumb img,#menu .panoSelect .thumb img{
  126. width:120px;
  127. }
  128. *::-webkit-scrollbar {
  129. /*滚动条整体样式*/
  130. width: 8px;/*定义纵向滚动条宽度*/
  131. height: 8px;/*定义横向滚动条高度*/
  132. }
  133. *::-webkit-scrollbar-thumb {
  134. /*滚动条内部滑块*/
  135. border-radius: 8px;
  136. background-color: hsla(220, 4%, 58%, 0.3);
  137. transition: background-color 0.3s;
  138. }
  139. *::-webkit-scrollbar-thumb:hover {
  140. /*鼠标悬停滚动条内部滑块*/
  141. background: #bbb;
  142. }
  143. *::-webkit-scrollbar-track {
  144. /*滚动条内部轨道*/
  145. background: #ededed;
  146. }
  147. </style>
  148. </head>
  149. <body id="Jdoc">
  150. <!-- 用来保存输出结果 -->
  151. <div id="container">
  152. </div>
  153. <div class="navigation">
  154. <div style="position:relative">
  155. <div id='map'><img class="map_img" src="panos/HomeHouseMap.png"/></div>
  156. <div id='cam'><img class="cam_img" src="panos/HomePoint.png"/></div>
  157. <div id='redPoints'>
  158. <!-- <img id='Li' class="point_img" src="panos/redPoint.png"/> -->
  159. </div>
  160. </div>
  161. </div>
  162. <div id="tip">Walking...</div>
  163. <div id="menuTip"> 单击“返回/OK”键全景观赏当前图片 </div>
  164. <div id='menu'>
  165. <div class="pano">
  166. <div class="title">ddd</div>
  167. <div class="thumb"><img src='panos/01frontGate4k_b.jpg' /></div>
  168. </div>
  169. -
  170. </div>
  171. </div>
  172. <div class="ctrlBtn"></div>
  173. <script src="app.min.js"></script>
  174. <script type="text/javaScript">
  175. </script>
  176. </body>
  177. </html>