396.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>四维时代</title>
  7. <style type="text/css">
  8. body {
  9. -ms-touch-action: none;
  10. background-color: #000;
  11. }
  12. a {
  13. text-decoration: none;
  14. color: #fff;
  15. }
  16. #rotateHint {
  17. animation: flash 1s infinite;
  18. -webkit-animation: flash 1s infinite;
  19. animation-timing-function: ease-out;
  20. left: 35%;
  21. top: 26%;
  22. margin-left: -32px;
  23. width: 80px;
  24. height: 80px;
  25. position: absolute;
  26. background-repeat: no-repeat;
  27. background-position: center center;
  28. z-index: 10;
  29. background-image: url("rotate1.png");
  30. }
  31. @keyframes flash {
  32. 0% {
  33. opacity: 0.8;
  34. background-size: 60% 60%;
  35. }
  36. 100% {
  37. opacity: 0.1;
  38. background-size: 100% 100%;
  39. }
  40. }
  41. .wrap {
  42. width: 100%;
  43. height: 100%;
  44. display: flex;
  45. flex-direction: row;
  46. justify-content: center;
  47. align-items: center;
  48. }
  49. .intro {
  50. background: url("Spain.png") no-repeat;
  51. background-size: 100%;
  52. background-color: rgba(34, 34, 34, 1);
  53. }
  54. .photo {
  55. margin-left: -400px;
  56. }
  57. .intro-words {
  58. margin: 200px 0 0 50px;
  59. }
  60. .intro-words p {
  61. width: 90%;
  62. color: #fff;
  63. }
  64. @media screen and (max-width: 1400px) {
  65. .wrap {
  66. width: 100%;
  67. height: 100%;
  68. display: flex;
  69. flex-direction: row;
  70. justify-content: center;
  71. align-items: center;
  72. }
  73. .intro {
  74. background: url("Spain.png") no-repeat;
  75. background-size: 100%;
  76. background-color: rgba(34, 34, 34, 1);
  77. }
  78. .photo {
  79. margin-left: -400px;
  80. }
  81. .intro-words {
  82. margin: 200px 0 0 50px;
  83. }
  84. .intro-words p {
  85. width: 90%;
  86. color: #fff;
  87. }
  88. }
  89. </style>
  90. <script language="JavaScript" type="text/javascript" src="src/ObjectViewer_2D.js"></script>
  91. <script language="JavaScript" type="text/javascript">
  92. var Fdage;
  93. var dragStart;
  94. function showRotHint() {
  95. var rot = document.getElementById("rotateHint");
  96. var container = document.getElementById('4dage');
  97. var f1 = function () {
  98. dragStart = true;
  99. }
  100. var f2 = function () {
  101. dragStart = false;
  102. }
  103. var f3 = function () {
  104. if (dragStart) {
  105. rot.parentElement.removeChild(rot);
  106. container.removeEventListener("mousedown", f1);
  107. container.removeEventListener("mouseup", f2);
  108. container.removeEventListener("touchstart", f1)
  109. container.removeEventListener("touchend", f2)
  110. container.removeEventListener("mousemove", f3);
  111. container.removeEventListener("touchmove", f3);
  112. }
  113. }
  114. container.addEventListener("mousedown", f1);
  115. container.addEventListener("mouseup", f2);
  116. container.addEventListener("touchstart", f1)
  117. container.addEventListener("touchend", f2)
  118. container.addEventListener("mousemove", f3);
  119. container.addEventListener("touchmove", f3);
  120. }
  121. function init4dage() {
  122. var zoomVal = document.documentElement.clientHeight / 960;
  123. var nameOfDiv = "4dage";
  124. var folderName = "image/396";
  125. var imageWidth = 1200;
  126. var imageHeight = 800;
  127. var backgroundColor = "rgba(255,255,255,0)";
  128. var uCount = 68;
  129. var vCount = 1;
  130. var uWrap = true;
  131. var vWrap = true;
  132. var uMouseSensitivity = -0.098484;
  133. var vMouseSensitivity = 0.019735;
  134. var uStartIndex = 1;
  135. var vStartIndex = 0;
  136. var minZoom = zoomVal;
  137. var maxZoom = 5.000000;
  138. var rotationDamping = 0.960000;
  139. var windowResizable = true;
  140. var enableLOD = false;
  141. var addResizableGUIButton = false;
  142. var addPlayGUIButton = false;
  143. var imageExtension = "png";
  144. var showLoading = false;
  145. Fdage = new FdageT(nameOfDiv, folderName, imageWidth, imageHeight, backgroundColor, uCount, vCount, uWrap, vWrap, uMouseSensitivity, vMouseSensitivity, uStartIndex, vStartIndex, minZoom, maxZoom, rotationDamping, windowResizable, enableLOD, addResizableGUIButton, addPlayGUIButton, imageExtension, showLoading);
  146. showRotHint();
  147. }
  148. window.onload = init4dage;
  149. </script>
  150. </head>
  151. <body oncontextmenu="return false;">
  152. <div id='wx_pic' style='margin:0 auto;display:none;'>
  153. <img src='ins.jpg' />
  154. </div>
  155. <div id="rotateHint"></div>
  156. <div class="wrap">
  157. <div id="4dage" class="photo" style="width:960px;height:960px;max-width:100%;margin-left: -200px;"></div>
  158. <div class="intro" style="width: 800px;height: 500px;">
  159. <div class="intro-words">
  160. <p>年 代:西汉</p>
  161. <p>征集地:中国陕西西汉长安未央宫遗址</p>
  162. <p>体 量:口弦长7.2cm,宽2.7cm</p>
  163. <p>展品鉴定报告描述
  164. 标本锈蚀严重,口弦琴形态尚完全,能够观察到琴体、琴弦,两者为一体打造,看不到焊接痕迹,是较特殊的形态。金相分析结果显示,利用扫描电镜能谱仪进行分析,除铁锈外,还有黄铜的成分,并还有少量硫化物。在三岔处其金相组织为铁素体和珠光体组织,含碳量约0.4%,在本视场内未发现两块刚才锻接痕迹和其它类型的夹杂物。
  165. </p>
  166. </div>
  167. </div>
  168. </div>
  169. </body>
  170. </html>