mobile.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
  5. <meta charset=UTF-8>
  6. <meta http-equiv=Cache-Control content="max-age=7200">
  7. <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
  8. <meta content="telephone=no" name=format-detection>
  9. <meta name=description content=灵影仙踪>
  10. <link rel="shortcut icon" href=//4dkk.4dage.com/FDKKIMG/icon/kankan_icon.ico>
  11. <link rel=icon type=image/png href=//4dkk.4dage.com/FDKKIMG/icon/kankan_icon192.png sizes=192x192>
  12. <link rel=apple-touch-icon sizes=180x180 href=//4dkk.4dage.com/FDKKIMG/icon/kankan_icon180.png>
  13. <title>灵影仙踪</title>
  14. <style>
  15. html,
  16. body {
  17. width: 100%;
  18. height: 100%;
  19. margin: 0;
  20. padding: 0;
  21. border: 0;
  22. position: relative;
  23. max-width: 596px;
  24. margin: 0 auto;
  25. }
  26. @media screen and (min-width: 900px){
  27. .app{
  28. max-width: 596px;
  29. margin: 0 auto;
  30. }
  31. }
  32. .app {
  33. text-align: center;
  34. width: 100%;
  35. height: 100%;
  36. overflow: hidden;
  37. background: url(./img/bg.jpg) no-repeat 100% 100%;
  38. background-size: 100% 100%;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. }
  43. .content {
  44. width: 100%;
  45. }
  46. .log {
  47. width: calc(100% - 70px);
  48. min-width: 312px;
  49. height: auto;
  50. /* border-radius: 30px; */
  51. margin-bottom: 35px;
  52. }
  53. .but {
  54. width: 213px;
  55. height: 60px;
  56. margin: 0 auto;
  57. background: url(./img/but.png) no-repeat center center;
  58. background-size: 213px 60px;
  59. font-family: Source Han Sans CN, Source Han Sans CN;
  60. font-weight: 400;
  61. font-size: 19px;
  62. color: #FFFFFF;
  63. line-height: 50px;
  64. text-align: center;
  65. font-style: normal; position: relative;
  66. z-index: 3;
  67. }
  68. .tips{
  69. font-family: Source Han Sans CN, Source Han Sans CN;
  70. font-weight: 400;
  71. font-size: 12px;
  72. color: #FFFFFF;
  73. line-height: 19px;
  74. text-align: center;
  75. width: 100%;
  76. position: absolute;
  77. bottom: 40px;
  78. }
  79. </style>
  80. <script>
  81. function openUrl () {
  82. // What to do
  83. console.log('openUrl');
  84. window.location.href = "https://www.4dkankan.com/spg.html?m=SG-Yu3JBqaVsxP&lang=zh"
  85. }
  86. </script>
  87. </head>
  88. <body>
  89. <div class="app">
  90. <div class="content">
  91. <img class="log" src="./img/logs.png" alt="">
  92. <div class="but" onclick="openUrl()">
  93. 进入场景
  94. </div>
  95. </div>
  96. </div>
  97. <!-- <div class="tips">
  98. <img style="width: 85px;" src="./img/log4d.png" alt="">
  99. </div> -->
  100. </body>
  101. </html>