市场夺宝奇兵
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1484 lines
56 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
3 weeks ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
3 weeks ago
4 months ago
4 months ago
4 months ago
3 weeks ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
4 months ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
3 weeks ago
4 months ago
3 weeks ago
4 months ago
3 weeks ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
3 weeks ago
4 months ago
  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. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  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. <link rel="shortcut icon" href="dbqb_favicon.ico" />
  11. <link rel="bookmark" href="dbqb_favicon.ico" />
  12. <meta http-equiv="keywords" content="夺宝奇兵,homilychart,homilylink">
  13. <meta http-equiv="description" content="HomilyLink">
  14. <title>赢在美股——加入我们,开启赢家人生!</title>
  15. <script src="https://cdn.tailwindcss.com"></script>
  16. <script type="text/javascript" src="https://hc.homilychart.com/hc/210802/js/jquery-1.9.1.min.js"></script>
  17. <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  18. <script>
  19. tailwind.config = {
  20. theme: {
  21. extend: {
  22. colors: {
  23. primary: '#3B82F6',
  24. secondary: '#10B981',
  25. accent: '#8B5CF6',
  26. dark: '#1E293B',
  27. light: '#F8FAFC'
  28. },
  29. fontFamily: {
  30. sans: ['Inter', 'system-ui', 'sans-serif'],
  31. },
  32. },
  33. }
  34. }
  35. </script>
  36. <style>
  37. /* 在head中添加初始滚动样式 */
  38. html,
  39. body {
  40. scroll-behavior: auto;
  41. }
  42. /* 隐藏页面内容,直到滚动完成 */
  43. body {
  44. opacity: 0;
  45. transition: opacity 0.3s ease;
  46. }
  47. body.content-visible {
  48. opacity: 1;
  49. }
  50. </style>
  51. </head>
  52. <body class="font-sans bg-light text-dark body-text">
  53. <!-- 页面加载状态 -->
  54. <div id="loadingOverlay" class="loading-overlay">
  55. <div class="loading-spinner"></div>
  56. </div>
  57. <!-- 头部导航区域 -->
  58. <header class="fixed w-full bg-white/90 backdrop-blur-sm shadow-sm z-50 transition-all duration-300">
  59. <div class="container mx-auto px-10 py-6 flex justify-between items-center max-w-[1600px]">
  60. <a href="#" class="flex items-center gap-3">
  61. <img
  62. src="https://d31zlh4on95l9h.cloudfront.net/images/497d8b38ab9f738e9720d5d7bddf3beb.png"
  63. alt="Logo"
  64. class="w-10 h-10"
  65. />
  66. <span
  67. class="font-bold text-[22px]"
  68. style="
  69. background: linear-gradient(270deg, #F9BF59 28.37%, #FFDBA1 50%, #F9BF59 70.67%);
  70. -webkit-background-clip: text;
  71. -webkit-text-fill-color: transparent;
  72. "
  73. >
  74. 赢在美股
  75. </span>
  76. </a>
  77. <nav class="hidden lg:flex items-center space-x-14">
  78. <!-- 首页(带下拉) -->
  79. <div class="relative group ">
  80. <!-- 首页文字 -->
  81. <div>
  82. <a class="relative font-medium text-[#333333] hover:text-[#FFA300] cursor-pointer pb-4">
  83. 首页
  84. </a>
  85. <span class="arrow-box"></span>
  86. </div>
  87. <!-- 下拉菜单 -->
  88. <div class="home-dropdown">
  89. <a class="dropdown-item">
  90. 特色功能
  91. </a>
  92. <a class="dropdown-item">
  93. DeepChart下载
  94. </a>
  95. <a class="dropdown-item">
  96. 夺宝岛下载
  97. </a>
  98. <a class="dropdown-item">
  99. 赢在美股专题课
  100. </a>
  101. </div>
  102. </div>
  103. <span class="text-gray-300">|</span>
  104. <a class="text-gray-700 hover:text-orange-500 font-medium">立即注册</a>
  105. <span class="text-gray-300">|</span>
  106. <a class="text-gray-700 hover:text-orange-500 font-medium">操作指南</a>
  107. <span class="text-gray-300">|</span>
  108. <a class=" text-white px-6 py-2 rounded-full font-bold hover:shadow-lg transition-all" style="background: #FFA300;">
  109. 联系我们
  110. </a>
  111. </nav>
  112. </div>
  113. </header>
  114. <main class="" id="app">
  115. <div style="height: 24px; align-self: stretch; background: #FFF3DD;" class="pt-28"></div>
  116. <!-- 特色功能区域 -->
  117. <section id="features" class="py-16 px-4 bg-white pt-32 bg-[url('https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg58gif4guu1200qbnj3a.png')]
  118. bg-cover bg-center bg-no-repeat">
  119. <div class="container mx-auto max-w-6xl">
  120. <div class="text-center mb-16 animate-fade-in">
  121. <h2 class="text-[clamp(2rem,4vw,3rem)] font-bold mb-6 text-white heading-secondary">加入赢在美股,您可以免费体验什么?</h2>
  122. <p class="text-white max-w-2xl mx-auto paragraph-text">您可以免费体验最前沿的AI工具,全球最懂机构行为的Deepchart,机构的黑科技夺宝奇兵,最前沿的分析课程和操作策略!</p>
  123. </div>
  124. <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
  125. <div class="animate-fade-in delay-100">
  126. <div
  127. class="p-8 rounded-2xl shadow-lg
  128. bg-[#FBEFEF]
  129. border-t-4 border-[#ED1818]
  130. transition-all duration-300 ease-out
  131. hover:-translate-y-2 hover:shadow-xl"
  132. >
  133. <div class="w-14 h-14 rounded-xl bg-red-100 flex items-center justify-center mb-6">
  134. <img src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bad6avznn400jwiqwu.png" />
  135. </div>
  136. <h3 class="text-xl font-semibold mb-3">DeepChart</h3>
  137. <p class="text-gray-600">您的股市随身顾问<br />深度解读机构行为,祝您股海乘风破浪</p>
  138. </div>
  139. </div>
  140. <div class="animate-fade-in delay-200">
  141. <div
  142. class="p-8 rounded-2xl shadow-lg
  143. bg-[#F1F6FF]
  144. border-t-4 border-[#3B93FF]
  145. transition-all duration-300 ease-out
  146. hover:-translate-y-2 hover:shadow-xl"
  147. >
  148. <div class="w-14 h-14 rounded-xl bg-blue-100 flex items-center justify-center mb-6">
  149. <img src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bapwystqy500k1h6xw.png" />
  150. </div>
  151. <h3 class="text-xl font-semibold mb-3">夺宝奇兵</h3>
  152. <p class="text-gray-600">采用最先进的安全技术,保护您的数据和隐私,让您高枕无忧的开展业务</p>
  153. </div>
  154. </div>
  155. <div class="animate-fade-in delay-300">
  156. <div
  157. class="p-8 rounded-2xl shadow-lg
  158. bg-[#FBF6EF]
  159. border-t-4 border-[#EC8D0E]
  160. transition-all duration-300 ease-out
  161. hover:-translate-y-2 hover:shadow-xl"
  162. >
  163. <div class="w-14 h-14 rounded-xl bg-orange-100 flex items-center justify-center mb-6">
  164. <img src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bb0rllyv0600wgiveo.png" />
  165. </div>
  166. <h3 class="text-xl font-semibold mb-3">赢在美股专题课</h3>
  167. <p class="text-gray-600">根据您的具体需求提供个性化解决方案,灵活适应不同业务场景和规模</p>
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. </section>
  173. <!-- 英雄区域
  174. <section class="pt-32 pb-20 md:pt-40 md:pb-32 px-4 bg-gradient-to-b from-blue-50 to-white">
  175. <div class="container mx-auto max-w-6xl">
  176. <div class="flex flex-col md:flex-row items-center">
  177. <div class="md:w-1/2 mb-10 md:mb-0 animate-fade-in">
  178. <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold leading-tight text-shadow-custom mb-6 heading-primary">
  179. 夺宝奇兵,<br>
  180. <span class="bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent">现在免费体验!</span>
  181. </h1>
  182. <p class="text-lg text-gray-600 mb-8 max-w-lg paragraph-text">
  183. AI时代股票投资必备机构界的黑科技!<br />
  184. 加入「赢在美股」,即可参与夺宝奇兵免费体验 7 天的活动,立刻注册报名吧!
  185. </p>
  186. <div class="flex flex-col sm:flex-row gap-4">
  187. <a href="#register"
  188. class="px-8 py-3 rounded-full gradient-background text-white font-medium text-center hover:shadow-lg hover:shadow-primary/20 transition-all transform hover:-translate-y-0.5">
  189. 立即注册
  190. </a>
  191. <a href="#promotions"
  192. class="px-8 py-3 rounded-full border-2 border-primary text-primary font-medium text-center hover:bg-primary/5 transition-all">
  193. 了解更多
  194. </a>
  195. <a href="hcdbqb-download.html"
  196. class="px-8 py-3 rounded-full border-2 border-primary text-primary font-medium text-center hover:bg-primary/5 transition-all">
  197. 立刻下载
  198. </a>
  199. </div>
  200. </div>
  201. <div class="md:w-1/2 animate-fade-in delay-200">
  202. <div class="relative">
  203. <div class="absolute -inset-4 bg-gradient-to-r from-primary/20 to-accent/20 rounded-3xl blur-xl opacity-70">
  204. </div>
  205. <img src="https://hc.homilychart.com/hc/250121/img/dbqbindex.jpg" alt="夺宝奇兵"
  206. class="relative z-10 rounded-2xl shadow-xl w-full object-cover">
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </section> -->
  212. <!-- 产品宣传区域 -->
  213. <section id="promotions" class="py-20 px-4 bg-gray-50">
  214. <div class="container mx-auto max-w-6xl">
  215. <!-- <div class="text-center mb-16 animate-fade-in">
  216. <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4 heading-secondary">我们的创新解决方案</h2>
  217. <p class="text-gray-600 max-w-2xl mx-auto paragraph-text">探索我们的核心产品和服务,了解如何为您的业务创造价值</p>
  218. </div> -->
  219. <div class="mb-6 text-center">
  220. <h4 class="text-3xl md:text-4xl font-semibold text-gray-800">
  221. 教育精英化 · 武器AI化
  222. </h4>
  223. </div>
  224. <!-- 宣传项 1 - 超级云脑 -->
  225. <div class="bg-white rounded-3xl shadow-xl overflow-hidden mb-16 flex flex-col md:flex-row animate-fade-in">
  226. <div class="md:w-1/2 promotion-image overflow-hidden">
  227. <img
  228. src="https://hc.homilychart.com/hc/250121/img/chaojiyunnaoimg.jpg"
  229. alt="DeepChart"
  230. class="w-full h-full object-cover transition-transform duration-300 hover:scale-105"
  231. >
  232. </div>
  233. <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center">
  234. <span
  235. class="inline-block px-4 py-1 rounded-full bg-red-100 text-red-600 text-base font-medium mb-4 breadcrumb-text">
  236. 路径:DeepChart
  237. </span>
  238. <h3 class="text-2xl md:text-3xl font-bold mb-4 heading-tertiary">DeepChart: 全球最懂机构行为的AI</h3>
  239. <p class="text-gray-600 mb-6 paragraph-text">
  240. AI时代就用AI投资!<br>立即下载,免费体验1个月。全球首发500个名额,抢完即止!
  241. </p>
  242. <ul class="space-y-3 mb-8">
  243. <li class="flex items-start text-sm">
  244. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  245. <span class="flex-shrink-0 mr-1 text-gray-500">Deepmate:Al通用大模型(弘历特色)</span>
  246. </li>
  247. <li class="flex items-start text-sm">
  248. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  249. <!-- 2. 修改标题:添加灰色 (text-gray-500),保持不换行 -->
  250. <span class="flex-shrink-0 text-gray-500">深度探索:</span>
  251. <!-- 3. 右侧文本:通过独立容器确保换行后文字左对齐,而不是跑去图标下面 -->
  252. <span class="text-gray-500 leading-snug">
  253. 股市正在从"判断方向",进入"识别资金"的时代。<br>
  254. “深度探索”带您看透机构,深度理解市场资本本质!
  255. </span>
  256. </li>
  257. <!-- <li class="flex items-start list-item">
  258. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  259. <span>体检专家:股票标的全方位健康检测</span>
  260. </li> -->
  261. </ul>
  262. <a href="#register"
  263. class="self-center inline-block text-white text-lg font-bold px-12 py-3 rounded-full transition-all duration-300 hover:-translate-y-[3px] hover:shadow-md
  264. bg-[linear-gradient(90deg,#FFAC19_0%,#FFA300_100%)]">
  265. 立即注册
  266. </a>
  267. </div>
  268. </div>
  269. <!-- 宣传项 2 - AI预测大模型 -->
  270. <div class="mb-6 text-center">
  271. <h4 class="text-3xl md:text-4xl font-semibold text-gray-800">
  272. 夺宝奇兵下载体验
  273. </h4>
  274. </div>
  275. <!-- 卡片容器 -->
  276. <div class="bg-white rounded-3xl shadow-xl overflow-hidden mb-16 flex flex-col md:flex-row-reverse animate-fade-in delay-100">
  277. <!-- 右侧图片 (HTML中排第一,但 flex-row-reverse 会让它显示在右边) -->
  278. <div class="md:w-1/2 promotion-image overflow-hidden">
  279. <!-- 注意:请确保这里 src 引用的是截图中的夺宝奇兵界面图片 -->
  280. <img
  281. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5ealun9na5700vk67lj.png"
  282. alt="夺宝奇兵界面"
  283. class="w-full h-full object-cover transition-transform duration-300 hover:scale-105"
  284. >
  285. </div>
  286. <!-- 左侧内容区域 (HTML中排第二,显示在左边) -->
  287. <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center text-left">
  288. <!-- 大标题 -->
  289. <h1 class="text-3xl md:text-4xl lg:text-5xl font-bold leading-tight mb-6 text-gray-900">
  290. 夺宝奇兵,<br>
  291. <!-- 添加了 inline-block 和 mt-3 来增加与上一行的间距 -->
  292. <span class="inline-block mt-3 bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent">
  293. 现在免费体验!
  294. </span>
  295. </h1>
  296. <!-- 描述文本 -->
  297. <p class="text-gray-600 mb-8 text-base md:text-lg leading-relaxed">
  298. AI 时代股票投资必备机构界的黑科技!<br>
  299. 加入「赢在美股」,即可参与夺宝奇兵免费体验 7 天的活动,立刻注册报名吧!
  300. </p>
  301. <!-- 按钮组 -->
  302. <div class="flex flex-row gap-4">
  303. <!-- 按钮1:立即注册 (实心蓝) -->
  304. <a href="#register"
  305. class="px-8 py-3 rounded-full bg-[#2563EB] text-white font-medium text-center shadow-md transition-all hover:bg-[#1d4ed8] hover:shadow-lg hover:-translate-y-0.5">
  306. 立即注册
  307. </a>
  308. <!-- 按钮2:立刻下载 (空心蓝边框) -->
  309. <a href="hcdbqb-download.html"
  310. class="px-8 py-3 rounded-full border border-[#2563EB] text-[#2563EB] font-medium text-center transition-all hover:-translate-y-0.5">
  311. 立刻下载
  312. </a>
  313. </div>
  314. </div>
  315. </div>
  316. <!-- 宣传项 3 - 夺宝利剑
  317. <div
  318. class="bg-white rounded-3xl shadow-xl overflow-hidden mb-16 flex flex-col md:flex-row animate-fade-in delay-100">
  319. <div class="md:w-1/2 promotion-image">
  320. <img src="https://hc.homilychart.com/hc/250121/img/duobaolijianindex.jpg" alt="夺宝利剑" class="w-full h-full">
  321. </div>
  322. <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center">
  323. <span
  324. class="inline-block px-4 py-1 rounded-full bg-purple-100 text-accent text-base font-medium mb-4 breadcrumb-text">
  325. HomilyLink > 夺宝奇兵 > Ai金牛 > 夺宝利剑
  326. </span>
  327. <h3 class="text-2xl md:text-3xl font-bold mb-4 heading-tertiary">夺宝利剑</h3>
  328. <p class="text-gray-600 mb-6 paragraph-text">
  329. 最聪明的AI智能均线结合三维波动量,让您在AI时代深度追踪机构的操盘行为!
  330. </p>
  331. <ul class="space-y-3 mb-8">
  332. <li class="flex items-start list-item">
  333. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  334. <span>最聪明的AI智能均线</span>
  335. </li>
  336. <li class="flex items-start list-item">
  337. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  338. <span>三维波动量</span>
  339. </li>
  340. <li class="flex items-start list-item">
  341. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  342. <span>AI大数据模型</span>
  343. </li>
  344. </ul>
  345. <a href="#register" class="inline-flex items-center text-primary font-medium hover:underline">
  346. 加入赢在美股,解锁更多资讯 <i class="fa fa-arrow-right ml-2"></i>
  347. </a>
  348. </div>
  349. </div> -->
  350. <!-- 宣传项 4 - 专题讲座 -->
  351. <div class="mb-6 text-center">
  352. <h4 class="text-3xl md:text-4xl font-semibold text-gray-800">
  353. 赢家粉内部专题讲座
  354. </h4>
  355. </div>
  356. <div id="kc"
  357. class="bg-white rounded-3xl shadow-xl overflow-hidden flex flex-col md:flex-row animate-fade-in delay-200">
  358. <div class="md:w-1/2 promotion-image overflow-hidden">
  359. <img
  360. id="lectureImage"
  361. src=""
  362. alt="专题讲座"
  363. class="w-full h-full object-cover transition-transform duration-300 hover:scale-105"
  364. >
  365. </div>
  366. <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center">
  367. <span
  368. class="inline-block px-4 py-1 rounded-full bg-amber-100 text-amber-600 text-base font-medium mb-4 breadcrumb-text">
  369. HomilyLink > 消息 > 赢在美股班级群
  370. </span>
  371. <h3 class="text-2xl md:text-3xl font-bold mb-4 heading-tertiary">HomilyLink专题讲座</h3>
  372. <p class="text-gray-600 mb-6 paragraph-text">
  373. 我们推出 HomilyLink专题讲座;结合市场事实热点与机构领域黑科技"夺宝奇兵”,助力投资者提升股市获利能力。
  374. </p>
  375. <ul class="space-y-3 mb-8">
  376. <li class="flex items-start list-item">
  377. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  378. <span>课程为香港时间</span>
  379. </li>
  380. <li class="flex items-start list-item">
  381. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  382. <span>体系化课程助力跟庄稳赢</span>
  383. </li>
  384. <li class="flex items-start list-item">
  385. <i class="fa fa-check-circle text-secondary mt-1 mr-3"></i>
  386. <span>HomilyLink赢在美股班级群专属课程(实时答疑+干货分享)</span>
  387. </li>
  388. </ul>
  389. <a href="#register" class="inline-flex items-center text-[#EF8800] font-medium hover:text-[#FF5900] transition-colors">
  390. 加入赢在美股,解锁更多资讯 <i class="fa fa-arrow-right ml-2"></i>
  391. </a>
  392. </div>
  393. </div>
  394. </div>
  395. </section>
  396. <!-- 注册表单区域 -->
  397. <section id="register" class="py-20 bg-gray-50">
  398. <div class="container mx-auto max-w-6xl relative">
  399. <!-- 原有的注册表单部分 - 完全不变 -->
  400. <div class="bg-gradient-to-br rounded-3xl shadow-2xl overflow-hidden">
  401. <div class="grid grid-cols-1 md:grid-cols-2">
  402. <!-- 左侧区域 - 已替换背景 -->
  403. <div class="p-8 md:p-12 text-white flex flex-col justify-center bg-image-overlay">
  404. <h2 class="text-2xl md:text-3xl font-bold mb-6 heading-secondary text-center ">教育精英化 · 武器AI化!</h2>
  405. <p class="text-gray-300 mb-10 leading-relaxed paragraph-text">
  406. 填写报名表,即可快速解锁专业投资AI工具,助力您把握投资机会!
  407. </p>
  408. <div class="space-y-6">
  409. <div class="flex items-start">
  410. <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center mr-4 mt-1">
  411. <img alt="超级云脑" src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bad6avznn400jwiqwu.png">
  412. </div>
  413. <div>
  414. <h3 class="font-semibold mb-1 heading-tertiary">DeepChart</h3>
  415. <p class="text-gray-400 text-sm paragraph-text">全球最懂机构行为的AI</p>
  416. </div>
  417. </div>
  418. <div class="flex items-start">
  419. <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center mr-4 mt-1">
  420. <img alt="AI预测大模型" src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bapwystqy500k1h6xw.png">
  421. </div>
  422. <div>
  423. <h3 class="font-semibold mb-1 heading-tertiary">夺宝奇兵</h3>
  424. <p class="text-gray-400 text-sm paragraph-text">机构界的黑科技</p>
  425. </div>
  426. </div>
  427. <div class="flex items-start">
  428. <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center mr-4 mt-1">
  429. <img alt="夺宝利剑" src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bb0rllyv0600wgiveo.png">
  430. </div>
  431. <div>
  432. <h3 class="font-semibold mb-1 heading-tertiary">赢在美股·体系化实战课程</h3>
  433. <p class="text-gray-400 text-sm paragraph-text">[学 · 练 · 战 · 享 ]用体系化思维,掌握最前沿美股分析方法与实战策略</p>
  434. </div>
  435. </div>
  436. </div>
  437. <!-- 在左侧区域底部添加标语 -->
  438. <div class="mt-10 border-t border-white/20 pt-6">
  439. <h3 class="text-3xl font-bold text-center tracking-wider">
  440. 加入赢在美股,开启赢家人生!
  441. </h3>
  442. </div>
  443. </div>
  444. <!-- 右侧表单区域 - 保持不变 -->
  445. <div class="bg-white p-8 md:p-12">
  446. <form id="registrationForm" class="space-y-6">
  447. <input type="hidden" name="zbtype" id="zbType" value="6">
  448. <div>
  449. <label for="userNameInfo" class="block text-sm font-medium text-gray-700 mb-1 form-label">姓名 <span class="text-red-500">*</span></label>
  450. <input type="text" id="userNameInfo" name="userNameInfo"
  451. class="w-full px-4 py-3 rounded-lg border-2 border-gray-300 focus:border-orange-500 focus:ring-0 transition-all form-input"
  452. placeholder="请输入您的姓名" required>
  453. </div>
  454. <div>
  455. <label for="countryInfo" class="block text-sm font-medium text-gray-700 mb-1 form-label">国家/地区代码 <span class="text-red-500">*</span></label>
  456. <select id="countryInfo" name="countryInfo"
  457. class="w-full px-4 py-3 rounded-lg border-2 border-gray-300 focus:border-orange-500 focus:ring-0 transition-all form-input"
  458. required>
  459. <option value="+65">+65 新加坡</option>
  460. <option value="+60">+60 马来西亚</option>
  461. <option value="+852">+852 香港</option>
  462. <option value="+1" selected>+1 美国</option>
  463. <option value="+62">+62 印尼</option>
  464. <option value="+1">+1 加拿大</option>
  465. <option value="+61">+61 澳大利亚</option>
  466. <option value="+673">+673 文莱</option>
  467. <option value="+886">+886 台湾</option>
  468. <option value="+86">+86 中国</option>
  469. <option value="+0">+0 其他</option>
  470. <option value="+64">+64 新西兰</option>
  471. <option value="+44">+44 英国</option>
  472. <option value="+81">+81 日本</option>
  473. <option value="+49">+49 德国</option>
  474. <option value="+82">+82 韩国</option>
  475. <option value="+84">+84 越南</option>
  476. <option value="+971">+971 阿联酋</option>
  477. <option value="+45">+45 丹麦</option>
  478. <option value="+853">+853 澳门</option>
  479. <option value="+66">+66 泰国</option>
  480. <option value="+91">+91 印度</option>
  481. <option value="+41">+41 瑞士</option>
  482. <option value="+358">+358 芬兰</option>
  483. <option value="+33">+33 法国</option>
  484. <option value="+63">+63 菲律宾</option>
  485. <option value="+31">+31 荷兰</option>
  486. <option value="+46">+46 瑞典</option>
  487. <option value="+34">+34 西班牙</option>
  488. <option value="+54">+54 阿根廷</option>
  489. <option value="+39">+39 意大利</option>
  490. <option value="+7">+7 俄罗斯</option>
  491. <option value="+420">+420 捷克</option>
  492. </select>
  493. </div>
  494. <div>
  495. <label for="userMobile" class="block text-sm font-medium text-gray-700 mb-1 form-label">电话号码 <span class="text-red-500">*</span></label>
  496. <input type="tel" name="userMobile" id="userMobile" placeholder="纯手机号 ( 不含国家编号 )"
  497. onkeyup="value=value.replace(/[^\d]/g,'').replace(/^0/g,'')"
  498. class="w-full px-4 py-3 rounded-lg border-2 border-gray-300 focus:border-orange-500 focus:ring-0 transition-all form-input"
  499. autocomplete="off" required>
  500. </div>
  501. <div>
  502. <label for="userWechat" class="block text-sm font-medium text-gray-700 mb-1 form-label">微信ID</label>
  503. <input type="text" name="userWechat" id="userWechat" placeholder="微信ID ( 如没有WhatsApp )"
  504. autocomplete="off"
  505. class="w-full px-4 py-3 rounded-lg border-2 border-gray-300 focus:border-orange-500 focus:ring-0 transition-all form-input">
  506. </div>
  507. <div>
  508. <label for="userEmail" class="block text-sm font-medium text-gray-700 mb-1 form-label">电子邮箱 <span class="text-red-500">*</span></label>
  509. <input type="email" placeholder="请输入您的邮箱" name="userEmail" id="userEmail" autocomplete="off"
  510. class="w-full px-4 py-3 rounded-lg border-2 border-gray-300 focus:border-orange-500 focus:ring-0 transition-all form-input"
  511. required>
  512. </div>
  513. <!-- 多选区域 -->
  514. <div>
  515. <label class="block text-sm font-medium text-gray-700 mb-2">请选择您希望优先获取的权益 (可多选) <span class="text-red-500">*</span></label>
  516. <div class="space-y-3">
  517. <label class="flex items-center space-x-3 cursor-pointer group">
  518. <input type="checkbox" name="benefits[]" value="DeepChart"
  519. class="w-5 h-5 border-2 border-gray-300 rounded focus:border-orange-500 focus:ring-0 custom-orange-checkbox">
  520. <span class="text-sm text-gray-600 group-hover:text-gray-800">获取DeepChart体验权限</span>
  521. </label>
  522. <label class="flex items-center space-x-3 cursor-pointer group">
  523. <input type="checkbox" name="benefits[]" value="夺宝奇兵"
  524. class="w-5 h-5 border-2 border-gray-300 rounded focus:border-orange-500 focus:ring-0 custom-orange-checkbox">
  525. <span class="text-sm text-gray-600 group-hover:text-gray-800">获取"夺宝奇兵"体验权限</span>
  526. </label>
  527. <label class="flex items-center space-x-3 cursor-pointer group">
  528. <input type="checkbox" name="benefits[]" value="独家课程"
  529. class="w-5 h-5 border-2 border-gray-300 rounded focus:border-orange-500 focus:ring-0 custom-orange-checkbox">
  530. <span class="text-sm text-gray-600 group-hover:text-gray-800">参加"赢在美股"独家课程 - 学习前沿分析方法与操作策略</span>
  531. </label>
  532. </div>
  533. </div>
  534. <!-- 同意接收咨询 -->
  535. <div class="flex items-start">
  536. <input type="checkbox" id="agreement" name="agreement"
  537. class="mt-1 mr-2 w-5 h-5 border-2 border-gray-300 rounded focus:border-orange-500 focus:ring-0 custom-orange-checkbox" required>
  538. <label for="agreement" class="text-sm text-gray-600 form-label">
  539. 我同意接收相关产品和服务的咨询
  540. </label>
  541. </div>
  542. <!-- 提交按钮 -->
  543. <button type="submit" id="submitBtn"
  544. class="w-full py-3 px-6 rounded-lg text-white font-medium hover:shadow-lg transition-all transform hover:-translate-y-0.5 custom-orange-button">
  545. 提交注册
  546. </button>
  547. </form>
  548. </div>
  549. </div>
  550. </div>
  551. <!-- === 声明卡片 === -->
  552. <!-- 在大屏幕上显示,定位在注册表单的右侧外部,紧贴下沿 -->
  553. <!-- 小屏幕隐藏 -->
  554. <div class="hidden lg:block absolute left-full bottom-0 ml-4 w-64">
  555. <div class="bg-white rounded-xl shadow-lg p-4 border border-gray-200">
  556. <div class="mb-4 border-b border-gray-100 pb-3">
  557. <h4 class="font-bold text-gray-900 mb-2 text-sm">注册说明</h4>
  558. <div class="space-y-2 text-xs">
  559. <div class="flex items-start">
  560. <div class="w-5 h-5 rounded-full bg-orange-50 flex items-center justify-center mr-2 flex-shrink-0 text-orange-500 text-xs">
  561. <i class="fa fa-user"></i>
  562. </div>
  563. <p class="text-gray-600">请填写方便称呼您的姓名信息。</p>
  564. </div>
  565. <div class="flex items-start">
  566. <div class="w-5 h-5 rounded-full bg-orange-50 flex items-center justify-center mr-2 flex-shrink-0 text-orange-500 text-xs">
  567. <i class="fa fa-whatsapp"></i>
  568. </div>
  569. <p class="text-gray-600">手机号码最好支持WhatsApp联系。</p>
  570. </div>
  571. <div class="flex items-start">
  572. <div class="w-5 h-5 rounded-full bg-orange-50 flex items-center justify-center mr-2 flex-shrink-0 text-orange-500 text-xs">
  573. <i class="fa fa-comments"></i>
  574. </div>
  575. <p class="text-gray-600">微信的联系方式我们也支持。</p>
  576. </div>
  577. <div class="flex items-start">
  578. <div class="w-5 h-5 rounded-full bg-orange-50 flex items-center justify-center mr-2 flex-shrink-0 text-orange-500 text-xs">
  579. <i class="fa fa-envelope"></i>
  580. </div>
  581. <p class="text-gray-600">邮箱作为联系您的备用联系方式。</p>
  582. </div>
  583. </div>
  584. </div>
  585. <div>
  586. <h4 class="font-bold text-gray-900 mb-1 text-sm">郑重声明</h4>
  587. <p class="text-xs text-gray-500 leading-relaxed">
  588. 我们将严格保护您的个人信息安全,绝对不会向第三方泄露。
  589. </p>
  590. </div>
  591. </div>
  592. </div>
  593. </div>
  594. </section>
  595. </main>
  596. <!-- 页脚区域 -->
  597. <footer class="footer-bg text-white py-12 px-4">
  598. <div class="container mx-auto max-w-6xl">
  599. <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
  600. <div>
  601. <div class="flex items-center space-x-2 mb-6">
  602. <div class="w-10 h-10 rounded-lg flex items-center justify-center">
  603. <img
  604. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5udhzj898b800yp02ol.png"
  605. alt="Logo"
  606. />
  607. </div>
  608. <span class="text-xl font-bold">赢在美股</span>
  609. </div>
  610. <p class="text-gray-400 mb-6 paragraph-text">
  611. 加入赢在美股,开启赢家人生!
  612. </p>
  613. <div class="flex space-x-4">
  614. <a href="#"
  615. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  616. <i class="fa fa-facebook"></i>
  617. </a>
  618. <a href="#"
  619. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  620. <i class="fa fa-twitter"></i>
  621. </a>
  622. <a href="#"
  623. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  624. <i class="fa fa-linkedin"></i>
  625. </a>
  626. <a href="#"
  627. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  628. <i class="fa fa-instagram"></i>
  629. </a>
  630. </div>
  631. </div>
  632. <div>
  633. <h4 class="text-lg font-semibold mb-6 heading-tertiary">产品</h4>
  634. <ul class="space-y-3">
  635. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  636. target="_blank" class="text-gray-400 hover:text-white transition-colors">弘历云版软件</a></li>
  637. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  638. target="_blank" class="text-gray-400 hover:text-white transition-colors">HomilyChart</a></li>
  639. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  640. target="_blank" class="text-gray-400 hover:text-white transition-colors">夺宝奇兵</a></li>
  641. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  642. class="text-gray-400 hover:text-white transition-colors">博股会员</a></li>
  643. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  644. class="text-gray-400 hover:text-white transition-colors">最新软件</a></li>
  645. </ul>
  646. </div>
  647. <div>
  648. <h4 class="text-lg font-semibold mb-6 heading-tertiary">公司</h4>
  649. <ul class="space-y-3">
  650. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  651. target="_blank" class="text-gray-400 hover:text-white transition-colors">关于我们</a></li>
  652. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  653. target="_blank" class="text-gray-400 hover:text-white transition-colors">团队介绍</a></li>
  654. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  655. target="_blank" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
  656. </ul>
  657. </div>
  658. <div>
  659. <h4 class="text-lg font-semibold mb-6 heading-tertiary">支持</h4>
  660. <ul class="space-y-3">
  661. <li class="list-item">
  662. <!-- <a href="hcdbqb-guide.html"
  663. class="text-gray-400 hover:text-white transition-colors">帮助中心</a> -->
  664. <a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  665. class="text-gray-400 hover:text-white transition-colors">帮助中心</a>
  666. </li>
  667. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  668. target="_blank" class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>
  669. </ul>
  670. </div>
  671. </div>
  672. <div class=" border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center">
  673. <p class="text-gray-500 text-sm mb-4 md:mb-0 paragraph-text">
  674. &copy; Copyright 2025.Capitalmaster Pte Ltd All Rights Reserved.
  675. </p>
  676. <div class="flex space-x-6">
  677. 如需帮助,请及时联系我们!
  678. </div>
  679. </div>
  680. </div>
  681. </footer>
  682. <!-- 表单提交成功提示模态框 -->
  683. <div id="successModal" class="fixed inset-0 bg-black/50 flex items-center justify-center z-50 hidden">
  684. <div class="bg-white rounded-2xl p-8 max-w-md w-full mx-4 transform transition-all relative">
  685. <!-- 关闭按钮 - 右上角叉号 -->
  686. <button id="closeModal" class="absolute top-4 right-4 text-gray-400 hover:text-gray-600 transition-colors">
  687. <i class="fa fa-times text-xl"></i>
  688. </button>
  689. <div class="text-center">
  690. <div class="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-6">
  691. <i class="fa fa-check text-secondary text-2xl"></i>
  692. </div>
  693. <h3 class="text-xl font-bold mb-2 heading-tertiary">注册成功!</h3>
  694. <p class="text-gray-600 mb-6 paragraph-text">感谢您的注册,我们的顾问将尽快与您联系。</p>
  695. <a href="https://api.whatsapp.com/send?phone=85255110485&text=课程" target="_blank"
  696. class="inline-block px-6 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors">
  697. 联系我们
  698. </a>
  699. </div>
  700. </div>
  701. </div>
  702. <script type="module">
  703. // 常量定义 - 全部大写,下划线分隔
  704. const MAX_NAME_LENGTH = 50;
  705. const MAX_EMAIL_LENGTH = 100;
  706. const MAX_PHONE_LENGTH = 20;
  707. const LOADING_DELAY = 300;
  708. // 导入API函数
  709. import { registerMemberApi, getImageApi } from './src/api/member.js';
  710. // 表单提交处理
  711. const registrationForm = document.getElementById('registrationForm');
  712. const successModal = document.getElementById('successModal');
  713. const closeModal = document.getElementById('closeModal');
  714. const submitBtn = document.getElementById('submitBtn');
  715. const loadingOverlay = document.getElementById('loadingOverlay');
  716. // 新增:讲座图片元素引用
  717. const lectureImage = document.getElementById('lectureImage');
  718. // 防止重复提交标志
  719. let isSubmitting = false;
  720. /**
  721. * 立即滚动到注册表单(在页面加载前执行)
  722. */
  723. function scrollToRegisterImmediately() {
  724. // 禁用平滑滚动
  725. document.documentElement.style.scrollBehavior = 'auto';
  726. // 立即滚动到注册表单
  727. const registerSection = document.getElementById('register');
  728. if (registerSection) {
  729. // 计算注册表单的位置(考虑固定导航栏的高度)
  730. const headerHeight = document.querySelector('header').offsetHeight;
  731. const registerPosition = registerSection.offsetTop - headerHeight - 20;
  732. // 立即设置滚动位置
  733. window.scrollTo(0, registerPosition);
  734. }
  735. // 恢复平滑滚动
  736. setTimeout(() => {
  737. document.documentElement.style.scrollBehavior = 'smooth';
  738. }, 100);
  739. }
  740. /**
  741. * 从后端获取讲座图片
  742. */
  743. async function loadLectureImage() {
  744. console.log('开始加载讲座图片...'); // 调试信息
  745. try {
  746. const requestData = {
  747. id: 1,
  748. };
  749. console.log('调用getImageApi,参数:', requestData); // 调试信息
  750. const response = await getImageApi(requestData);
  751. console.log('接口返回:', response); // 调试信息
  752. if (response.code === 200 && response.data) {
  753. // 成功获取图片URL,更新图片src
  754. lectureImage.src = response.data;
  755. console.log('讲座图片加载成功:', response.data);
  756. } else {
  757. console.warn('获取图片失败:', response.msg);
  758. // 使用默认的图片
  759. lectureImage.src = 'https://hc.homilychart.com/hc/250121/img/kecheng.jpg';
  760. }
  761. } catch (error) {
  762. console.error('加载讲座图片失败:', error);
  763. // 出错时保持默认图片
  764. lectureImage.src = 'https://hc.homilychart.com/hc/250121/img/kecheng.jpg';
  765. }
  766. }
  767. /**
  768. * 显示加载指示器
  769. */
  770. function showLoadingIndicator() {
  771. loadingOverlay.style.display = 'flex';
  772. submitBtn.disabled = true;
  773. submitBtn.textContent = '提交中...';
  774. isSubmitting = true;
  775. }
  776. /**
  777. * 隐藏加载指示器
  778. */
  779. function hideLoadingIndicator() {
  780. loadingOverlay.style.display = 'none';
  781. submitBtn.disabled = false;
  782. submitBtn.textContent = '提交注册';
  783. isSubmitting = false;
  784. }
  785. /**
  786. * 显示错误消息
  787. * @param {string} errorMessage - 错误信息
  788. */
  789. function showErrorMessage(errorMessage) {
  790. alert(errorMessage);
  791. }
  792. /**
  793. * 验证表单数据
  794. * @param {Object} formData - 表单数据
  795. * @returns {boolean} 是否验证通过
  796. */
  797. function validateFormData(formData) {
  798. const { name, tel, email } = formData;
  799. if (!name || name.length > MAX_NAME_LENGTH) {
  800. showErrorMessage('请输入有效的姓名(最多50个字符)');
  801. document.getElementById("userNameInfo").focus();
  802. return false;
  803. }
  804. if (!tel || tel.length > MAX_PHONE_LENGTH) {
  805. showErrorMessage('请输入有效的电话号码');
  806. document.getElementById("userMobile").focus();
  807. return false;
  808. }
  809. if (!email || email.length > MAX_EMAIL_LENGTH) {
  810. showErrorMessage('请输入电子邮箱');
  811. document.getElementById("userEmail").focus();
  812. return false;
  813. }
  814. // 邮箱格式验证
  815. const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
  816. if (!emailRegex.test(email)) {
  817. showErrorMessage('请输入有效的电子邮箱地址');
  818. document.getElementById("userEmail").focus();
  819. return false;
  820. }
  821. return true;
  822. }
  823. /**
  824. * 处理表单提交事件
  825. * @param {Event} submitEvent - 表单提交事件
  826. */
  827. async function handleFormSubmit(submitEvent) {
  828. submitEvent.preventDefault();
  829. // 防止重复提交
  830. if (isSubmitting) {
  831. return;
  832. }
  833. // 表单数据验证
  834. const userNameInfo = document.getElementById("userNameInfo").value.trim();
  835. const countryInfo = document.getElementById("countryInfo").value;
  836. const userMobile = document.getElementById("userMobile").value.trim();
  837. const userWechat = document.getElementById("userWechat").value.trim();
  838. const userEmail = document.getElementById("userEmail").value.trim();
  839. const sourceType = await getSourceTypeFromUrl();
  840. const url = await getFromUrl();
  841. const formData = {
  842. name: userNameInfo,
  843. code: countryInfo,
  844. tel: userMobile,
  845. wechat: userWechat,
  846. email: userEmail,
  847. type: sourceType,
  848. url: url,
  849. };
  850. console.log('formData:', formData); // 调试信息
  851. if (!validateFormData(formData)) {
  852. return;
  853. }
  854. try {
  855. showLoadingIndicator();
  856. // 调用注册API
  857. const response = await registerMemberApi(formData);
  858. if (response.code === 200) {
  859. successModal.classList.remove('hidden');
  860. registrationForm.reset();
  861. } else {
  862. showErrorMessage('注册失败: ' + (response.msg || '未知错误'));
  863. }
  864. } catch (error) {
  865. console.error('请求失败:', error);
  866. showErrorMessage('网络错误,请稍后重试');
  867. } finally {
  868. hideLoadingIndicator();
  869. }
  870. }
  871. /**
  872. * 切换移动端菜单显示状态
  873. */
  874. function toggleMobileMenu() {
  875. const mobileMenu = document.getElementById('mobileMenu');
  876. mobileMenu.classList.toggle('hidden');
  877. const icon = document.getElementById('menuBtn').querySelector('i');
  878. if (icon.classList.contains('fa-bars')) {
  879. icon.classList.replace('fa-bars', 'fa-times');
  880. } else {
  881. icon.classList.replace('fa-times', 'fa-bars');
  882. }
  883. }
  884. /**
  885. * 处理导航栏滚动效果
  886. */
  887. function handleHeaderScroll() {
  888. const header = document.querySelector('header');
  889. if (window.scrollY > 50) {
  890. header.classList.add('py-2', 'shadow');
  891. header.classList.remove('py-3');
  892. } else {
  893. header.classList.add('py-3');
  894. header.classList.remove('py-2', 'shadow');
  895. }
  896. }
  897. /**
  898. * 执行滚动动画效果
  899. */
  900. function executeScrollAnimation() {
  901. const elements = document.querySelectorAll('.animate-fade-in');
  902. elements.forEach(element => {
  903. const elementPosition = element.getBoundingClientRect().top;
  904. const windowHeight = window.innerHeight;
  905. if (elementPosition < windowHeight - 100) {
  906. element.style.opacity = '1';
  907. element.style.transform = 'translateY(0)';
  908. }
  909. });
  910. }
  911. // DOM加载完成后立即执行
  912. document.addEventListener('DOMContentLoaded', function () {
  913. // 立即滚动到注册表单
  914. scrollToRegisterImmediately();
  915. // 显示页面内容
  916. setTimeout(() => {
  917. document.body.classList.add('content-visible');
  918. }, 50);
  919. });
  920. // 页面加载完成后执行
  921. window.addEventListener('load', () => {
  922. console.log('页面加载完成,开始调用loadLectureImage...');
  923. loadLectureImage(); // 调用图片加载函数
  924. executeScrollAnimation();
  925. // 隐藏加载状态
  926. document.getElementById('loadingOverlay').style.display = 'none';
  927. });
  928. // 绑定表单提交事件
  929. registrationForm.addEventListener('submit', handleFormSubmit);
  930. // 关闭模态框事件
  931. closeModal.addEventListener('click', () => {
  932. successModal.classList.add('hidden');
  933. });
  934. // 点击模态框外部关闭
  935. successModal.addEventListener('click', (event) => {
  936. if (event.target === successModal) {
  937. successModal.classList.add('hidden');
  938. }
  939. });
  940. // 绑定菜单按钮点击事件
  941. document.getElementById('menuBtn').addEventListener('click', toggleMobileMenu);
  942. // 导航栏滚动效果
  943. window.addEventListener('scroll', handleHeaderScroll);
  944. // 滚动时执行动画
  945. window.addEventListener('scroll', executeScrollAnimation);
  946. //识别所述的url
  947. //0:是其它 1:是视频 2:是直播 3:是帖子
  948. function getSourceTypeFromUrl() {
  949. const urlParams = new URLSearchParams(window.location.search);
  950. const source = urlParams.get("type");
  951. if (source === "video") {
  952. return 1;
  953. }
  954. if (source === "live") {
  955. return 2;
  956. }
  957. if(source === "article"){
  958. return 3;
  959. }
  960. return 0;
  961. }
  962. function getFromUrl(){
  963. const urlParams = new URLSearchParams(window.location.search);
  964. const url = urlParams.get("url");
  965. return url;
  966. }
  967. </script>
  968. <style>
  969. /* 全局字体大小调整 - 整体调小 */
  970. html {
  971. font-size: 16px;
  972. }
  973. /* 文本样式类 */
  974. .page-body {
  975. font-size: 1rem;
  976. line-height: 1.6;
  977. }
  978. .text-heading-primary {
  979. font-size: clamp(2.2rem, 5vw, 3.5rem);
  980. line-height: 1.2;
  981. }
  982. .text-heading-secondary {
  983. font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  984. line-height: 1.3;
  985. }
  986. .text-heading-tertiary {
  987. font-size: clamp(1.3rem, 2.5vw, 2rem);
  988. line-height: 1.4;
  989. }
  990. .text-paragraph {
  991. font-size: 1rem;
  992. line-height: 1.6;
  993. }
  994. .text-list-item {
  995. font-size: 1rem;
  996. }
  997. .text-breadcrumb {
  998. font-size: 0.9rem;
  999. padding-top: 0.4rem;
  1000. padding-bottom: 0.4rem;
  1001. }
  1002. .form-label-text {
  1003. font-size: 1rem;
  1004. margin-bottom: 0.5rem;
  1005. }
  1006. .form-input-field {
  1007. font-size: 1rem;
  1008. padding-top: 0.75rem;
  1009. padding-bottom: 0.75rem;
  1010. }
  1011. .form-input-field::placeholder {
  1012. font-size: 0.95rem;
  1013. }
  1014. /* 导航菜单字体调小 */
  1015. .nav-link-text {
  1016. font-size: 1rem;
  1017. }
  1018. /* 按钮文字调小 */
  1019. .button-large-text {
  1020. font-size: 1rem;
  1021. padding-top: 0.75rem;
  1022. padding-bottom: 0.75rem;
  1023. }
  1024. /* 特色功能卡片文字调小 */
  1025. .feature-card-title {
  1026. font-size: 1.3rem;
  1027. margin-bottom: 0.75rem;
  1028. }
  1029. .feature-card-description {
  1030. font-size: 0.95rem;
  1031. line-height: 1.5;
  1032. }
  1033. /* 产品宣传区域文字调小 */
  1034. .promo-section-paragraph {
  1035. font-size: 1rem;
  1036. line-height: 1.6;
  1037. }
  1038. .promo-section-list-item {
  1039. font-size: 1rem;
  1040. }
  1041. .promo-section-breadcrumb {
  1042. font-size: 0.9rem;
  1043. }
  1044. /* 页脚文字调小 */
  1045. .footer-text {
  1046. font-size: 0.95rem;
  1047. }
  1048. .footer-heading {
  1049. font-size: 1.3rem;
  1050. }
  1051. /* 成功模态框文字调小 */
  1052. .modal-heading {
  1053. font-size: 1.5rem;
  1054. }
  1055. .modal-text {
  1056. font-size: 1rem;
  1057. }
  1058. .modal-button {
  1059. font-size: 1rem;
  1060. }
  1061. /* 宣传模块图片样式优化 - 确保图片完整显示 */
  1062. .promotion-image {
  1063. display: flex;
  1064. min-height: 400px;
  1065. overflow: hidden;
  1066. align-items: center;
  1067. justify-content: center;
  1068. background-color: #f8fafc;
  1069. }
  1070. .promotion-image img {
  1071. width: auto;
  1072. max-width: 100%;
  1073. height: auto;
  1074. max-height: 100%;
  1075. object-fit: contain;
  1076. }
  1077. /* 针对不同模块的图片进行特定调整 */
  1078. /* 超级云脑图片 - 图表类图片,确保完整显示 */
  1079. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.mb-16.flex.flex-col.md\\:flex-row.animate-fade-in .promotion-image {
  1080. background-color: #f0f9ff;
  1081. }
  1082. /* AI预测大模型图片 - 确保完整显示 */
  1083. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.mb-16.flex.flex-col.md\\:flex-row-reverse.animate-fade-in.delay-100 .promotion-image {
  1084. background-color: #faf5ff;
  1085. }
  1086. /* 夺宝利剑图片 - 图表类图片,确保完整显示 */
  1087. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.mb-16.flex.flex-col.md\\:flex-row.animate-fade-in.delay-100 .promotion-image {
  1088. background-color: #f0fdf4;
  1089. }
  1090. /* John Lu谈股专题讲座图片 - 确保完整显示 */
  1091. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.flex.flex-col.md\\:flex-row.animate-fade-in.delay-200 .promotion-image {
  1092. background-color: #ecfdf5;
  1093. }
  1094. /* 特色功能卡片高度调整 */
  1095. .feature-card {
  1096. height: 100%;
  1097. display: flex;
  1098. flex-direction: column;
  1099. }
  1100. .feature-card-icon {
  1101. margin-bottom: 1rem;
  1102. }
  1103. .feature-card-title {
  1104. margin-bottom: 0.75rem;
  1105. }
  1106. /* 特色功能区域图标调整 */
  1107. .feature-card img {
  1108. max-width: 100%;
  1109. height: auto;
  1110. display: block;
  1111. margin: 0 auto;
  1112. }
  1113. /* 注册表单区域调整 */
  1114. .register-section-title {
  1115. margin-bottom: 1rem;
  1116. line-height: 1.3;
  1117. }
  1118. .register-section-description {
  1119. margin-bottom: 1.5rem;
  1120. }
  1121. .register-section-features {
  1122. gap: 1rem;
  1123. }
  1124. /* 页脚区域调整 */
  1125. .footer-logo {
  1126. margin-bottom: 1rem;
  1127. }
  1128. .footer-description {
  1129. margin-bottom: 1rem;
  1130. }
  1131. .footer-heading {
  1132. margin-bottom: 1rem;
  1133. }
  1134. .footer-list {
  1135. gap: 0.5rem;
  1136. }
  1137. /* 移动端适配 */
  1138. @media (max-width: 768px) {
  1139. html {
  1140. font-size: 14px;
  1141. }
  1142. .page-body {
  1143. font-size: 0.95rem;
  1144. }
  1145. .mobile-nav-link {
  1146. font-size: 0.95rem;
  1147. padding-top: 0.6rem;
  1148. padding-bottom: 0.6rem;
  1149. }
  1150. .promotion-image {
  1151. min-height: 300px;
  1152. }
  1153. /* 移动端确保图片完整显示 */
  1154. .promotion-image img {
  1155. width: auto;
  1156. max-width: 90%;
  1157. height: auto;
  1158. max-height: 90%;
  1159. }
  1160. }
  1161. /* 动画定义 */
  1162. @keyframes fadeIn {
  1163. from {
  1164. opacity: 0;
  1165. transform: translateY(20px);
  1166. }
  1167. to {
  1168. opacity: 1;
  1169. transform: translateY(0);
  1170. }
  1171. }
  1172. @keyframes spin {
  1173. 0% {
  1174. transform: rotate(0);
  1175. }
  1176. 100% {
  1177. transform: rotate(360deg);
  1178. }
  1179. }
  1180. /* 工具类 */
  1181. .content-auto {
  1182. content-visibility: auto;
  1183. }
  1184. .text-shadow-custom {
  1185. text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  1186. }
  1187. .gradient-background {
  1188. background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  1189. }
  1190. .animate-fade-in {
  1191. animation: fadeIn 0.6s ease-out forwards;
  1192. }
  1193. .loading-overlay {
  1194. display: none;
  1195. position: fixed;
  1196. top: 0;
  1197. left: 0;
  1198. width: 100%;
  1199. height: 100%;
  1200. background: rgba(0, 0, 0, 0.5);
  1201. z-index: 9999;
  1202. justify-content: center;
  1203. align-items: center;
  1204. }
  1205. .loading-spinner {
  1206. width: 50px;
  1207. height: 50px;
  1208. border: 5px solid #f3f3f3;
  1209. border-top: 5px solid #3B82F6;
  1210. border-radius: 50%;
  1211. animation: spin 1s linear infinite;
  1212. }
  1213. .gradient-background {
  1214. background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  1215. }
  1216. .bg-image-overlay {
  1217. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
  1218. url('https://d31zlh4on95l9h.cloudfront.net/images/3b28e7abdfc4b495324cc3e6d9210b51.jpg');
  1219. background-size: cover;
  1220. background-position: center;
  1221. background-repeat: no-repeat;
  1222. }
  1223. .gradient-background {
  1224. background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  1225. }
  1226. .footer-bg {
  1227. background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  1228. url('https://d31zlh4on95l9h.cloudfront.net/images/22576b3fe6f29e642f322d4d315ae426.jpg');
  1229. background-size: cover;
  1230. background-position: center;
  1231. background-repeat: no-repeat;
  1232. }
  1233. .arrow-box {
  1234. display: inline-block;
  1235. width: 8px;
  1236. height: 8px;
  1237. border-right: 2px solid #333;
  1238. border-bottom: 2px solid #333;
  1239. transform: rotate(45deg) translateY(-4px);
  1240. margin-left: 6px;
  1241. transition: transform 0.2s ease, border-color 0.2s ease;
  1242. }
  1243. .group:hover .arrow-box {
  1244. border-color: #FFA300;
  1245. transform: rotate(225deg);
  1246. }
  1247. /* 下拉菜单 */
  1248. .home-dropdown {
  1249. position: absolute;
  1250. top: 28px;
  1251. left: 50%;
  1252. transform: translateX(-50%);
  1253. background: #fff;
  1254. min-width: 150px;
  1255. padding: 0px 0;
  1256. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  1257. display: none;
  1258. z-index: 50;
  1259. }
  1260. .group:hover .home-dropdown {
  1261. display: block;
  1262. }
  1263. .group:hover .dropdown-item:first-child {
  1264. border-top: 2px solid #FFA300;
  1265. }
  1266. /* 下拉项 */
  1267. .dropdown-item {
  1268. display: block;
  1269. padding: 14px 20px;
  1270. font-size: 16px; /* 字体变大 */
  1271. font-weight: 400;
  1272. color: #333;
  1273. text-align: center; /* 文本居中 */
  1274. cursor: pointer;
  1275. white-space: nowrap;
  1276. transition: background 0.2s ease, color 0.2s ease;
  1277. }
  1278. .dropdown-item:hover {
  1279. color: #FFA300;
  1280. }
  1281. /* 自定义橙色渐变背景 */
  1282. .custom-orange-button {
  1283. background: linear-gradient(90deg, #FFAC19 0%, #FFA300 100%);
  1284. border: none;
  1285. }
  1286. .custom-orange-button:hover {
  1287. background: linear-gradient(90deg, #FFB433 0%, #FFB020 100%);
  1288. box-shadow: 0 4px 12px rgba(255, 172, 25, 0.3);
  1289. }
  1290. /* 自定义复选框样式 - 使用橙色 */
  1291. .custom-orange-checkbox {
  1292. appearance: none;
  1293. -webkit-appearance: none;
  1294. cursor: pointer;
  1295. position: relative;
  1296. transition: all 0.2s;
  1297. }
  1298. .custom-orange-checkbox:checked {
  1299. background-color: #FFA300;
  1300. border-color: #FFA300 !important;
  1301. }
  1302. .custom-orange-checkbox:checked::after {
  1303. content: '';
  1304. position: absolute;
  1305. left: 50%;
  1306. top: 50%;
  1307. transform: translate(-50%, -50%) rotate(45deg);
  1308. width: 5px;
  1309. height: 10px;
  1310. border: solid white;
  1311. border-width: 0 2px 2px 0;
  1312. }
  1313. /* 输入框和下拉框样式 */
  1314. .form-input {
  1315. border-width: 2px;
  1316. }
  1317. /* 移除所有蓝色边框和聚焦阴影 */
  1318. .form-input:focus {
  1319. outline: none;
  1320. border-color: #FFA300 !important;
  1321. box-shadow: 0 0 0 3px rgba(255, 172, 25, 0.1);
  1322. }
  1323. </style>
  1324. </body>
  1325. </html>