396.html 5.0 KB

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