This commit is contained in:
hzj 2025-09-05 11:34:45 +08:00
commit a0814b1493
7 changed files with 195 additions and 7 deletions

47
public/apply/index.html Normal file
View File

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apply - Likei</title>
<meta name="description" content="Apply page for Likei application">
<script>
// 立即重定向到 Vue 路由
window.location.replace('/#/apply');
</script>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.loading {
text-align: center;
}
.spinner {
border: 3px solid rgba(255, 255, 255, 0.3);
border-top: 3px solid white;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="loading">
<div class="spinner"></div>
<p>Redirecting to Apply page...</p>
</div>
</body>
</html>

View File

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Agency Center - Likei</title>
<meta name="description" content="Agency center for Likei application">
<script>
// 立即重定向到 Vue 路由
window.location.replace('/#/agency-center');
</script>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.loading {
text-align: center;
}
.spinner {
border: 3px solid rgba(255, 255, 255, 0.3);
border-top: 3px solid white;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="loading">
<div class="spinner"></div>
<p>Redirecting to Agency Center...</p>
</div>
</body>
</html>

View File

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coin Seller - Likei</title>
<meta name="description" content="Coin seller page for Likei application">
<script>
// 立即重定向到 Vue 路由
window.location.replace('/#/coin-seller');
</script>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.loading {
text-align: center;
}
.spinner {
border: 3px solid rgba(255, 255, 255, 0.3);
border-top: 3px solid white;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="loading">
<div class="spinner"></div>
<p>Redirecting to Coin Seller...</p>
</div>
</body>
</html>

View File

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Host Center - Likei</title>
<meta name="description" content="Host center for Likei application">
<script>
// 立即重定向到 Vue 路由
window.location.replace('/#/host-center');
</script>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.loading {
text-align: center;
}
.spinner {
border: 3px solid rgba(255, 255, 255, 0.3);
border-top: 3px solid white;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="loading">
<div class="spinner"></div>
<p>Redirecting to Host Center...</p>
</div>
</body>
</html>

View File

@ -58,8 +58,8 @@ export function userBankSearchUserProfile(type, account) {
* @param {string} userId - 用户ID
* @returns {Promise} 返回用户身份权限信息
*/
export function getUserIdentity(userId) {
return get(`/app/h5/${userId}/identity`)
export function getUserIdentity() {
return get(`/app/h5/identity`)
}
/**

View File

@ -196,7 +196,7 @@ class IdentityChecker {
try {
console.debug("🔍 Checking user identity for:", userId);
const response = await getUserIdentity(userId);
const response = await getUserIdentity();
if (response && response.status && response.body) {
const identity = response.body;

View File

@ -60,10 +60,10 @@ const progress = ref(0)
//
const loadingSteps = [
{ text: 'Connecting to server...', subText: 'Establishing secure connection', duration: 800 },
{ text: 'Loading user data...', subText: 'Retrieving your information', duration: 1000 },
{ text: 'Setting up interface...', subText: 'Preparing your workspace', duration: 600 },
{ text: 'Almost ready...', subText: 'Finalizing setup', duration: 400 }
{ text: 'Connecting to server...', subText: 'Establishing secure connection', duration: 200 },
{ text: 'Loading user data...', subText: 'Retrieving your information', duration: 300 },
{ text: 'Setting up interface...', subText: 'Preparing your workspace', duration: 200 },
{ text: 'Almost ready...', subText: 'Finalizing setup', duration: 200 }
]
let currentStepIndex = 0