Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>客户TT项目销售培训 银标</title>
  6. <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
  7. <meta name="apple-mobile-web-app-capable" content="yes" />
  8. <meta name="full-screen" content="true" />
  9. <meta name="screen-orientation" content="portrait" />
  10. <meta name="x5-fullscreen" content="true" />
  11. <meta name="360-fullscreen" content="true" />
  12. <style>
  13. html, body {
  14. -ms-touch-action: none;
  15. background: #ffffff;
  16. padding: 0;
  17. border: 0;
  18. margin: 0;
  19. height: 100%;
  20. }
  21. #videoDiv{
  22. width: 1px;
  23. height: 1px;
  24. display: none;
  25. position: absolute;
  26. top: 0;
  27. left: 0;
  28. background: #000000;
  29. }
  30. #video1,#video2,#video3,#video4{
  31. width: 1px;
  32. height: 1px;
  33. display: none;
  34. object-fit:cover;
  35. }
  36. #img{
  37. position: absolute;
  38. top: 5%;
  39. right: 2%;
  40. width: 150px;
  41. height: 30px;
  42. }
  43. </style>
  44. </head>
  45. <body>
  46. <div style="margin: auto;width: 100%;height: 100%;" class="egret-player"
  47. data-entry-class="Main"
  48. data-orientation="auto"
  49. data-scale-mode="showAll"
  50. data-frame-rate="30"
  51. data-content-width="640"
  52. data-content-height="960"
  53. data-multi-fingered="2"
  54. data-show-fps="false" data-show-log="false"
  55. data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
  56. </div>
  57. <div id="videoDiv" onclick="clickVideo()">
  58. <img id="img" src="resource/assets/sound/deleVideo.png" alt="">
  59. <video id="video1" src="resource/assets/sound/video1.mp4" preload="auto" playsinline="true" x-webkit-airplay="true" webkit-playsinline="true" x5-playsinline="true"></video>
  60. <video id="video2" src="resource/assets/sound/video2.mp4" preload="auto" playsinline="true" x-webkit-airplay="true" webkit-playsinline="true" x5-playsinline="true"></video>
  61. <video id="video3" src="resource/assets/sound/video3.mp4" preload="auto" playsinline="true" x-webkit-airplay="true" webkit-playsinline="true" x5-playsinline="true"></video>
  62. <video id="video4" src="resource/assets/sound/video4.mp4" preload="auto" playsinline="true" x-webkit-airplay="true" webkit-playsinline="true" x5-playsinline="true"></video>
  63. </div>
  64. <audio id="music1"><source src="resource/assets/sound/bg.mp3" type="audio/mpeg"></audio>
  65. <script>
  66. var audio=document.getElementById("music1");
  67. audio.loop=true;
  68. document.addEventListener("DOMContentLoaded",function(){
  69. audio.play();
  70. document.addEventListener("WeixinJSBridgeReady",function(){
  71. audio.play();
  72. },false);
  73. });
  74. var musicstart=true;
  75. function audioPaly() {
  76. musicstart=true;
  77. audio.muted=false;
  78. audio.volume=1;
  79. audio.play();
  80. }
  81. function audioPause() {
  82. musicstart=false;
  83. audio.muted=true;
  84. audio.volume=0;
  85. audio.pause();
  86. }
  87. </script>
  88. <script>
  89. function skipPage(){
  90. window.location.href="https://shimo.im/docs/33D8cpjdDYW8HDxD";
  91. var timestamp=new Date().getTime();
  92. localStorage.setItem('page', "10");
  93. localStorage.setItem('time', timestamp);
  94. localStorage.setItem('showAgain', "1");
  95. }
  96. // 视频播放
  97. var videoDiv = document.getElementById("videoDiv");
  98. var videoArr = ["video1","video2","video3","video4"]
  99. function videoPlay(e){
  100. var video;
  101. video = document.getElementById(videoArr[e-1]);
  102. console.log(video)
  103. videoDiv.style.display = "block";
  104. videoDiv.style.width = "100%";
  105. videoDiv.style.height = "100%";
  106. video.style.width = "100%";
  107. video.style.height = "100%";
  108. video.style.display = "block";
  109. video.setAttribute("x5-video-player-type", "h5");
  110. video.setAttribute("x5-videoplayer-fullscreen", "true");
  111. video.play();
  112. }
  113. function clickVideo(){
  114. videoDiv.style.display = "none";
  115. videoDiv.style.width = 1+"px";
  116. videoDiv.style.height = 1+"px";
  117. var videoPause;
  118. for(var i=0;i<videoArr.length;i++){
  119. console.log(videoArr[i])
  120. videoPause = document.getElementById(videoArr[i]);
  121. videoPause.style.width = 1+"px";
  122. videoPause.style.height = 1+"px";
  123. videoPause.style.display = "none";
  124. videoPause.pause();
  125. }
  126. }
  127. </script>
  128. <script>
  129. var loadScript = function (list, callback) {
  130. var loaded = 0;
  131. var loadNext = function () {
  132. loadSingleScript(list[loaded], function () {
  133. loaded++;
  134. if (loaded >= list.length) {
  135. callback();
  136. }
  137. else {
  138. loadNext();
  139. }
  140. })
  141. };
  142. loadNext();
  143. };
  144. var loadSingleScript = function (src, callback) {
  145. var s = document.createElement('script');
  146. s.async = false;
  147. s.src = src;
  148. s.addEventListener('load', function () {
  149. s.parentNode.removeChild(s);
  150. s.removeEventListener('load', arguments.callee, false);
  151. callback();
  152. }, false);
  153. document.body.appendChild(s);
  154. };
  155. var xhr = new XMLHttpRequest();
  156. xhr.open('GET', './manifest.json?v=' + Math.random(), true);
  157. xhr.addEventListener("load", function () {
  158. var manifest = JSON.parse(xhr.response);
  159. var list = manifest.initial.concat(manifest.game);
  160. loadScript(list, function () {
  161. /**
  162. * {
  163. * "renderMode":, //Engine rendering mode, "canvas" or "webgl"
  164. * "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
  165. * "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
  166. * "calculateCanvasScaleFactor": //a function return canvas scale factor
  167. * }
  168. **/
  169. egret.sys.screenAdapter = new easy.EasyGameFullScreen();
  170. egret.runEgret({ renderMode: "webgl", audioType: 0, calculateCanvasScaleFactor:function(context) {
  171. var backingStore = context.backingStorePixelRatio ||
  172. context.webkitBackingStorePixelRatio ||
  173. context.mozBackingStorePixelRatio ||
  174. context.msBackingStorePixelRatio ||
  175. context.oBackingStorePixelRatio ||
  176. context.backingStorePixelRatio || 1;
  177. return (window.devicePixelRatio || 1) / backingStore;
  178. }});
  179. });
  180. });
  181. xhr.send(null);
  182. </script>
  183. </body>
  184. </html>