Browse Source

修改跳转

milestone-20260409-港股市场落地页
zhaoruhui 18 hours ago
parent
commit
bba9e41bec
  1. 2
      hcdbqb-guide.html
  2. 351
      hkLogiManagement.html
  3. 10
      hkRegisterSuccess.html
  4. 4
      hkRegisterTip.html
  5. 2
      hkfeedback.html
  6. 14
      hkhcdbqb.html
  7. 10
      hkhcdbqbGuide.html
  8. 0
      hkhcdbqbManagement.html
  9. 2
      vite.config.js

2
hcdbqb-guide.html

@ -2030,7 +2030,7 @@
<ul class="space-y-3">
<li>
<a
href="hcdbqb-guide.html"
href="./hcdbqb-guide.html"
class="text-gray-400 hover:text-white transition-colors"
>帮助中心</a
>

351
hkLogiManagement.html

@ -0,0 +1,351 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>系统登录</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
body {
background: linear-gradient(135deg, #ACC9FC 0%, #ACC9FC 100%);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.login-container {
background-color: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 420px;
padding: 40px 30px;
transition: transform 0.3s ease;
}
.login-container:hover {
transform: translateY(-5px);
}
.login-header {
text-align: center;
margin-bottom: 30px;
}
.login-header h1 {
color: #333;
font-size: 28px;
margin-bottom: 8px;
}
.login-header p {
color: #666;
font-size: 16px;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
color: #555;
font-weight: 500;
}
input {
width: 100%;
padding: 14px 16px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 16px;
transition: all 0.3s;
}
input:focus {
border-color: #4a90e2;
box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
outline: none;
}
.error-message {
color: #e74c3c;
font-size: 14px;
margin-top: 5px;
display: none;
}
.login-button {
background: linear-gradient(to right, #6a11cb, #2575fc);
color: white;
border: none;
border-radius: 8px;
padding: 14px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
width: 100%;
transition: all 0.3s;
margin-top: 10px;
}
.login-button:hover {
background: linear-gradient(to right, #5a0db5, #1c68e8);
box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}
.login-button:active {
transform: scale(0.98);
}
.login-footer {
text-align: center;
margin-top: 25px;
color: #777;
font-size: 14px;
}
.alert {
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 20px;
display: none;
}
.alert-error {
background-color: #ffebee;
color: #c62828;
border: 1px solid #ffcdd2;
}
.alert-success {
background-color: #e8f5e9;
color: #2e7d32;
border: 1px solid #c8e6c9;
}
.password-requirements {
font-size: 12px;
color: #777;
margin-top: 5px;
}
.input-error {
border-color: #e74c3c;
box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}
</style>
</head>
<body>
<div class="login-container">
<div class="login-header">
<h1>系统登录</h1>
<p>请输入您的账号和密码</p>
</div>
<div id="usernameAlert" class="alert alert-error">
账号不存在,请检查后重试!
</div>
<div id="passwordAlert" class="alert alert-error">
密码错误,请检查后重试!
</div>
<form id="loginForm">
<div class="form-group">
<label for="username">账号</label>
<input type="text" id="username" name="username" placeholder="请输入账号" required>
<div class="error-message" id="usernameError">账号不能为空</div>
</div>
<div class="form-group">
<label for="password">密码</label>
<input type="password" id="password" name="password" placeholder="请输入密码" required>
<div class="error-message" id="passwordError">密码不能为空</div>
<div class="password-requirements">密码必须为8位数字</div>
</div>
<button type="submit" class="login-button">登录</button>
</form>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const loginForm = document.getElementById('loginForm');
const usernameInput = document.getElementById('username');
const passwordInput = document.getElementById('password');
const usernameError = document.getElementById('usernameError');
const passwordError = document.getElementById('passwordError');
const usernameAlert = document.getElementById('usernameAlert');
const passwordAlert = document.getElementById('passwordAlert');
// 正确的账号和密码
const CORRECT_USERNAME = 'admin';
const CORRECT_PASSWORD = '20260408';
// 表单提交事件
loginForm.addEventListener('submit', function (e) {
e.preventDefault();
// 重置错误状态
resetErrors();
// 获取表单数据
const username = usernameInput.value.trim();
const password = passwordInput.value.trim();
// 表单验证
let isValid = true;
if (!username) {
showError(usernameError, '账号不能为空');
usernameInput.classList.add('input-error');
isValid = false;
}
if (!password) {
showError(passwordError, '密码不能为空');
passwordInput.classList.add('input-error');
isValid = false;
} else if (!/^\d{8}$/.test(password)) {
showError(passwordError, '密码必须为8位数字');
passwordInput.classList.add('input-error');
isValid = false;
}
// 如果验证通过,尝试登录
if (isValid) {
// 验证账号密码
if (username === CORRECT_USERNAME && password === CORRECT_PASSWORD) {
// 登录成功,保存登录状态
localStorage.setItem('isLoggedIn', 'true');
localStorage.setItem('loginTime', new Date().getTime());
// 显示成功消息(短暂显示后跳转)
showSuccessMessage();
// 延迟跳转,让用户看到成功消息
setTimeout(function () {
window.location.href = 'hkhcdbqbManagement.html';
}, 1000);
} else {
// 登录失败,明确提示是账号还是密码错误
if (username !== CORRECT_USERNAME) {
usernameAlert.style.display = 'block';
usernameInput.classList.add('input-error');
usernameInput.focus();
} else {
passwordAlert.style.display = 'block';
passwordInput.classList.add('input-error');
passwordInput.value = '';
passwordInput.focus();
}
}
}
});
// 实时验证
usernameInput.addEventListener('blur', function () {
if (!this.value.trim()) {
showError(usernameError, '账号不能为空');
this.classList.add('input-error');
} else {
hideError(usernameError);
this.classList.remove('input-error');
}
});
passwordInput.addEventListener('blur', function () {
const password = this.value.trim();
if (!password) {
showError(passwordError, '密码不能为空');
this.classList.add('input-error');
} else if (!/^\d{8}$/.test(password)) {
showError(passwordError, '密码必须为8位数字');
this.classList.add('input-error');
} else {
hideError(passwordError);
this.classList.remove('input-error');
}
});
// 输入时隐藏错误提示
usernameInput.addEventListener('input', function () {
hideError(usernameError);
hideAlert(usernameAlert);
this.classList.remove('input-error');
});
passwordInput.addEventListener('input', function () {
hideError(passwordError);
hideAlert(passwordAlert);
this.classList.remove('input-error');
});
// 辅助函数
function showError(element, message) {
element.textContent = message;
element.style.display = 'block';
}
function hideError(element) {
element.style.display = 'none';
}
function hideAlert(alertElement) {
alertElement.style.display = 'none';
}
function resetErrors() {
hideError(usernameError);
hideError(passwordError);
hideAlert(usernameAlert);
hideAlert(passwordAlert);
usernameInput.classList.remove('input-error');
passwordInput.classList.remove('input-error');
}
function showSuccessMessage() {
// 临时创建一个成功提示
const successAlert = document.createElement('div');
successAlert.className = 'alert alert-success';
successAlert.textContent = '登录成功,正在跳转...';
usernameAlert.parentNode.insertBefore(successAlert, usernameAlert);
successAlert.style.display = 'block';
// 移除错误提示(如果有)
hideAlert(usernameAlert);
hideAlert(passwordAlert);
}
// 检查是否已经登录(如果已经登录,直接跳转)
if (localStorage.getItem('isLoggedIn') === 'true') {
// 检查登录时间,如果超过24小时需要重新登录
const loginTime = parseInt(localStorage.getItem('loginTime'));
const currentTime = new Date().getTime();
const hoursDiff = (currentTime - loginTime) / (1000 * 60 * 60);
if (hoursDiff < 24) {
window.location.href = 'hcdbqb-management.html';
} else {
// 超过24小时,清除登录状态
localStorage.removeItem('isLoggedIn');
localStorage.removeItem('loginTime');
}
}
});
</script>
</body>
</html>

10
hkRegisterSuccess.html

@ -112,8 +112,8 @@
<!-- 桌面导航 -->
<nav class="hidden md:flex items-center space-x-8">
<a href="hcdbqb.asp" class="hover:text-primary transition-colors">首页</a>
<a href="hcdbqb-download.asp" class="hover:text-primary transition-colors">下载中心</a>
<a href="./hkhcdbqb.html" class="hover:text-primary transition-colors">首页</a>
<a href="./hkhcdbqbDownload.html" class="hover:text-primary transition-colors">下载中心</a>
<a href="./hkhcdbqbGuide.html" class="text-primary font-medium">操作指南</a>
<a href="https://wa.me/+6588792879?text=我要体验夺宝奇兵" target="_blank"
class="px-5 py-2 rounded-full bg-gradient-to-r from-primary to-secondary text-white hover:shadow-lg transition-all">联系我们</a>
@ -128,8 +128,8 @@
<!-- 移动端菜单内容 -->
<div id="mobileMenu" class="md:hidden hidden bg-white border-t">
<div class="container mx-auto px-4 py-3 flex flex-col space-y-3">
<a href="hcdbqb.asp" class="py-2 hover:text-primary transition-colors">首页</a>
<a href="hcdbqb-download.asp" class="py-2 hover:text-primary transition-colors">下载中心</a>
<a href="./hkhcdbqb.html" class="py-2 hover:text-primary transition-colors">首页</a>
<a href="./hkhcdbqbDownload.html" class="py-2 hover:text-primary transition-colors">下载中心</a>
<a href="./hkhcdbqbGuide.html" class="py-2 text-primary">操作指南</a>
<a href="https://wa.me/+6588792879?text=我要体验夺宝奇兵" target="_blank"
class="py-2 mt-2 rounded-full bg-gradient-to-r from-primary to-secondary text-white text-center">联系我们</a>
@ -156,7 +156,7 @@
<!-- 成功图片 -->
<div class="mb-8 rounded-xl overflow-hidden shadow-md delay-300 fade-in">
<a href="hcdbqb-download.asp#downloading"><img src="250121/img/homilylink-down.jpeg"
<a href="./hkhcdbqbDownload.html"><img src="https://hc.homilychart.com/hc/250121/img/homilylink-down.jpeg"
alt="点我跳转多平台设备软件安装" class="w-full h-auto rounded-xl shadow-lg"></a>
</div>

4
hkRegisterTip.html

@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HomilyChart-弘历软件</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="pragma" content="no-cache">
@ -88,7 +90,7 @@
}
window.onload = function () {
// 设置倒计时时间(以毫秒为单位)
var countdownTime = 5000; // 10
var countdownTime = 5000; // 5
// 显示倒计时
var countdownElement = document.getElementById('countdown');

2
hkfeedback.html

@ -188,7 +188,7 @@
<!-- 页面标题 -->
<div class="text-center mb-12 fade-in">
<h1 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold mb-4">意见反馈</h1>
<p class="text-gray-600 max-w-2xl mx-auto">感谢您对John Lu谈股团队的支持!<br>请留下您的宝贵意见和建议我们将不断的提升服务质量!</p>
<p class="text-gray-600 max-w-2xl mx-auto">感谢您对Adam说港股团队的支持!<br>请留下您的宝贵意见和建议,我们将不断的提升服务质量!</p>
</div>
<!-- 反馈表单卡片 -->

14
hkhcdbqb.html

@ -114,7 +114,7 @@
<!-- 桌面导航 -->
<nav class="hidden md:flex items-center space-x-8">
<a href="#features" class="font-medium hover:text-primary transition-colors">特色功能</a>
<a href="#kc" class="font-medium hover:text-primary transition-colors">最新课程</a>
<!-- <a href="#kc" class="font-medium hover:text-primary transition-colors">最新课程</a> -->
<a href="./hkfeedback.html" class="font-medium hover:text-primary transition-colors">意见反馈</a>
<a href="./hkhcdbqbGuide.html" class="font-medium hover:text-primary transition-colors">操作指南</a>
<a href="https://api.whatsapp.com/send?phone=6588792879&text=夺宝奇兵指南我需要帮助" target="_blank"
@ -131,7 +131,7 @@
<div id="mobileMenu" class="md:hidden hidden bg-white border-t animate-fade-in">
<div class="container mx-auto px-4 py-3 flex flex-col space-y-4">
<a href="#features" class="font-medium py-2 hover:text-primary transition-colors">特色功能</a>
<a href="#kc" class="font-medium py-2 hover:text-primary transition-colors">最新课程</a>
<!-- <a href="#kc" class="font-medium py-2 hover:text-primary transition-colors">最新课程</a> -->
<a href="./hkfeedback.html" class="font-medium py-2 hover:text-primary transition-colors">意见反馈</a>
<a href="./hkhcdbqbGuide.html" class="font-medium py-2 hover:text-primary transition-colors">操作指南</a>
<a href="https://api.whatsapp.com/send?phone=6588792879&text=夺宝奇兵指南我需要帮助" target="_blank"
@ -329,7 +329,7 @@
</div>
<!-- 宣传项 3 -->
<div id="kc"
<!-- <div id="kc"
class="bg-white rounded-3xl shadow-xl overflow-hidden flex flex-col md:flex-row animate-fade-in delay-200">
<div class="md:w-1/2">
<img src="https://hc.homilychart.com/hc/250121/img/kecheng.jpg" alt="John Lu谈股专题讲座" class="w-full h-full object-cover">
@ -360,7 +360,7 @@
注册了解更多 <i class="fa fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</div> -->
</div>
</section>
@ -370,9 +370,9 @@
<div class="bg-gradient-to-br from-dark to-gray-800 rounded-3xl shadow-2xl overflow-hidden">
<div class="grid grid-cols-1 md:grid-cols-2">
<div class="p-8 md:p-12 text-white flex flex-col justify-center">
<h2 class="text-2xl md:text-3xl font-bold mb-4">立即注册,开启智能体验之旅</h2>
<h2 class="text-2xl md:text-3xl font-bold mb-4">立即注册,开启属于你的AI时代</h2>
<p class="text-gray-300 mb-8">
填写报名表,我们会尽快为您开启智能体验之旅!
<!-- 填写报名表,我们会尽快为您开启智能体验之旅! -->
</p>
<div class="space-y-6">
<div class="flex items-start">
@ -602,7 +602,7 @@
<div>
<h4 class="text-lg font-semibold mb-6">支持</h4>
<ul class="space-y-3">
<li><a href="hcdbqb-guide.asp" class="text-gray-400 hover:text-white transition-colors">帮助中心</a>
<li><a href="./hkhcdbqbGuide.html" class="text-gray-400 hover:text-white transition-colors">帮助中心</a>
</li>
<li><a href="https://api.whatsapp.com/send?phone=6588792879&text=我有问题" target="_blank"
class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>

10
hkhcdbqbGuide.html

@ -227,7 +227,7 @@
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<a href="#" class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-lg gradient-bg flex items-center justify-center">
<img alt="夺宝奇兵" src="250121/img/20230711171637.png" style="width: 40px;height: 40px;">
<img alt="夺宝奇兵" src="https://hc.homilychart.com/hc/250121/img/20230711171637.png" style="width: 40px;height: 40px;">
</div>
<span
class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent">夺宝奇兵-操作指南</span>
@ -297,7 +297,7 @@
<h3 class="text-xl md:text-2xl font-semibold mb-4">HomilyLink操作指南 &nbsp;|&nbsp;课程直播以及重播指南</h3>
<div class="video-container">
<!-- 兼容性视频播放器 -->
<video id="guideVideo" controls poster="250121/img/106-1200x675.jpg" controlsList="nodownload"
<video id="guideVideo" controls poster="https://d31zlh4on95l9h.cloudfront.net/images/7da138ae80e260196f892a1fd813c66d.jpg" controlsList="nodownload"
class="w-full"></video>
</div>
<div class="mt-6 flex flex-wrap items-center justify-between gap-4">
@ -308,7 +308,7 @@
<div class="flex space-x-3">
<button
class="flex items-center space-x-1 px-4 py-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors">
<img alt="夺宝奇兵" src="250121/img/20230711171637.png" style="width: 30px;height: 30px;">
<img alt="夺宝奇兵" src="https://hc.homilychart.com/hc/250121/img/20230711171637.png" style="width: 30px;height: 30px;">
<span><a href="https://api.whatsapp.com/send?phone=6588792879&text=进HomilyLink听课需要帮助"
target="_blank" class="text-gray-400 transition-colors"
style="color: black">点击寻求帮助</a></span>
@ -418,7 +418,7 @@
<div>
<div class="flex items-center space-x-2 mb-6">
<div class="w-10 h-10 rounded-lg gradient-bg flex items-center justify-center">
<img alt="夺宝奇兵" src="250121/img/20230711171637.png" style="width: 40px;height: 40px;">
<img alt="夺宝奇兵" src="https://hc.homilychart.com/hc/250121/img/20230711171637.png" style="width: 40px;height: 40px;">
</div>
<span class="text-xl font-bold">夺宝奇兵</span>
</div>
@ -477,7 +477,7 @@
<div>
<h4 class="text-lg font-semibold mb-6">支持</h4>
<ul class="space-y-3">
<li><a href="hcdbqb-guide.asp" class="text-gray-400 hover:text-white transition-colors">帮助中心</a>
<li><a href="./hkhcdbqbGuide.html" class="text-gray-400 hover:text-white transition-colors">帮助中心</a>
</li>
<li><a href="https://api.whatsapp.com/send?phone=6588792879&text=我有问题" target="_blank"
class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>

0
hkhcdbqbManagement.html

2
vite.config.js

@ -43,6 +43,8 @@ export default defineConfig(({ mode, command }) => {
hkhcdbqbDownload: './hkhcdbqbDownload.html',//港股市场软件下载
hkhcdbqb: './hkhcdbqb.html',//港股市场首页
hkfeedback: './hkfeedback.html',//港股市场意见反馈
hkhcdbqbManagement: './hkhcdbqbManagement.html',//港股市场管理后台
hkLogiManagement: './hkLogiManagement.html',//港股市场管理后台
},
output: {
entryFileNames: '[name].js', // 入口文件命名

Loading…
Cancel
Save