index.html 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <!DOCTYPE html>
  2. <html style="font-size: 600px;">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta http-equiv="Cache-Control" content="no-cache">
  9. <meta http-equiv="Expires" content="0">
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  12. <meta name="format-detection" content="telephone=no">
  13. <meta name="apple-mobile-web-app-title" content="">
  14. <title>九宫格</title>
  15. <style>
  16. body {
  17. margin: 0
  18. }
  19. #app {
  20. margin: 50px auto;
  21. width: 660px;
  22. height: 450px
  23. }
  24. #app>div>span {
  25. display: inline-block
  26. }
  27. body {
  28. min-height: 100%;
  29. width: 100%;
  30. font-family: 'Microsoft YaHei', 'Myriad Set Pro', 'Lucida Grande', 'Hiragino Sans GB', 'Helvetica', 'Arial', 'sans-serif';
  31. color: #333;
  32. background: #fff;
  33. -webkit-text-size-adjust: 100%;
  34. -webkit-font-smoothing: antialiased;
  35. -webkit-user-select: none;
  36. -webkit-tap-highlight-color: transparent;
  37. tap-highlight-color: transparent;
  38. font-size: 0.026rem;
  39. }
  40. .wrap-dialog {
  41. -webkit-tap-highlight-color: transparent;
  42. height: 100vh;
  43. width: 100%;
  44. background-color: #ebe6e0;
  45. background-size: cover;
  46. -webkit-transition: -webkit-transform 0.5s;
  47. transition: -webkit-transform 0.5s;
  48. transition: transform 0.5s;
  49. transition: transform 0.5s, -webkit-transform 0.5s;
  50. }
  51. #hongbao {
  52. -webkit-animation: arrowBig .5s ease;
  53. animation: arrowBig .5s ease;
  54. animation-iteration-count: 1;
  55. animation-fill-mode: forwards;
  56. -webkit-animation-iteration-count: 1;
  57. -webkit-animation-fill-mode: forwards;
  58. }
  59. @-webkit-keyframes arrowBig {
  60. 0% {
  61. -webkit-transform: scale(0);
  62. opacity: 0;
  63. }
  64. 100% {
  65. -webkit-transform: scale(1);
  66. opacity: 1;
  67. }
  68. }
  69. @keyframes arrowBig {
  70. 0% {
  71. transform: scale(0);
  72. opacity: 0;
  73. }
  74. 100% {
  75. transform: scale(1);
  76. opacity: 1;
  77. }
  78. }
  79. #btn {
  80. animation: mymove 1s infinite;
  81. -webkit-animation: mymove 1s infinite;
  82. /*Safari and Chrome*/
  83. animation-direction: alternate;
  84. /*轮流反向播放动画。*/
  85. animation-timing-function: ease-in-out;
  86. /*动画的速度曲线*/
  87. /* Safari 和 Chrome */
  88. -webkit-animation: mymove 1s infinite;
  89. -webkit-animation-direction: alternate;
  90. /*轮流反向播放动画。*/
  91. -webkit-animation-timing-function: ease-in-out;
  92. /*动画的速度曲线*/
  93. }
  94. @keyframes mymove {
  95. 0% {
  96. transform: scale(1);
  97. /*开始为原始大小*/
  98. }
  99. 25% {
  100. transform: scale(1.2);
  101. /*放大1.1倍*/
  102. }
  103. 50% {
  104. transform: scale(1);
  105. }
  106. 75% {
  107. transform: scale(1.2);
  108. }
  109. }
  110. @-webkit-keyframes mymove {
  111. 0% {
  112. transform: scale(1);
  113. /*开始为原始大小*/
  114. }
  115. 25% {
  116. transform: scale(1.2);
  117. /*放大1.1倍*/
  118. }
  119. 50% {
  120. transform: scale(1);
  121. }
  122. 75% {
  123. transform: scale(1.2);
  124. }
  125. }
  126. li {
  127. float: left;
  128. /* border: 1px solid white; */
  129. border-radius: 20px;
  130. /* background-color: red; */
  131. margin-top: 0 !important;
  132. height: 0.75rem !important;
  133. width: 0.75rem !important;
  134. background-image: url(./images/white.png);
  135. }
  136. .back {
  137. background-image: url(./images/share.png);
  138. background-size: 100%;
  139. }
  140. </style>
  141. <link rel="stylesheet" href="./css/index.css">
  142. </head>
  143. <body>
  144. <div class="wrap-dialog" style="background:url(./images/bg.jpg);background-size: cover;position: relative">
  145. <div id="photoBody" style="width: 3rem;height: 3rem;
  146. position: relative;
  147. top: 2.5rem;
  148. left: 0.3rem;">
  149. <img src="./images/count.png" alt="" style="width: 100%;height:auto">
  150. <div id="photoBodyBorder" style="position: absolute;width:80%;height:80%;top:10%">
  151. <div id="photoBodyMain" style="width:100%;height:100%;">
  152. <!-- <img src="./images/bg9.png" style="width: 100%;" alt=""> -->
  153. <ul style="position: absolute;top:0">
  154. <li class=" gift gift1" style="margin-bottom: 0.04rem;">
  155. <img src="./images/10.png" alt="">
  156. </li>
  157. <li class=" gift gift2" style="margin: 0 0.04rem 0.04rem;">
  158. <img src="./images/100.png" alt="">
  159. </li>
  160. <li class=" gift gift3" style="margin-bottom: 0.04rem;">
  161. <img src="./images/20.png" alt="">
  162. </li>
  163. <li class=" gift gift0" style="margin-bottom: 0.04rem;">
  164. <img src="./images/xiexie.png" alt="">
  165. </li>
  166. <li class="" id="choujiang"
  167. style="margin: 0 0.04rem 0.04rem;background-image: url(./images/start.png);background-size: 100%;">
  168. <!-- <img src="./images/start.png" alt=""> -->
  169. </li>
  170. <li class=" gift gift4" style="margin-bottom: 0.04rem;">
  171. <img src="./images/30.png" alt="">
  172. </li>
  173. <li class=" gift gift7">
  174. <img src="./images/500.png" alt="">
  175. </li>
  176. <li class=" gift gift6" style="margin: 0 0.04rem 0.04rem;">
  177. <img src="./images/xiexie.png" alt="">
  178. </li>
  179. <li class=" gift gift5">
  180. <img src="./images/20.png" alt="">
  181. </li>
  182. </ul>
  183. </div>
  184. </div>
  185. </div>
  186. <div id="hongbao" style="display:none;top: 2.5rem;
  187. position: absolute;">
  188. <img src="./images/hongbao.png" style="width:3rem;position: absolute;left:0.3rem;z-index: 10" alt="">
  189. <img src="./images/qian.png" style=" width: 1rem;
  190. position: absolute;
  191. left: 1.3rem;
  192. top:1.65rem;
  193. z-index: 10;" alt="">
  194. <img src="./images/btn.png" id="btn" style="width: 1.6rem;
  195. position: absolute;
  196. left: 1.05rem;
  197. top: 2.2rem;
  198. z-index: 10;" alt="">
  199. </div>
  200. <audio src="./images/zhuan.mp3" id="mediaId"></audio>
  201. <audio src="./images/show.mp3" id="mediaShow"></audio>
  202. </div>
  203. <script src="https://sf3-ttcdn-tos.pstatp.com/obj/union-fe-nc/playable/sdk/playable-sdk.js"></script>
  204. <script type="text/javascript" src="js/jquery.min.js"></script>
  205. <script src="./js/rem.js"></script>
  206. <script src="./js/index.js"></script>
  207. <script type="text/javascript">
  208. $('#btn').on('touchstart', function (e) {
  209. e.preventDefault()
  210. e.stopPropagation()
  211. window.playableSDK.sendEvent('clickDownloadBar', {
  212. section: 'section2',
  213. area: 'area3'
  214. });
  215. window.playableSDK.openAppStore()
  216. })
  217. </script>
  218. </body>
  219. </html>