index.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>Coloring Page Paint On Line | Coloring Game</title>
  6. <!-- Google HTML5 click tag fallback; platform builds may override this value. -->
  7. <script>
  8. var clickTag = "https://play.google.com/store/apps/details?id=com.pcoloring.art.puzzle.color.by.number";
  9. </script>
  10. <script type="module" src="./src/filler/index.ts"></script>
  11. <meta
  12. name="viewport"
  13. content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"
  14. />
  15. <link rel="stylesheet" href="./assets/css/tools.css" type="text/css" />
  16. <link rel="stylesheet" href="./assets/css/loading.css" type="text/css" />
  17. </head>
  18. <body>
  19. <div id="loading-overlay">
  20. <div class="spinner"></div>
  21. </div>
  22. <!-- 广告标识(各平台合规要求) -->
  23. <div id="ad-badge">Ad</div>
  24. <!-- 游戏列:flex column,上方是纯 canvas 区,下方是工具栏 -->
  25. <div id="game-col">
  26. <!-- 宣传界面:在 game-col 内 absolute 展开,覆盖 canvas+toolbar 整体区域 -->
  27. <div id="promo-screen">
  28. <img id="promo-coloring" alt="" />
  29. <img id="promo-slogon" alt="" />
  30. </div>
  31. <div id="game-area">
  32. <canvas id="canvas"></canvas>
  33. </div>
  34. <!-- 调色板,在 canvas 下方独立行,不与 canvas 重叠 -->
  35. <div id="toolbar-bottom">
  36. <div id="color-btns"></div>
  37. </div>
  38. </div>
  39. <!-- 竖屏:display:contents,子元素直接参与 body flex 排列
  40. 横屏:flex column 右侧栏 -->
  41. <div id="sidebar">
  42. <div id="app-logo-bar">
  43. <img id="app-logo" alt="" />
  44. <img id="app-logo-txt" alt="" />
  45. </div>
  46. <!-- 横屏时撑开 logo 与 CTA 之间的空白 -->
  47. <div class="sidebar-flex-spacer"></div>
  48. <div id="cta-btn-wrapper">
  49. <button id="cta-btn">PLAY NOW</button>
  50. </div>
  51. </div>
  52. <div id="toast" class="toast toast-hidden"></div>
  53. </body>
  54. </html>