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

2062 lines
82 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
3 weeks ago
4 months ago
4 months ago
4 months 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
4 months ago
3 weeks ago
3 weeks 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
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
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
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
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
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" id="goHome">
  83. 首页
  84. </a>
  85. <span class="arrow-box"></span>
  86. </div>
  87. <!-- 下拉菜单 -->
  88. <div class="home-dropdown">
  89. <a class="dropdown-item" id="teSeGongNeng">
  90. 特色功能
  91. </a>
  92. <a class="dropdown-item" id="goRegister2">
  93. DeepChart下载
  94. </a>
  95. <a class="dropdown-item" id="duoBaoQiBing">
  96. 夺宝奇兵下载
  97. </a>
  98. <a class="dropdown-item" id="yingZaiMeiGu">
  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" id="goRegister1">立即注册</a>
  105. <span class="text-gray-300">|</span>
  106. <a class="text-gray-700 hover:text-orange-500 font-medium" id="goCaoZuo1">操作指南</a>
  107. <span class="text-gray-300">|</span>
  108. <a href="https://api.whatsapp.com/send?phone=85255110485&text=课程" target="_blank" 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 ">
  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" id="DeepChartZone2">
  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" id="DuoBaoQiBingZone2">
  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" id="YingZaiMeiGUZone2">
  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" id="DeepChartZone">
  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://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg6119g7ob49d00q43kg1.JPEG"
  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="javascript:void(0)" id="goRegister"
  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" id="DuoBaoQiBingZone">
  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" id="YingZaiMeiGUZone">
  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" id="dc">
  330. <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center mr-4 mt-1">
  331. <img alt="DeepChart" 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" id="duobao">
  339. <div class="w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center mr-4 mt-1">
  340. <img alt="夺宝奇兵" 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" id="meigu">
  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 dohidden">
  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
  683. id="page-register-success"
  684. class="page relative text-white overflow-hidden font-sans min-h-screen flex flex-col dohidden"
  685. >
  686. <div class="absolute inset-0 z-0">
  687. <img
  688. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg65r53bbd7ie00wf974p.png"
  689. alt="Background"
  690. class="w-full h-full object-cover"
  691. >
  692. </div>
  693. <div
  694. class="relative z-10 container mx-auto px-4 pt-24 pb-32 flex flex-col items-center justify-center flex-grow"
  695. >
  696. <div class="text-center mb-4">
  697. <div class="inline-flex items-center justify-center w-50 h-50">
  698. <img
  699. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg60iar844k3b00dwd26x.png"
  700. alt="DeepChart"
  701. class=" object-contain"
  702. />
  703. </div>
  704. </div>
  705. <div
  706. class="w-full max-w-lg rounded-2xl p-6 md:p-8 mb-6
  707. bg-white/5 backdrop-blur-md
  708. border border-red-500/20
  709. shadow-[0_0_40px_rgba(239,68,68,0.25)]"
  710. >
  711. <div class="flex flex-col md:grid md:grid-cols-[1fr_auto_1fr] md:gap-6 items-center">
  712. <div class="text-center w-full flex flex-col items-center justify-center">
  713. <div
  714. class="bg-white p-2 rounded-lg inline-block mb-3
  715. ring-1 ring-red-500/30
  716. shadow-[0_0_25px_rgba(239,68,68,0.35)]"
  717. >
  718. <img
  719. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg60j5yw7c9zc00p7o09d.png"
  720. class="w-28 h-28"
  721. alt="QR Code"
  722. >
  723. </div>
  724. <p class="text-gray-400 text-xs">
  725. 扫描二维码下载
  726. </p>
  727. </div>
  728. <div
  729. class="hidden md:block h-20 w-px
  730. bg-gradient-to-b from-transparent via-red-500/40 to-transparent"
  731. ></div>
  732. <div class="text-center flex flex-col items-center justify-center h-full w-full mt-6 md:mt-0">
  733. <img
  734. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bad6avznn400jwiqwu.png"
  735. class="w-8 h-8 mb-3"
  736. alt=""
  737. />
  738. <h2 class="text-lg font-bold mb-1">数据分析时代</h2>
  739. <p class="text-gray-300 text-sm">AI价值的终极呈现</p>
  740. <p class="text-gray-400 text-xs mt-1">全球最懂机构行为的AI</p>
  741. </div>
  742. </div>
  743. </div>
  744. <div
  745. class="w-full max-w-3xl bg-black/30 backdrop-blur-sm rounded-xl
  746. p-5 border border-white/5 shadow-lg"
  747. >
  748. <h3 class="text-center text-lg mb-4 text-gray-200">
  749. 常见下载问题
  750. </h3>
  751. <div class="space-y-5">
  752. <div class="flex items-start gap-4">
  753. <i class="fa fa-shield text-blue-400 mt-0.5 text-sm"></i>
  754. <div>
  755. <h4 class="text-base font-bold text-gray-200 mb-1.5">
  756. 为什么我的下载被拦截了
  757. </h4>
  758. <p class="text-xs text-gray-300">
  759. 浏览器会对未知安装包进行安全检查,这是正常机制
  760. </p>
  761. </div>
  762. </div>
  763. <div class="flex items-start gap-4">
  764. <i class="fa fa-exclamation-triangle text-blue-400 mt-0.5 text-sm"></i>
  765. <div>
  766. <h4 class="text-base font-bold text-gray-200 mb-0.5">
  767. 下载的文件无法打开?
  768. </h4>
  769. <p class="text-xs text-gray-300">
  770. Windows / macOS 需在设置中允许来自开发者的应用
  771. </p>
  772. </div>
  773. </div>
  774. </div>
  775. </div>
  776. </div>
  777. <div class="absolute bottom-0 left-0 w-full z-20">
  778. <div
  779. class="w-full bg-black/20 backdrop-blur-lg border-t border-white/10 py-10
  780. flex flex-col items-center justify-center"
  781. >
  782. <div class="flex items-center justify-center gap-2 mb-2 opacity-90">
  783. <img
  784. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5bad6avznn400jwiqwu.png"
  785. class="w-6 h-6"
  786. alt=""
  787. >
  788. <span class="text-base font-semibold tracking-wide">DeepChart</span>
  789. </div>
  790. <p class="text-xs text-gray-300 uppercase tracking-wider">
  791. copyright 2025. Capitalmaster Pte Ltd All Rights Reserved
  792. </p>
  793. </div>
  794. </div>
  795. </section>
  796. <section id="page-guide" class="page dohidden">
  797. <div class="container mx-auto max-w-5xl pt-24">
  798. <div
  799. class="text-center mb-4 animate-fade-in"
  800. style="opacity: 1; transform: translateY(0px)"
  801. >
  802. <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-2">
  803. 操作指南中心
  804. </h2>
  805. <p class="text-gray-600 max-w-2xl mx-auto">
  806. 通过视频以及图文说明,教你如何使用夺宝奇兵软件以及如何观看直播和观看重播!
  807. </p>
  808. </div>
  809. <!-- 主视频播放窗口 -->
  810. <div
  811. class="bg-white rounded-2xl shadow-xl p-6 md:p-8 animate-fade-in delay-100"
  812. style="opacity: 1; transform: translateY(0px)"
  813. >
  814. <h3 class="text-xl md:text-2xl font-semibold mb-4 text-center text-gray-500">
  815. HomilyLink操作指南 &nbsp;|&nbsp;课程直播&nbsp;|&nbsp;重播指南
  816. </h3>
  817. <div class="video-container">
  818. <!-- 兼容性视频播放器 -->
  819. <video
  820. id="guideVideo"
  821. controls=""
  822. poster="https://hc.homilychart.com/hc/250121/img/106-1200x675.jpg"
  823. controlslist="nodownload"
  824. class="w-full"
  825. >
  826. <source
  827. src="https://hc.homilychart.com/hc/250121/img/homilylink-guide.mp4"
  828. type="video/mp4"
  829. />
  830. </video>
  831. </div>
  832. <div class="mt-6 flex flex-wrap items-center justify-between gap-4">
  833. <div>
  834. <p class="text-gray-600">时长: 02:14</p>
  835. <p class="text-gray-500 text-sm mt-1">HomilyLink操作指南</p>
  836. </div>
  837. <div class="flex space-x-3">
  838. <button
  839. class="flex items-center space-x-1 px-4 py-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors"
  840. >
  841. <img
  842. alt="夺宝奇兵"
  843. src="https://hc.homilychart.com/hc/250121/img/20230711171637.png"
  844. style="width: 30px; height: 30px"
  845. />
  846. <span
  847. ><a
  848. href="https://wa.me/+6588792879?text=进HomilyLink听课需要帮助"
  849. target="_blank"
  850. class="text-gray-400 transition-colors"
  851. style="color: black"
  852. >点击寻求帮助</a
  853. ></span
  854. >
  855. </button>
  856. </div>
  857. </div>
  858. </div>
  859. </div>
  860. </section>
  861. </main>
  862. <!-- 页脚区域 -->
  863. <footer class="footer-bg text-white py-12 px-4">
  864. <div class="container mx-auto max-w-6xl">
  865. <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
  866. <div>
  867. <div class="flex items-center space-x-2 mb-6">
  868. <div class="w-10 h-10 rounded-lg flex items-center justify-center">
  869. <img
  870. src="https://d31zlh4on95l9h.cloudfront.net/files/5iujc601000dg5udhzj898b800yp02ol.png"
  871. alt="Logo"
  872. />
  873. </div>
  874. <span class="text-xl font-bold">赢在美股</span>
  875. </div>
  876. <p class="text-gray-400 mb-6 paragraph-text">
  877. 加入赢在美股,开启赢家人生!
  878. </p>
  879. <div class="flex space-x-4">
  880. <a href="#"
  881. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  882. <i class="fa fa-facebook"></i>
  883. </a>
  884. <a href="#"
  885. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  886. <i class="fa fa-twitter"></i>
  887. </a>
  888. <a href="#"
  889. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  890. <i class="fa fa-linkedin"></i>
  891. </a>
  892. <a href="#"
  893. class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
  894. <i class="fa fa-instagram"></i>
  895. </a>
  896. </div>
  897. </div>
  898. <div>
  899. <h4 class="text-lg font-semibold mb-6 heading-tertiary">产品</h4>
  900. <ul class="space-y-3">
  901. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  902. target="_blank" class="text-gray-400 hover:text-white transition-colors">弘历云版软件</a></li>
  903. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  904. target="_blank" class="text-gray-400 hover:text-white transition-colors">HomilyChart</a></li>
  905. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  906. target="_blank" class="text-gray-400 hover:text-white transition-colors">夺宝奇兵</a></li>
  907. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  908. class="text-gray-400 hover:text-white transition-colors">博股会员</a></li>
  909. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  910. class="text-gray-400 hover:text-white transition-colors">最新软件</a></li>
  911. </ul>
  912. </div>
  913. <div>
  914. <h4 class="text-lg font-semibold mb-6 heading-tertiary">公司</h4>
  915. <ul class="space-y-3">
  916. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  917. target="_blank" class="text-gray-400 hover:text-white transition-colors">关于我们</a></li>
  918. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  919. target="_blank" class="text-gray-400 hover:text-white transition-colors">团队介绍</a></li>
  920. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  921. target="_blank" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
  922. </ul>
  923. </div>
  924. <div>
  925. <h4 class="text-lg font-semibold mb-6 heading-tertiary">支持</h4>
  926. <ul class="space-y-3">
  927. <li class="list-item">
  928. <!-- <a href="hcdbqb-guide.html"
  929. class="text-gray-400 hover:text-white transition-colors">帮助中心</a> -->
  930. <a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  931. class="text-gray-400 hover:text-white transition-colors">帮助中心</a>
  932. </li>
  933. <li class="list-item"><a href="https://api.whatsapp.com/send?phone=85255110485&text=我想了解赢在美股"
  934. target="_blank" class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>
  935. </ul>
  936. </div>
  937. </div>
  938. <div class=" border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center">
  939. <p class="text-gray-500 text-sm mb-4 md:mb-0 paragraph-text">
  940. &copy; Copyright 2025.Capitalmaster Pte Ltd All Rights Reserved.
  941. </p>
  942. <div class="flex space-x-6">
  943. 如需帮助,请及时联系我们!
  944. </div>
  945. </div>
  946. </div>
  947. </footer>
  948. <!-- 表单提交成功提示模态框 -->
  949. <div id="successModal" class="fixed inset-0 bg-black/50 flex items-center justify-center z-50 hidden">
  950. <div class="bg-white rounded-2xl p-8 max-w-md w-full mx-4 transform transition-all relative">
  951. <!-- 关闭按钮 - 右上角叉号 -->
  952. <button id="closeModal" class="absolute top-4 right-4 text-gray-400 hover:text-gray-600 transition-colors">
  953. <i class="fa fa-times text-xl"></i>
  954. </button>
  955. <div class="text-center">
  956. <div class="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-6">
  957. <i class="fa fa-check text-secondary text-2xl"></i>
  958. </div>
  959. <h3 class="text-xl font-bold mb-2 heading-tertiary">注册成功!</h3>
  960. <p class="text-gray-600 mb-6 paragraph-text">感谢您的注册,我们的顾问将尽快与您联系。</p>
  961. <a href="https://api.whatsapp.com/send?phone=85255110485&text=课程" target="_blank"
  962. class="inline-block px-6 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors">
  963. 联系我们
  964. </a>
  965. </div>
  966. </div>
  967. </div>
  968. <script type="module">
  969. // 常量定义 - 全部大写,下划线分隔
  970. const MAX_NAME_LENGTH = 50;
  971. const MAX_EMAIL_LENGTH = 100;
  972. const MAX_PHONE_LENGTH = 20;
  973. const LOADING_DELAY = 300;
  974. // 导入API函数
  975. import { registerMemberApi, getImageApi } from './src/api/member.js';
  976. // 表单提交处理
  977. const registrationForm = document.getElementById('registrationForm');
  978. const registrationForm1 = document.getElementById('registrationForm1');
  979. const successModal = document.getElementById('successModal');
  980. const closeModal = document.getElementById('closeModal');
  981. const submitBtn = document.getElementById('submitBtn');
  982. const loadingOverlay = document.getElementById('loadingOverlay');
  983. // 新增:讲座图片元素引用
  984. const lectureImage = document.getElementById('lectureImage');
  985. // 防止重复提交标志
  986. let isSubmitting = false;
  987. /**
  988. * 立即滚动到注册表单(在页面加载前执行)
  989. */
  990. function scrollToRegisterImmediately() {
  991. // 禁用平滑滚动
  992. document.documentElement.style.scrollBehavior = 'auto';
  993. // 立即滚动到注册表单
  994. const registerSection = document.getElementById('register');
  995. if (registerSection) {
  996. // 计算注册表单的位置(考虑固定导航栏的高度)
  997. const headerHeight = document.querySelector('header').offsetHeight;
  998. const registerPosition = registerSection.offsetTop - headerHeight - 20;
  999. // 立即设置滚动位置
  1000. window.scrollTo(0, registerPosition);
  1001. }
  1002. // 恢复平滑滚动
  1003. setTimeout(() => {
  1004. document.documentElement.style.scrollBehavior = 'smooth';
  1005. }, 100);
  1006. }
  1007. /**
  1008. * 从后端获取讲座图片
  1009. */
  1010. async function loadLectureImage() {
  1011. console.log('开始加载讲座图片...'); // 调试信息
  1012. try {
  1013. const requestData = {
  1014. id: 1,
  1015. };
  1016. console.log('调用getImageApi,参数:', requestData); // 调试信息
  1017. const response = await getImageApi(requestData);
  1018. console.log('接口返回:', response); // 调试信息
  1019. if (response.code === 200 && response.data) {
  1020. // 成功获取图片URL,更新图片src
  1021. lectureImage.src = response.data.img_url;
  1022. console.log('讲座图片加载成功:', response.data);
  1023. } else {
  1024. console.warn('获取图片失败:', response.msg);
  1025. // 使用默认的图片
  1026. lectureImage.src = 'https://hc.homilychart.com/hc/250121/img/kecheng.jpg';
  1027. }
  1028. } catch (error) {
  1029. console.error('加载讲座图片失败:', error);
  1030. // 出错时保持默认图片
  1031. lectureImage.src = 'https://hc.homilychart.com/hc/250121/img/kecheng.jpg';
  1032. }
  1033. }
  1034. /**
  1035. * 显示加载指示器
  1036. */
  1037. function showLoadingIndicator() {
  1038. loadingOverlay.style.display = 'flex';
  1039. submitBtn.disabled = true;
  1040. submitBtn.textContent = '提交中...';
  1041. isSubmitting = true;
  1042. }
  1043. /**
  1044. * 隐藏加载指示器
  1045. */
  1046. function hideLoadingIndicator() {
  1047. loadingOverlay.style.display = 'none';
  1048. submitBtn.disabled = false;
  1049. submitBtn.textContent = '提交注册';
  1050. isSubmitting = false;
  1051. }
  1052. /**
  1053. * 显示错误消息
  1054. * @param {string} errorMessage - 错误信息
  1055. */
  1056. function showErrorMessage(errorMessage) {
  1057. alert(errorMessage);
  1058. }
  1059. /**
  1060. * 验证表单数据
  1061. * @param {Object} formData - 表单数据
  1062. * @returns {boolean} 是否验证通过
  1063. */
  1064. function validateFormData(formData) {
  1065. const { name, tel, email } = formData;
  1066. if (!name || name.length > MAX_NAME_LENGTH) {
  1067. showErrorMessage('请输入有效的姓名(最多50个字符)');
  1068. document.getElementById("userNameInfo").focus();
  1069. return false;
  1070. }
  1071. if (!tel || tel.length > MAX_PHONE_LENGTH) {
  1072. showErrorMessage('请输入有效的电话号码');
  1073. document.getElementById("userMobile").focus();
  1074. return false;
  1075. }
  1076. if (!email || email.length > MAX_EMAIL_LENGTH) {
  1077. showErrorMessage('请输入电子邮箱');
  1078. document.getElementById("userEmail").focus();
  1079. return false;
  1080. }
  1081. const benefitCheckboxes = document.querySelectorAll('input[name="benefits[]"]:checked');
  1082. if (benefitCheckboxes.length === 0&&!(document.getElementById('page-home').classList.contains('dohidden'))) {
  1083. showErrorMessage('请至少选择一项您希望获取的权益');
  1084. // 聚焦到第一个权益选项
  1085. const firstBenefit = document.querySelector('input[name="benefits[]"]');
  1086. if (firstBenefit) {
  1087. firstBenefit.focus();
  1088. }
  1089. return false;
  1090. }
  1091. // 邮箱格式验证
  1092. const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
  1093. if (!emailRegex.test(email)) {
  1094. showErrorMessage('请输入有效的电子邮箱地址');
  1095. document.getElementById("userEmail").focus();
  1096. return false;
  1097. }
  1098. return true;
  1099. }
  1100. /**
  1101. * 处理DC表单提交事件
  1102. * @param {Event} submitEvent - 表单提交事件
  1103. */
  1104. async function handleDCFormSubmit(submitEvent) {
  1105. submitEvent.preventDefault();
  1106. // 防止重复提交
  1107. if (isSubmitting) {
  1108. return;
  1109. }
  1110. // 表单数据验证
  1111. const userNameInfo = document.getElementById("userNameInfo1").value.trim();
  1112. const countryInfo = document.getElementById("countryInfo1").value;
  1113. const userMobile = document.getElementById("userMobile1").value.trim();
  1114. const userWechat = document.getElementById("userWechat1").value.trim();
  1115. const userEmail = document.getElementById("userEmail1").value.trim();
  1116. const sourceType = await getSourceTypeFromUrl();
  1117. const url = await getFromUrl();
  1118. const formData = {
  1119. name: userNameInfo,
  1120. code: countryInfo,
  1121. tel: userMobile,
  1122. wechat: userWechat,
  1123. email: userEmail,
  1124. type: sourceType,
  1125. url: url,
  1126. source: 1,
  1127. };
  1128. console.log('formData:', formData); // 调试信息
  1129. if (!validateFormData(formData)) {
  1130. return;
  1131. }
  1132. try {
  1133. showLoadingIndicator();
  1134. // 调用注册API
  1135. const response = await registerMemberApi(formData);
  1136. if (response.code === 200) {
  1137. successModal.classList.remove('hidden');
  1138. registrationForm1.reset();
  1139. } else {
  1140. showErrorMessage('注册失败: ' + (response.msg || '未知错误'));
  1141. }
  1142. } catch (error) {
  1143. console.error('请求失败:', error);
  1144. showErrorMessage('网络错误,请稍后重试');
  1145. } finally {
  1146. hideLoadingIndicator();
  1147. }
  1148. }
  1149. async function handleFormSubmit(submitEvent) {
  1150. submitEvent.preventDefault();
  1151. // 防止重复提交
  1152. if (isSubmitting) {
  1153. return;
  1154. }
  1155. // 表单数据验证
  1156. const userNameInfo = document.getElementById("userNameInfo").value.trim();
  1157. const countryInfo = document.getElementById("countryInfo").value;
  1158. const userMobile = document.getElementById("userMobile").value.trim();
  1159. const userWechat = document.getElementById("userWechat").value.trim();
  1160. const userEmail = document.getElementById("userEmail").value.trim();
  1161. const sourceType = await getSourceTypeFromUrl();
  1162. const url = await getFromUrl();
  1163. const benefits = Array.from(
  1164. document.querySelectorAll('input[name="benefits[]"]:checked')
  1165. ).map(item => item.value);
  1166. const benefitsParam = benefits.join(',');
  1167. console.log(benefitsParam)
  1168. const formData = {
  1169. name: userNameInfo,
  1170. code: countryInfo,
  1171. tel: userMobile,
  1172. wechat: userWechat,
  1173. email: userEmail,
  1174. type: sourceType,
  1175. url: url,
  1176. source: 0,
  1177. benefit_intention: benefitsParam
  1178. };
  1179. console.log('formData:', formData); // 调试信息
  1180. if (!validateFormData(formData)) {
  1181. return;
  1182. }
  1183. try {
  1184. showLoadingIndicator();
  1185. // 调用注册API
  1186. const response = await registerMemberApi(formData);
  1187. if (response.code === 200) {
  1188. successModal.classList.remove('hidden');
  1189. registrationForm.reset();
  1190. } else {
  1191. showErrorMessage('注册失败: ' + (response.msg || '未知错误'));
  1192. }
  1193. } catch (error) {
  1194. console.error('请求失败:', error);
  1195. showErrorMessage('网络错误,请稍后重试');
  1196. } finally {
  1197. hideLoadingIndicator();
  1198. }
  1199. }
  1200. /**
  1201. * 切换移动端菜单显示状态
  1202. */
  1203. function toggleMobileMenu() {
  1204. const mobileMenu = document.getElementById('mobileMenu');
  1205. mobileMenu.classList.toggle('hidden');
  1206. const icon = document.getElementById('menuBtn').querySelector('i');
  1207. if (icon.classList.contains('fa-bars')) {
  1208. icon.classList.replace('fa-bars', 'fa-times');
  1209. } else {
  1210. icon.classList.replace('fa-times', 'fa-bars');
  1211. }
  1212. }
  1213. /**
  1214. * 处理导航栏滚动效果
  1215. */
  1216. function handleHeaderScroll() {
  1217. const header = document.querySelector('header');
  1218. if (window.scrollY > 50) {
  1219. header.classList.add('py-2', 'shadow');
  1220. header.classList.remove('py-3');
  1221. } else {
  1222. header.classList.add('py-3');
  1223. header.classList.remove('py-2', 'shadow');
  1224. }
  1225. }
  1226. /**
  1227. * 执行滚动动画效果
  1228. */
  1229. function executeScrollAnimation() {
  1230. const elements = document.querySelectorAll('.animate-fade-in');
  1231. elements.forEach(element => {
  1232. const elementPosition = element.getBoundingClientRect().top;
  1233. const windowHeight = window.innerHeight;
  1234. if (elementPosition < windowHeight - 100) {
  1235. element.style.opacity = '1';
  1236. element.style.transform = 'translateY(0)';
  1237. }
  1238. });
  1239. }
  1240. // DOM加载完成后立即执行
  1241. document.addEventListener('DOMContentLoaded', function () {
  1242. // 立即滚动到注册表单
  1243. scrollToRegisterImmediately();
  1244. // 显示页面内容
  1245. setTimeout(() => {
  1246. document.body.classList.add('content-visible');
  1247. }, 50);
  1248. });
  1249. // 页面加载完成后执行
  1250. window.addEventListener('load', () => {
  1251. console.log('页面加载完成,开始调用loadLectureImage...');
  1252. loadLectureImage(); // 调用图片加载函数
  1253. executeScrollAnimation();
  1254. // 隐藏加载状态
  1255. document.getElementById('loadingOverlay').style.display = 'none';
  1256. });
  1257. const goHomeBtn = document.getElementById('goHome');
  1258. if (goHomeBtn) {
  1259. goHomeBtn.addEventListener('click', (e) => {
  1260. e.preventDefault(); // 阻止默认跳转
  1261. document.getElementById('page-home').classList.remove('dohidden');
  1262. document.getElementById('page-register').classList.add('dohidden');
  1263. document.getElementById('page-register-success').classList.add('dohidden');
  1264. document.getElementById('page-guide').classList.add('dohidden');
  1265. window.scrollTo(0, 0); // 切换后滚动到顶部
  1266. });
  1267. }
  1268. // 绑定立即注册按钮点击事件 - 切换页面
  1269. const goRegisterBtn = document.getElementById('goRegister');
  1270. if (goRegisterBtn) {
  1271. goRegisterBtn.addEventListener('click', (e) => {
  1272. e.preventDefault(); // 阻止默认跳转
  1273. document.getElementById('page-home').classList.add('dohidden');
  1274. document.getElementById('page-register').classList.remove('dohidden');
  1275. document.getElementById('page-register-success').classList.add('dohidden');
  1276. document.getElementById('page-guide').classList.add('dohidden');
  1277. window.scrollTo(0, 0); // 切换后滚动到顶部
  1278. });
  1279. }
  1280. const goRegisterBtn2 = document.getElementById('goRegister2');
  1281. if (goRegisterBtn2) {
  1282. goRegisterBtn2.addEventListener('click', (e) => {
  1283. // 禁用平滑滚动
  1284. document.documentElement.style.scrollBehavior = 'auto';
  1285. const promotionsBtn = document.getElementById('DeepChartZone');
  1286. const headerHeight = document.querySelector('header').offsetHeight;
  1287. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1288. // 立即设置滚动位置
  1289. window.scrollTo(0, registerPosition);
  1290. // 恢复平滑滚动
  1291. setTimeout(() => {
  1292. document.documentElement.style.scrollBehavior = 'smooth';
  1293. }, 100);
  1294. });
  1295. }
  1296. const duoBaoQiBingBtn = document.getElementById('duoBaoQiBing');
  1297. if (duoBaoQiBingBtn) {
  1298. duoBaoQiBingBtn.addEventListener('click', (e) => {
  1299. // 禁用平滑滚动
  1300. document.documentElement.style.scrollBehavior = 'auto';
  1301. const promotionsBtn = document.getElementById('DuoBaoQiBingZone');
  1302. const headerHeight = document.querySelector('header').offsetHeight;
  1303. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1304. // 立即设置滚动位置
  1305. window.scrollTo(0, registerPosition);
  1306. // 恢复平滑滚动
  1307. setTimeout(() => {
  1308. document.documentElement.style.scrollBehavior = 'smooth';
  1309. }, 100);
  1310. });
  1311. }
  1312. const yingZaiMeiGuBtn = document.getElementById('yingZaiMeiGu');
  1313. if (yingZaiMeiGuBtn) {
  1314. yingZaiMeiGuBtn.addEventListener('click', (e) => {
  1315. // 禁用平滑滚动
  1316. document.documentElement.style.scrollBehavior = 'auto';
  1317. const promotionsBtn = document.getElementById('YingZaiMeiGUZone');
  1318. const headerHeight = document.querySelector('header').offsetHeight;
  1319. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1320. // 立即设置滚动位置
  1321. window.scrollTo(0, registerPosition);
  1322. // 恢复平滑滚动
  1323. setTimeout(() => {
  1324. document.documentElement.style.scrollBehavior = 'smooth';
  1325. }, 100);
  1326. });
  1327. }
  1328. const teSeGongNengBtn = document.getElementById('teSeGongNeng');
  1329. if (teSeGongNengBtn) {
  1330. teSeGongNengBtn.addEventListener('click', (e) => {
  1331. window.scrollTo(0, 0);
  1332. });
  1333. }
  1334. const goRegisterBtn1 = document.getElementById('goRegister1');
  1335. if (goRegisterBtn1) {
  1336. goRegisterBtn1.addEventListener('click', (e) => {
  1337. e.preventDefault(); // 阻止默认跳转
  1338. document.getElementById('page-home').classList.add('dohidden');
  1339. document.getElementById('page-register').classList.remove('dohidden');
  1340. document.getElementById('page-register-success').classList.add('dohidden');
  1341. document.getElementById('page-guide').classList.add('dohidden');
  1342. window.scrollTo(0, 0); // 切换后滚动到顶部
  1343. });
  1344. }
  1345. const goCaoZuoBtn1 = document.getElementById('goCaoZuo1');
  1346. if (goCaoZuoBtn1) {
  1347. goCaoZuoBtn1.addEventListener('click', (e) => {
  1348. e.preventDefault(); // 阻止默认跳转
  1349. document.getElementById('page-home').classList.add('dohidden');
  1350. document.getElementById('page-register').classList.add('dohidden');
  1351. document.getElementById('page-register-success').classList.add('dohidden');
  1352. document.getElementById('page-guide').classList.remove('dohidden');
  1353. window.scrollTo(0, 0); // 切换后滚动到顶部
  1354. });
  1355. }
  1356. const goRegisterBtn3 = document.getElementById('DeepChartZone2');
  1357. if (goRegisterBtn3) {
  1358. goRegisterBtn3.addEventListener('click', (e) => {
  1359. // 禁用平滑滚动
  1360. document.documentElement.style.scrollBehavior = 'auto';
  1361. const promotionsBtn = document.getElementById('DeepChartZone');
  1362. const headerHeight = document.querySelector('header').offsetHeight;
  1363. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1364. // 立即设置滚动位置
  1365. window.scrollTo(0, registerPosition);
  1366. // 恢复平滑滚动
  1367. setTimeout(() => {
  1368. document.documentElement.style.scrollBehavior = 'smooth';
  1369. }, 100);
  1370. });
  1371. }
  1372. const goRegisterBtn4 = document.getElementById('dc');
  1373. if (goRegisterBtn4) {
  1374. goRegisterBtn4.addEventListener('click', (e) => {
  1375. // 禁用平滑滚动
  1376. document.documentElement.style.scrollBehavior = 'auto';
  1377. const promotionsBtn = document.getElementById('DeepChartZone');
  1378. const headerHeight = document.querySelector('header').offsetHeight;
  1379. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1380. // 立即设置滚动位置
  1381. window.scrollTo(0, registerPosition);
  1382. // 恢复平滑滚动
  1383. setTimeout(() => {
  1384. document.documentElement.style.scrollBehavior = 'smooth';
  1385. }, 100);
  1386. });
  1387. }
  1388. const duoBaoQiBingBtn2 = document.getElementById('DuoBaoQiBingZone2');
  1389. if (duoBaoQiBingBtn2) {
  1390. duoBaoQiBingBtn2.addEventListener('click', (e) => {
  1391. // 禁用平滑滚动
  1392. document.documentElement.style.scrollBehavior = 'auto';
  1393. const promotionsBtn = document.getElementById('DuoBaoQiBingZone');
  1394. const headerHeight = document.querySelector('header').offsetHeight;
  1395. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1396. // 立即设置滚动位置
  1397. window.scrollTo(0, registerPosition);
  1398. // 恢复平滑滚动
  1399. setTimeout(() => {
  1400. document.documentElement.style.scrollBehavior = 'smooth';
  1401. }, 100);
  1402. });
  1403. }
  1404. const duoBaoQiBingBtn3 = document.getElementById('duobao');
  1405. if (duoBaoQiBingBtn3) {
  1406. duoBaoQiBingBtn3.addEventListener('click', (e) => {
  1407. // 禁用平滑滚动
  1408. document.documentElement.style.scrollBehavior = 'auto';
  1409. const promotionsBtn = document.getElementById('DuoBaoQiBingZone');
  1410. const headerHeight = document.querySelector('header').offsetHeight;
  1411. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1412. // 立即设置滚动位置
  1413. window.scrollTo(0, registerPosition);
  1414. // 恢复平滑滚动
  1415. setTimeout(() => {
  1416. document.documentElement.style.scrollBehavior = 'smooth';
  1417. }, 100);
  1418. });
  1419. }
  1420. const yingZaiMeiGuBtn2 = document.getElementById('YingZaiMeiGUZone2');
  1421. if (yingZaiMeiGuBtn2) {
  1422. yingZaiMeiGuBtn2.addEventListener('click', (e) => {
  1423. // 禁用平滑滚动
  1424. document.documentElement.style.scrollBehavior = 'auto';
  1425. const promotionsBtn = document.getElementById('YingZaiMeiGUZone');
  1426. const headerHeight = document.querySelector('header').offsetHeight;
  1427. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1428. // 立即设置滚动位置
  1429. window.scrollTo(0, registerPosition);
  1430. // 恢复平滑滚动
  1431. setTimeout(() => {
  1432. document.documentElement.style.scrollBehavior = 'smooth';
  1433. }, 100);
  1434. });
  1435. }
  1436. const yingZaiMeiGuBtn3 = document.getElementById('meigu');
  1437. if (yingZaiMeiGuBtn3) {
  1438. yingZaiMeiGuBtn3.addEventListener('click', (e) => {
  1439. // 禁用平滑滚动
  1440. document.documentElement.style.scrollBehavior = 'auto';
  1441. const promotionsBtn = document.getElementById('YingZaiMeiGUZone');
  1442. const headerHeight = document.querySelector('header').offsetHeight;
  1443. const registerPosition = promotionsBtn.offsetTop - headerHeight - 20;
  1444. // 立即设置滚动位置
  1445. window.scrollTo(0, registerPosition);
  1446. // 恢复平滑滚动
  1447. setTimeout(() => {
  1448. document.documentElement.style.scrollBehavior = 'smooth';
  1449. }, 100);
  1450. });
  1451. }
  1452. // 绑定表单提交事件
  1453. registrationForm.addEventListener('submit', handleFormSubmit);
  1454. registrationForm1.addEventListener('submit', handleDCFormSubmit);
  1455. // 关闭模态框事件
  1456. closeModal.addEventListener('click', (e) => {
  1457. if(document.getElementById('page-home').classList.contains('dohidden')){
  1458. e.preventDefault(); // 阻止默认跳转
  1459. document.getElementById('page-register').classList.add('dohidden');
  1460. document.getElementById('page-register-success').classList.remove('dohidden');
  1461. successModal.classList.add('hidden');
  1462. window.scrollTo(0, 0); // 切换后滚动到顶部
  1463. }else{
  1464. successModal.classList.add('hidden');
  1465. }
  1466. });
  1467. // 点击模态框外部关闭
  1468. successModal.addEventListener('click', (event) => {
  1469. if (event.target === successModal) {
  1470. successModal.classList.add('hidden');
  1471. }
  1472. });
  1473. // 绑定菜单按钮点击事件
  1474. document.getElementById('menuBtn').addEventListener('click', toggleMobileMenu);
  1475. // 导航栏滚动效果
  1476. window.addEventListener('scroll', handleHeaderScroll);
  1477. // 滚动时执行动画
  1478. window.addEventListener('scroll', executeScrollAnimation);
  1479. //识别所述的url
  1480. //0:是其它 1:是视频 2:是直播 3:是帖子
  1481. function getSourceTypeFromUrl() {
  1482. const urlParams = new URLSearchParams(window.location.search);
  1483. const source = urlParams.get("type");
  1484. if (source === "video") {
  1485. return 1;
  1486. }
  1487. if (source === "live") {
  1488. return 2;
  1489. }
  1490. if(source === "article"){
  1491. return 3;
  1492. }
  1493. return 0;
  1494. }
  1495. function getFromUrl(){
  1496. const urlParams = new URLSearchParams(window.location.search);
  1497. const url = urlParams.get("url");
  1498. return url;
  1499. }
  1500. </script>
  1501. <style>
  1502. /* 全局字体大小调整 - 整体调小 */
  1503. html {
  1504. font-size: 16px;
  1505. }
  1506. /* 文本样式类 */
  1507. .page-body {
  1508. font-size: 1rem;
  1509. line-height: 1.6;
  1510. }
  1511. .text-heading-primary {
  1512. font-size: clamp(2.2rem, 5vw, 3.5rem);
  1513. line-height: 1.2;
  1514. }
  1515. .text-heading-secondary {
  1516. font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  1517. line-height: 1.3;
  1518. }
  1519. .text-heading-tertiary {
  1520. font-size: clamp(1.3rem, 2.5vw, 2rem);
  1521. line-height: 1.4;
  1522. }
  1523. .text-paragraph {
  1524. font-size: 1rem;
  1525. line-height: 1.6;
  1526. }
  1527. .text-list-item {
  1528. font-size: 1rem;
  1529. }
  1530. .text-breadcrumb {
  1531. font-size: 0.9rem;
  1532. padding-top: 0.4rem;
  1533. padding-bottom: 0.4rem;
  1534. }
  1535. .form-label-text {
  1536. font-size: 1rem;
  1537. margin-bottom: 0.5rem;
  1538. }
  1539. .form-input-field {
  1540. font-size: 1rem;
  1541. padding-top: 0.75rem;
  1542. padding-bottom: 0.75rem;
  1543. }
  1544. .form-input-field::placeholder {
  1545. font-size: 0.95rem;
  1546. }
  1547. /* 导航菜单字体调小 */
  1548. .nav-link-text {
  1549. font-size: 1rem;
  1550. }
  1551. /* 按钮文字调小 */
  1552. .button-large-text {
  1553. font-size: 1rem;
  1554. padding-top: 0.75rem;
  1555. padding-bottom: 0.75rem;
  1556. }
  1557. /* 特色功能卡片文字调小 */
  1558. .feature-card-title {
  1559. font-size: 1.3rem;
  1560. margin-bottom: 0.75rem;
  1561. }
  1562. .feature-card-description {
  1563. font-size: 0.95rem;
  1564. line-height: 1.5;
  1565. }
  1566. /* 产品宣传区域文字调小 */
  1567. .promo-section-paragraph {
  1568. font-size: 1rem;
  1569. line-height: 1.6;
  1570. }
  1571. .promo-section-list-item {
  1572. font-size: 1rem;
  1573. }
  1574. .promo-section-breadcrumb {
  1575. font-size: 0.9rem;
  1576. }
  1577. /* 页脚文字调小 */
  1578. .footer-text {
  1579. font-size: 0.95rem;
  1580. }
  1581. .footer-heading {
  1582. font-size: 1.3rem;
  1583. }
  1584. /* 成功模态框文字调小 */
  1585. .modal-heading {
  1586. font-size: 1.5rem;
  1587. }
  1588. .modal-text {
  1589. font-size: 1rem;
  1590. }
  1591. .modal-button {
  1592. font-size: 1rem;
  1593. }
  1594. /* 宣传模块图片样式优化 - 确保图片完整显示 */
  1595. .promotion-image {
  1596. display: flex;
  1597. min-height: 400px;
  1598. overflow: hidden;
  1599. align-items: center;
  1600. justify-content: center;
  1601. background-color: #f8fafc;
  1602. }
  1603. .promotion-image img {
  1604. width: auto;
  1605. max-width: 100%;
  1606. height: auto;
  1607. max-height: 100%;
  1608. object-fit: contain;
  1609. }
  1610. /* 针对不同模块的图片进行特定调整 */
  1611. /* 超级云脑图片 - 图表类图片,确保完整显示 */
  1612. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.mb-16.flex.flex-col.md\\:flex-row.animate-fade-in .promotion-image {
  1613. background-color: #f0f9ff;
  1614. }
  1615. /* AI预测大模型图片 - 确保完整显示 */
  1616. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.mb-16.flex.flex-col.md\\:flex-row-reverse.animate-fade-in.delay-100 .promotion-image {
  1617. background-color: #faf5ff;
  1618. }
  1619. /* 夺宝利剑图片 - 图表类图片,确保完整显示 */
  1620. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.mb-16.flex.flex-col.md\\:flex-row.animate-fade-in.delay-100 .promotion-image {
  1621. background-color: #f0fdf4;
  1622. }
  1623. /* John Lu谈股专题讲座图片 - 确保完整显示 */
  1624. .bg-white.rounded-3xl.shadow-xl.overflow-hidden.flex.flex-col.md\\:flex-row.animate-fade-in.delay-200 .promotion-image {
  1625. background-color: #ecfdf5;
  1626. }
  1627. /* 特色功能卡片高度调整 */
  1628. .feature-card {
  1629. height: 100%;
  1630. display: flex;
  1631. flex-direction: column;
  1632. }
  1633. .feature-card-icon {
  1634. margin-bottom: 1rem;
  1635. }
  1636. .feature-card-title {
  1637. margin-bottom: 0.75rem;
  1638. }
  1639. /* 特色功能区域图标调整 */
  1640. .feature-card img {
  1641. max-width: 100%;
  1642. height: auto;
  1643. display: block;
  1644. margin: 0 auto;
  1645. }
  1646. /* 注册表单区域调整 */
  1647. .register-section-title {
  1648. margin-bottom: 1rem;
  1649. line-height: 1.3;
  1650. }
  1651. .register-section-description {
  1652. margin-bottom: 1.5rem;
  1653. }
  1654. .register-section-features {
  1655. gap: 1rem;
  1656. }
  1657. /* 页脚区域调整 */
  1658. .footer-logo {
  1659. margin-bottom: 1rem;
  1660. }
  1661. .footer-description {
  1662. margin-bottom: 1rem;
  1663. }
  1664. .footer-heading {
  1665. margin-bottom: 1rem;
  1666. }
  1667. .footer-list {
  1668. gap: 0.5rem;
  1669. }
  1670. /* 移动端适配 */
  1671. @media (max-width: 768px) {
  1672. html {
  1673. font-size: 14px;
  1674. }
  1675. .page-body {
  1676. font-size: 0.95rem;
  1677. }
  1678. .mobile-nav-link {
  1679. font-size: 0.95rem;
  1680. padding-top: 0.6rem;
  1681. padding-bottom: 0.6rem;
  1682. }
  1683. .promotion-image {
  1684. min-height: 300px;
  1685. }
  1686. /* 移动端确保图片完整显示 */
  1687. .promotion-image img {
  1688. width: auto;
  1689. max-width: 90%;
  1690. height: auto;
  1691. max-height: 90%;
  1692. }
  1693. }
  1694. /* 动画定义 */
  1695. @keyframes fadeIn {
  1696. from {
  1697. opacity: 0;
  1698. transform: translateY(20px);
  1699. }
  1700. to {
  1701. opacity: 1;
  1702. transform: translateY(0);
  1703. }
  1704. }
  1705. @keyframes spin {
  1706. 0% {
  1707. transform: rotate(0);
  1708. }
  1709. 100% {
  1710. transform: rotate(360deg);
  1711. }
  1712. }
  1713. /* 工具类 */
  1714. .content-auto {
  1715. content-visibility: auto;
  1716. }
  1717. .text-shadow-custom {
  1718. text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  1719. }
  1720. .gradient-background {
  1721. background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  1722. }
  1723. .animate-fade-in {
  1724. animation: fadeIn 0.6s ease-out forwards;
  1725. }
  1726. .loading-overlay {
  1727. display: none;
  1728. position: fixed;
  1729. top: 0;
  1730. left: 0;
  1731. width: 100%;
  1732. height: 100%;
  1733. background: rgba(0, 0, 0, 0.5);
  1734. z-index: 9999;
  1735. justify-content: center;
  1736. align-items: center;
  1737. }
  1738. .loading-spinner {
  1739. width: 50px;
  1740. height: 50px;
  1741. border: 5px solid #f3f3f3;
  1742. border-top: 5px solid #3B82F6;
  1743. border-radius: 50%;
  1744. animation: spin 1s linear infinite;
  1745. }
  1746. .gradient-background {
  1747. background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  1748. }
  1749. .bg-image-overlay {
  1750. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
  1751. url('https://d31zlh4on95l9h.cloudfront.net/images/3b28e7abdfc4b495324cc3e6d9210b51.jpg');
  1752. background-size: cover;
  1753. background-position: center;
  1754. background-repeat: no-repeat;
  1755. }
  1756. .gradient-background {
  1757. background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  1758. }
  1759. .footer-bg {
  1760. background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
  1761. url('https://d31zlh4on95l9h.cloudfront.net/images/22576b3fe6f29e642f322d4d315ae426.jpg');
  1762. background-size: cover;
  1763. background-position: center;
  1764. background-repeat: no-repeat;
  1765. }
  1766. .dohidden {
  1767. display: none;
  1768. }
  1769. .page{
  1770. min-height: calc(100vh-160px);
  1771. }
  1772. .arrow-box {
  1773. display: inline-block;
  1774. width: 8px;
  1775. height: 8px;
  1776. border-right: 2px solid #333;
  1777. border-bottom: 2px solid #333;
  1778. transform: rotate(45deg) translateY(-4px);
  1779. margin-left: 6px;
  1780. transition: transform 0.2s ease, border-color 0.2s ease;
  1781. }
  1782. .group:hover .arrow-box {
  1783. border-color: #FFA300;
  1784. transform: rotate(225deg);
  1785. }
  1786. /* 下拉菜单 */
  1787. .home-dropdown {
  1788. position: absolute;
  1789. top: 28px;
  1790. left: 50%;
  1791. transform: translateX(-50%);
  1792. background: #fff;
  1793. min-width: 150px;
  1794. padding: 0px 0;
  1795. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  1796. display: none;
  1797. z-index: 50;
  1798. }
  1799. .group:hover .home-dropdown {
  1800. display: block;
  1801. }
  1802. .group:hover .dropdown-item:first-child {
  1803. border-top: 2px solid #FFA300;
  1804. }
  1805. /* 下拉项 */
  1806. .dropdown-item {
  1807. display: block;
  1808. padding: 14px 20px;
  1809. font-size: 16px; /* 字体变大 */
  1810. font-weight: 400;
  1811. color: #333;
  1812. text-align: center; /* 文本居中 */
  1813. cursor: pointer;
  1814. white-space: nowrap;
  1815. transition: background 0.2s ease, color 0.2s ease;
  1816. }
  1817. .dropdown-item:hover {
  1818. color: #FFA300;
  1819. }
  1820. /* 自定义橙色渐变背景 */
  1821. .custom-orange-button {
  1822. background: linear-gradient(90deg, #FFAC19 0%, #FFA300 100%);
  1823. border: none;
  1824. }
  1825. .custom-orange-button:hover {
  1826. background: linear-gradient(90deg, #FFB433 0%, #FFB020 100%);
  1827. box-shadow: 0 4px 12px rgba(255, 172, 25, 0.3);
  1828. }
  1829. /* 自定义复选框样式 - 使用橙色 */
  1830. .custom-orange-checkbox {
  1831. appearance: none;
  1832. -webkit-appearance: none;
  1833. cursor: pointer;
  1834. position: relative;
  1835. transition: all 0.2s;
  1836. }
  1837. .custom-orange-checkbox:checked {
  1838. background-color: #FFA300;
  1839. border-color: #FFA300 !important;
  1840. }
  1841. .custom-orange-checkbox:checked::after {
  1842. content: '';
  1843. position: absolute;
  1844. left: 50%;
  1845. top: 50%;
  1846. transform: translate(-50%, -50%) rotate(45deg);
  1847. width: 5px;
  1848. height: 10px;
  1849. border: solid white;
  1850. border-width: 0 2px 2px 0;
  1851. }
  1852. /* 输入框和下拉框样式 */
  1853. .form-input {
  1854. border-width: 2px;
  1855. }
  1856. /* 移除所有蓝色边框和聚焦阴影 */
  1857. .form-input:focus {
  1858. outline: none;
  1859. border-color: #FFA300 !important;
  1860. box-shadow: 0 0 0 3px rgba(255, 172, 25, 0.1);
  1861. }
  1862. #page-register,#page-guide {
  1863. background: #FFF9ED;
  1864. }
  1865. </style>
  1866. </body>
  1867. </html>