市场夺宝奇兵
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.

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