game-detail.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>海龟汤 - 游戏详情</title>
  7. <!-- Tailwind CSS -->
  8. <script src="https://cdn.tailwindcss.com"></script>
  9. <!-- FontAwesome -->
  10. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  11. <!-- 自定义样式 -->
  12. <link rel="stylesheet" href="../css/custom.css">
  13. <style>
  14. .app-content {
  15. padding-bottom: 60px; /* 为底部导航栏留出空间 */
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <div class="iphone-frame">
  21. <!-- 引入状态栏 -->
  22. <iframe src="../components/status-bar.html" frameborder="0" scrolling="no" style="width:100%; height:44px; overflow:hidden;"></iframe>
  23. <!-- 导航栏 -->
  24. <div class="app-navbar">
  25. <div class="left-button" onclick="history.back()">
  26. <i class="fas fa-chevron-left mr-1"></i> 返回
  27. </div>
  28. <div class="title">游戏详情</div>
  29. <div class="right-button">
  30. <i class="far fa-heart"></i>
  31. </div>
  32. </div>
  33. <!-- 内容区域 -->
  34. <div class="app-content">
  35. <!-- 游戏封面 -->
  36. <div class="relative">
  37. <img src="https://images.unsplash.com/photo-1582845512747-e42001c95638?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&h=200&q=80" class="w-full h-48 object-cover" alt="海龟汤">
  38. <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-4">
  39. <div class="text-white font-bold text-xl">海龟汤</div>
  40. <div class="text-white/80 text-xs mt-1 flex items-center">
  41. <span class="bg-blue-500 text-white px-2 py-0.5 rounded text-xs mr-2">解谜</span>
  42. <span class="mr-3"><i class="fas fa-user-friends mr-1"></i> 3-10人</span>
  43. <span><i class="far fa-clock mr-1"></i> 30-60分钟</span>
  44. </div>
  45. </div>
  46. </div>
  47. <!-- 游戏评分 -->
  48. <div class="flex justify-between items-center p-3 bg-white">
  49. <div class="flex flex-col">
  50. <div class="text-xl font-bold text-amber-500">4.8</div>
  51. <div class="flex text-amber-500 text-xs">
  52. <i class="fas fa-star"></i>
  53. <i class="fas fa-star"></i>
  54. <i class="fas fa-star"></i>
  55. <i class="fas fa-star"></i>
  56. <i class="fas fa-star-half-alt"></i>
  57. </div>
  58. <div class="text-xs text-gray-500 mt-1">2,456人评价</div>
  59. </div>
  60. <div class="flex flex-col">
  61. <div class="text-xl font-bold text-primary">3.5万</div>
  62. <div class="text-xs text-gray-500">累计场次</div>
  63. </div>
  64. <div class="flex flex-col">
  65. <div class="text-xl font-bold text-green-500">92%</div>
  66. <div class="text-xs text-gray-500">完成率</div>
  67. </div>
  68. </div>
  69. <!-- 按钮区域 -->
  70. <div class="p-3 bg-white mb-2 flex space-x-2">
  71. <a href="room-create.html" class="app-button primary flex-1 flex justify-center items-center">
  72. <i class="fas fa-plus-circle mr-1"></i> 创建房间
  73. </a>
  74. <a href="room-join.html" class="app-button secondary flex-1 flex justify-center items-center">
  75. <i class="fas fa-sign-in-alt mr-1"></i> 加入房间
  76. </a>
  77. </div>
  78. <!-- 游戏介绍 -->
  79. <div class="app-card mb-2">
  80. <div class="p-3">
  81. <h3 class="font-bold text-base mb-2">游戏介绍</h3>
  82. <p class="text-sm text-gray-700 leading-relaxed">
  83. 海龟汤是一种解谜类游戏,起源于日本,又名"乌龟汤"。游戏开始时,主持人会给出一个离奇古怪的情境(汤面),玩家需要通过提问获取更多线索,最终解开谜题找出真相(汤底)。游戏非常适合排队等待时进行,可以锻炼逻辑思维和推理能力。
  84. </p>
  85. </div>
  86. </div>
  87. <!-- 游戏玩法 -->
  88. <div class="app-card mb-2">
  89. <div class="p-3">
  90. <h3 class="font-bold text-base mb-2">游戏玩法</h3>
  91. <div class="space-y-2 text-sm text-gray-700">
  92. <div class="flex">
  93. <div class="flex-shrink-0 w-5 h-5 rounded-full bg-primary text-white flex items-center justify-center text-xs">1</div>
  94. <div class="ml-2">有一位玩家担任主持人,其他人担任猜谜者</div>
  95. </div>
  96. <div class="flex">
  97. <div class="flex-shrink-0 w-5 h-5 rounded-full bg-primary text-white flex items-center justify-center text-xs">2</div>
  98. <div class="ml-2">主持人选择一个谜题并公布"汤面"(谜面)</div>
  99. </div>
  100. <div class="flex">
  101. <div class="flex-shrink-0 w-5 h-5 rounded-full bg-primary text-white flex items-center justify-center text-xs">3</div>
  102. <div class="ml-2">猜谜者通过提出是/否问题来获取线索</div>
  103. </div>
  104. <div class="flex">
  105. <div class="flex-shrink-0 w-5 h-5 rounded-full bg-primary text-white flex items-center justify-center text-xs">4</div>
  106. <div class="ml-2">主持人可以适时揭示额外线索以推动游戏进行</div>
  107. </div>
  108. <div class="flex">
  109. <div class="flex-shrink-0 w-5 h-5 rounded-full bg-primary text-white flex items-center justify-center text-xs">5</div>
  110. <div class="ml-2">猜谜者成功解开谜题后,游戏结束</div>
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. <!-- 示例谜题 -->
  116. <div class="app-card">
  117. <div class="p-3">
  118. <h3 class="font-bold text-base mb-2">示例谜题</h3>
  119. <div class="bg-gray-100 rounded-lg p-3 text-sm">
  120. <div class="font-bold mb-1">汤面:</div>
  121. <div class="text-gray-700">一个男人走进一家餐厅,点了一份海龟汤。他尝了一口后,立刻走出餐厅自杀了。为什么?</div>
  122. <div class="mt-3 font-bold text-primary">提示:</div>
  123. <div class="text-gray-700">这个男人之前经历过一场可怕的海难...</div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <!-- 引入底部导航栏 -->
  129. <iframe src="../components/nav-bar.html" frameborder="0" scrolling="no" style="width:100%; height:50px; overflow:hidden; position:fixed; bottom:0;"></iframe>
  130. </div>
  131. </body>
  132. </html>