|
|
@@ -14,44 +14,24 @@
|
|
|
return amount;
|
|
|
}
|
|
|
}
|
|
|
-<style>
|
|
|
- @@keyframes float {
|
|
|
- 0%, 100% { transform: translateY(0); }
|
|
|
- 50% { transform: translateY(-8px); }
|
|
|
- }
|
|
|
- .animate-float {
|
|
|
- animation: float 4s ease-in-out infinite;
|
|
|
- }
|
|
|
- .btn-premium {
|
|
|
- border: 2px solid #ffffff !important;
|
|
|
- box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
|
|
|
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
- }
|
|
|
- .btn-premium:active {
|
|
|
- transform: scale(0.95);
|
|
|
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
|
- }
|
|
|
- .btn-premium-red {
|
|
|
- background: linear-gradient(135deg, #0062FF 0%, #004ecb 100%);
|
|
|
- }
|
|
|
-</style>
|
|
|
-
|
|
|
-<div class="main-container animate__animated animate__fadeIn bg-[#EAEAEA] min-h-screen font-bricolage overflow-x-hidden">
|
|
|
- <!-- Standardized Header (Matches Profile/Rules) -->
|
|
|
- <div class="sticky top-0 w-full bg-[#0062FF] h-[52px] flex items-center justify-between px-4 z-[100] shadow-sm">
|
|
|
- <!-- Back Button -->
|
|
|
- <button onclick="history.back()" class="w-10 h-10 flex items-center justify-center -ml-2 rounded-full active:bg-white/20 transition-colors z-10 text-white">
|
|
|
- <i class="fa-solid fa-arrow-left text-[20px]"></i>
|
|
|
- </button>
|
|
|
- <!-- Title centered -->
|
|
|
- <div class="absolute inset-0 flex items-center justify-center pointer-events-none">
|
|
|
- <span class="font-bold text-[24px] text-white tracking-wide uppercase">@Lang.millions_transfer</span>
|
|
|
- </div>
|
|
|
+
|
|
|
+@section Styles {
|
|
|
+ <link rel="stylesheet" href="/Millions/css/transfer-win-money.css" />
|
|
|
+}
|
|
|
+
|
|
|
+<div class="millions-transfer-page animate__animated animate__fadeIn overflow-x-hidden">
|
|
|
+ <div class="header">
|
|
|
+ <a href="javascript:history.back()" class="back-btn" aria-label="Back">
|
|
|
+ <i class="fa-solid fa-arrow-left"></i>
|
|
|
+ </a>
|
|
|
+ <div class="header-title">@Lang.millions_transfer</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="pt-[20px] px-4 pb-24 max-w-[414px] mx-auto">
|
|
|
+ <div class="content-card">
|
|
|
+ <div class="content-inner">
|
|
|
+ <div class="max-w-[414px] mx-auto w-full">
|
|
|
<!-- Account Card Section (Matching Figma: Frame 69) -->
|
|
|
- <div class="relative w-full bg-[#0062FF] rounded-[12px] overflow-hidden shadow-xl mb-6 pl-8 pr-5 py-2 flex flex-col justify-between" style="border: 4px solid transparent; border-image: linear-gradient(175deg, rgba(255,255,255,0.2) 0%, rgba(255,199,0,0.4) 100%) 1; border-radius: 12px; aspect-ratio: 383/92;">
|
|
|
+ <div class="relative w-full bg-[#0062FF] rounded-[12px] overflow-hidden shadow-xl mb-4 pl-8 pr-5 py-2 flex flex-col justify-between" style="border: 4px solid transparent; border-image: linear-gradient(175deg, rgba(255,255,255,0.2) 0%, rgba(255,199,0,0.4) 100%) 1; border-radius: 12px; aspect-ratio: 383/92;">
|
|
|
<!-- Decorative Elements (positions from Figma: card 383×92) -->
|
|
|
<div class="absolute inset-0 pointer-events-none overflow-hidden rounded-[12px]">
|
|
|
<!-- Golden Ribbon: Figma x:232.58 y:19.11 w:202.23 h:113.29 → right:0, top:20.8%, w:52.8% -->
|
|
|
@@ -80,11 +60,11 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Selection Area (Horizontal Cards) -->
|
|
|
- <div class="mb-6">
|
|
|
- <h2 class="text-[#534A4A] font-[900] text-[18px] mb-3 pl-1">@Lang.millions_choose_account</h2>
|
|
|
+ <div class="mb-4">
|
|
|
+ <h2 class="text-[#534A4A] font-[900] text-[18px] mb-2 pl-1">@Lang.millions_choose_account</h2>
|
|
|
<div class="flex gap-3">
|
|
|
<!-- Basic Account Option -->
|
|
|
- <div id="selectBasic" onclick="selectChannel(1)" class="channel-card flex-1 bg-white h-[76px] rounded-[18px] border-2 border-[#0062FF] shadow-md flex items-center px-3 gap-2 cursor-pointer relative">
|
|
|
+ <div id="selectBasic" onclick="selectChannel(1)" class="channel-card flex-1 bg-white h-[68px] rounded-[18px] border-2 border-[#0062FF] shadow-md flex items-center px-3 gap-2 cursor-pointer relative">
|
|
|
<!-- Selected Icon -->
|
|
|
<div class="check-icon absolute -top-2 -right-1 bg-white rounded-full">
|
|
|
<i class="fa-solid fa-circle-check text-[#00AF1B] text-[20px]"></i>
|
|
|
@@ -93,7 +73,7 @@
|
|
|
<img src="/Millions/img/transfer_basic_icon.png" alt="Basic" class="w-12 h-10 object-contain" />
|
|
|
</div>
|
|
|
<!-- Natcash Card -->
|
|
|
- <div id="selectNatcash" onclick="selectChannel(2)" class="channel-card flex-1 bg-white h-[76px] rounded-[18px] border border-gray-100 shadow-sm flex items-center px-3 gap-2 cursor-pointer relative overflow-visible">
|
|
|
+ <div id="selectNatcash" onclick="selectChannel(2)" class="channel-card flex-1 bg-white h-[68px] rounded-[18px] border border-gray-100 shadow-sm flex items-center px-3 gap-2 cursor-pointer relative overflow-visible">
|
|
|
<!-- Selected Icon (Hidden by default) -->
|
|
|
<div class="check-icon absolute -top-2 -right-1 bg-white rounded-full hidden">
|
|
|
<i class="fa-solid fa-circle-check text-[#00AF1B] text-[20px]"></i>
|
|
|
@@ -102,16 +82,16 @@
|
|
|
<img src="/Millions/img/transfer_other_card.png" alt="Natcash" class="w-full h-full object-contain" />
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Form Fields Area -->
|
|
|
- <div class="flex flex-col gap-2">
|
|
|
+ <div class="flex flex-col gap-1.5">
|
|
|
<!-- Sender Phone -->
|
|
|
- <div class="flex flex-col gap-2">
|
|
|
- <label class="text-[#534A4A] font-[900] text-[16px] px-1 capitalize">@Lang.millions_sender_phone</label>
|
|
|
+ <div class="flex flex-col gap-1.5">
|
|
|
+ <label class="text-[#534A4A] font-[900] text-[15px] px-1 capitalize">@Lang.millions_sender_phone</label>
|
|
|
<div class="relative w-full group">
|
|
|
- <input type="text" readonly value="@(Model?.userStatus?.msisdn ?? "0")" class="w-full bg-gray-100 border border-gray-300 text-[#534A4A] text-[17px] font-[800] rounded-[18px] py-[15px] px-5 outline-none transition-all cursor-not-allowed" />
|
|
|
+ <input type="text" readonly value="@(Model?.userStatus?.msisdn ?? "0")" class="w-full bg-gray-100 border border-gray-300 text-[#534A4A] text-[17px] font-[800] rounded-[18px] py-3 px-5 outline-none transition-all cursor-not-allowed" />
|
|
|
<div class="absolute right-4 top-1/2 -translate-y-1/2 text-gray-400">
|
|
|
<i class="fa-solid fa-lock text-[20px] opacity-40"></i>
|
|
|
</div>
|
|
|
@@ -119,10 +99,10 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Receiver Phone (Mandatory same as sender) -->
|
|
|
- <div class="flex flex-col gap-2">
|
|
|
- <label class="text-[#534A4A] font-[900] text-[16px] px-1 capitalize">@Lang.millions_receiver_phone</label>
|
|
|
+ <div class="flex flex-col gap-1.5">
|
|
|
+ <label class="text-[#534A4A] font-[900] text-[15px] px-1 capitalize">@Lang.millions_receiver_phone</label>
|
|
|
<div class="relative w-full">
|
|
|
- <input id="receiverPhone" type="tel" readonly value="@(Model?.userStatus?.msisdn ?? "0")" class="w-full bg-gray-100 border border-gray-300 text-[#534A4A] text-[17px] font-[800] rounded-[18px] py-[15px] px-5 outline-none transition-all cursor-not-allowed" />
|
|
|
+ <input id="receiverPhone" type="tel" readonly value="@(Model?.userStatus?.msisdn ?? "0")" class="w-full bg-gray-100 border border-gray-300 text-[#534A4A] text-[17px] font-[800] rounded-[18px] py-3 px-5 outline-none transition-all cursor-not-allowed" />
|
|
|
<div class="absolute right-4 top-1/2 -translate-y-1/2 text-gray-400">
|
|
|
<i class="fa-solid fa-lock text-[20px] opacity-40"></i>
|
|
|
</div>
|
|
|
@@ -130,14 +110,14 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Amount -->
|
|
|
- <div class="flex flex-col gap-2">
|
|
|
- <label class="text-[#534A4A] font-[900] text-[16px] px-1 capitalize">@Lang.millions_amount_htg</label>
|
|
|
+ <div class="flex flex-col gap-1.5">
|
|
|
+ <label class="text-[#534A4A] font-[900] text-[15px] px-1 capitalize">@Lang.millions_amount_htg</label>
|
|
|
<div class="relative w-full">
|
|
|
- <input id="transferAmount" type="number" value="5000" placeholder="5,000" class="w-full bg-white border border-gray-300 focus:border-[#0062FF] focus:ring-2 focus:ring-[#0062FF]/10 text-[#0062FF] text-[17px] font-[800] rounded-[18px] py-[15px] px-5 outline-none transition-all placeholder:text-gray-300" />
|
|
|
+ <input id="transferAmount" type="number" value="5000" placeholder="5,000" class="w-full bg-white border border-gray-300 focus:border-[#0062FF] focus:ring-2 focus:ring-[#0062FF]/10 text-[#0062FF] text-[17px] font-[800] rounded-[18px] py-3 px-5 outline-none transition-all placeholder:text-gray-300" />
|
|
|
<span class="absolute right-5 top-1/2 -translate-y-1/2 text-gray-400 font-black">HTG</span>
|
|
|
</div>
|
|
|
<!-- Shortcut Buttons -->
|
|
|
- <div class="flex gap-2 mt-1">
|
|
|
+ <div class="flex gap-2 mt-0.5">
|
|
|
<button onclick="setAmount(10, this)" class="amt-btn flex-1 py-1.5 border border-gray-300 rounded-lg text-[14px] font-black transition-all bg-white text-[#534A4A] flex items-center justify-center gap-1 shadow-sm">
|
|
|
10
|
|
|
<i class="fa-solid fa-circle-check text-[#00AF1B] text-[14px] hidden"></i>
|
|
|
@@ -153,85 +133,133 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- Fee Section (Newly placed on a new line) -->
|
|
|
- <div class="mt-6 flex flex-col gap-1 px-1">
|
|
|
- <span class="text-gray-500 font-bold text-[14px]">@Lang.millions_fee</span>
|
|
|
- <span class="text-black font-black text-[28px] leading-none mt-1">@Lang.millions_free</span>
|
|
|
+ <div class="mt-3 flex flex-col gap-0.5 px-1">
|
|
|
+ <span class="text-gray-500 font-bold text-[13px]">@Lang.millions_fee</span>
|
|
|
+ <span class="text-black font-black text-[24px] leading-none">@Lang.millions_free</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Main Action Button -->
|
|
|
- <div class="mt-6">
|
|
|
- <button id="btnContinue" class="btn-premium btn-premium-red w-full text-white font-[900] text-[18px] py-[18px] rounded-[22px] active:scale-95 transition-all uppercase tracking-wide">
|
|
|
+ <div class="mt-4">
|
|
|
+ <button id="btnContinue" class="btn-premium btn-premium-red w-full text-white font-[900] text-[17px] py-4 rounded-[22px] active:scale-95 transition-all uppercase tracking-wide">
|
|
|
@Lang.millions_continue
|
|
|
</button>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Success Modal Overlay -->
|
|
|
- <div id="successModal" class="fixed inset-0 z-[110] flex items-center justify-center hidden px-6" style="background: rgba(0,0,0,0.7);">
|
|
|
- <div class="w-full max-w-[370px] bg-white rounded-[32px] overflow-hidden flex flex-col items-center animate__animated animate__zoomIn animate__faster shadow-2xl relative">
|
|
|
- <!-- Content Container -->
|
|
|
- <div class="relative z-10 w-full flex flex-col items-center pt-10 pb-8 px-6">
|
|
|
-
|
|
|
- <!-- Success Icon Group -->
|
|
|
- <div class="relative w-full flex justify-center mb-0 mt-2 z-10 px-4">
|
|
|
- <img src="/Millions/img/modal/otp_success.png" alt="Success" class="w-full max-w-[200px] h-auto object-contain">
|
|
|
+ <div id="successModal" class="transfer-success-overlay fixed inset-0 z-[110] flex items-center justify-center hidden px-4">
|
|
|
+ <div class="transfer-success-card animate__animated animate__zoomIn animate__faster relative">
|
|
|
+ <div class="transfer-success-body">
|
|
|
+ <div class="transfer-success-hero">
|
|
|
+ <div class="transfer-success-deco" aria-hidden="true">
|
|
|
+ <span class="d1"></span><span class="d2"></span><span class="d3"></span><span class="d4"></span>
|
|
|
+ <span class="dash dash-1"></span><span class="dash dash-2"></span><span class="dash dash-3"></span>
|
|
|
+ <i class="fa-solid fa-star spark spark-1"></i>
|
|
|
+ <i class="fa-solid fa-star spark spark-2"></i>
|
|
|
+ </div>
|
|
|
+ <div class="transfer-success-ring">
|
|
|
+ <i class="fa-solid fa-check" aria-hidden="true"></i>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
- <h2 class="text-[#0A9800] font-[800] text-[32px] mb-1 tracking-tight">@Lang.success</h2>
|
|
|
- <p class="text-[#000000] font-[700] text-[20px] text-center px-4 mb-6 leading-tight">
|
|
|
- @Lang.millions_payment_successfully
|
|
|
- </p>
|
|
|
+ <h2 class="transfer-success-title">@Lang.success</h2>
|
|
|
+ <p class="transfer-success-sub">@Lang.millions_payment_successfully</p>
|
|
|
|
|
|
- <div class="w-full border-t border-dashed border-gray-200 pt-5 flex flex-col gap-3 mb-5">
|
|
|
- <!-- Info Rows -->
|
|
|
- <div class="flex justify-between items-center text-[15px]">
|
|
|
- <span class="text-[#534A4A] font-bold">@Lang.amount_transfered</span>
|
|
|
- <span id="successAmount" class="text-black font-black text-right">5.000 HTG</span>
|
|
|
+ <div class="transfer-success-panel">
|
|
|
+ <div class="transfer-success-row">
|
|
|
+ <div class="transfer-success-row-icon"><i class="fa-solid fa-credit-card" aria-hidden="true"></i></div>
|
|
|
+ <span class="transfer-success-row-label">@Lang.amount_transfered</span>
|
|
|
+ <span id="successAmount" class="transfer-success-row-value transfer-success-row-value--accent">5.000 HTG</span>
|
|
|
</div>
|
|
|
- <div class="flex justify-between items-center text-[15px]">
|
|
|
- <span class="text-[#534A4A] font-bold">@Lang.sender</span>
|
|
|
- <span id="successSender" class="text-black font-black text-right">50940236545</span>
|
|
|
+ <div class="transfer-success-row">
|
|
|
+ <div class="transfer-success-row-icon"><i class="fa-solid fa-user" aria-hidden="true"></i></div>
|
|
|
+ <span class="transfer-success-row-label">@Lang.sender</span>
|
|
|
+ <span id="successSender" class="transfer-success-row-value">50940236545</span>
|
|
|
</div>
|
|
|
- <div class="flex justify-between items-center text-[15px]">
|
|
|
- <span class="text-[#534A4A] font-bold">@Lang.receiver</span>
|
|
|
- <span id="successReceiver" class="text-black font-black text-right">50940236545</span>
|
|
|
+ <div class="transfer-success-row">
|
|
|
+ <div class="transfer-success-row-icon"><i class="fa-solid fa-user" aria-hidden="true"></i></div>
|
|
|
+ <span class="transfer-success-row-label">@Lang.receiver</span>
|
|
|
+ <span id="successReceiver" class="transfer-success-row-value">50940236545</span>
|
|
|
</div>
|
|
|
- <div class="flex justify-between items-center text-[15px]">
|
|
|
- <span class="text-[#534A4A] font-bold">@Lang.fee</span>
|
|
|
- <span class="text-black font-black text-right">0 HTG</span>
|
|
|
+ <div class="transfer-success-row">
|
|
|
+ <div class="transfer-success-row-icon"><i class="fa-solid fa-tag" aria-hidden="true"></i></div>
|
|
|
+ <span class="transfer-success-row-label">@Lang.fee</span>
|
|
|
+ <span class="transfer-success-row-value">0 HTG</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="w-full border-t border-dashed border-gray-200 pt-4 flex justify-between items-center mb-8">
|
|
|
- <span class="text-[#534A4A] font-bold text-[15px]">@Lang.time</span>
|
|
|
- <span id="successTime" class="text-[#534A4A] font-medium text-[14px] text-right">08/01/2022 - 10:00:20</span>
|
|
|
+ <div class="transfer-success-time">
|
|
|
+ <div class="transfer-success-row-icon"><i class="fa-regular fa-clock" aria-hidden="true"></i></div>
|
|
|
+ <span class="transfer-success-time-label">@Lang.time</span>
|
|
|
+ <span id="successTime" class="transfer-success-time-value">08/01/2022 - 10:00:20</span>
|
|
|
</div>
|
|
|
|
|
|
- <button onclick="window.location.href='/Millions/Home/GameHome'" class="btn-premium btn-premium-red w-full text-white font-[800] text-[20px] py-[14px] rounded-[18px] active:scale-95 transition-all">
|
|
|
- @Lang.back_to_homepage
|
|
|
+ <div class="transfer-success-illustration" aria-hidden="true">
|
|
|
+ <svg viewBox="0 0 140 88" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
+ <path d="M6 44h18M6 52h12" stroke="#0062FF" stroke-width="2.2" stroke-linecap="round"/>
|
|
|
+ <path d="M24 36c2-8 10-10 18-8l52 12c8 2 12 8 10 16l-6 14c-2 6-8 8-16 6L32 66c-8-2-12-10-8-30z" stroke="#0062FF" stroke-width="2.2" fill="none" stroke-linejoin="round"/>
|
|
|
+ <rect x="38" y="40" width="40" height="24" rx="4" transform="rotate(-10 58 52)" stroke="#0062FF" stroke-width="2" fill="#fff"/>
|
|
|
+ <text x="54" y="58" transform="rotate(-10 58 52)" fill="#0062FF" font-size="17" font-weight="800" font-family="system-ui,Segoe UI,sans-serif">$</text>
|
|
|
+ <circle cx="108" cy="60" r="17" fill="#0062FF"/>
|
|
|
+ <path d="M102 60l5 5 11-12" stroke="#fff" stroke-width="2.8" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
|
|
|
+ </svg>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="transfer-success-actions">
|
|
|
+ <button type="button" class="transfer-success-btn-continue" onclick="window.location.href = (typeof subDomain !== 'undefined' ? subDomain : '') + '@Url.Action("TransferWinMoney", "Home", new { area = "Millions" })';">
|
|
|
+ @Lang.millions_continue
|
|
|
+ </button>
|
|
|
+ <button type="button" class="transfer-success-btn-close" onclick="window.location.href = (typeof subDomain !== 'undefined' ? subDomain : '') + '@Url.Action("GameHome", "Home", new { area = "Millions" })';">
|
|
|
+ @Lang.close
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- Failure Modal Overlay -->
|
|
|
- <div id="failureModal" class="fixed inset-0 z-[110] flex items-center justify-center hidden px-6" style="background: rgba(0,0,0,0.5);">
|
|
|
- <div class="w-full max-w-[343px] min-h-[420px] bg-white rounded-[20px] overflow-hidden flex flex-col items-center p-8 animate__animated animate__zoomIn animate__faster shadow-2xl">
|
|
|
- <div class="w-full flex flex-col items-center mb-6 mt-4">
|
|
|
- <div class="relative w-full flex items-center justify-center">
|
|
|
- <img src="/Millions/img/modal/fail_icon.png" class="w-[160px] h-auto object-contain" />
|
|
|
+ <div id="failureModal" class="transfer-success-overlay fixed inset-0 z-[110] flex items-center justify-center hidden px-4">
|
|
|
+ <div class="transfer-fail-card animate__animated animate__zoomIn animate__faster relative w-full max-w-[370px]">
|
|
|
+ <div class="transfer-fail-header">
|
|
|
+ <div class="transfer-fail-header-deco" aria-hidden="true"></div>
|
|
|
+ <div class="transfer-fail-icon-wrap">
|
|
|
+ <div class="transfer-fail-icon-circle">
|
|
|
+ <i class="fa-solid fa-xmark" aria-hidden="true"></i>
|
|
|
+ </div>
|
|
|
+ <div class="transfer-fail-icon-warn">
|
|
|
+ <i class="fa-solid fa-triangle-exclamation" aria-hidden="true"></i>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="px-2 text-center mb-12 mt-2">
|
|
|
- <p id="failErrorMessage" class="text-black font-[700] text-[20px] leading-tight">
|
|
|
- @Lang.millions_enter_valid_amount
|
|
|
- </p>
|
|
|
+ <div class="transfer-fail-body">
|
|
|
+ <h2 class="transfer-fail-title">@Lang.fail_exclamation</h2>
|
|
|
+ <p id="failErrorMessage" class="transfer-fail-msg">@Lang.millions_enter_valid_amount</p>
|
|
|
+ <div class="transfer-fail-divider" aria-hidden="true"><span></span></div>
|
|
|
+ <div class="transfer-fail-illustration" aria-hidden="true">
|
|
|
+ <svg viewBox="0 0 140 88" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
+ <path d="M18 52h22M18 60h14" stroke="#0062FF" stroke-width="2" stroke-linecap="round"/>
|
|
|
+ <path d="M36 42c2-7 9-9 16-7l46 10c7 2 11 7 9 14l-5 12c-2 5-7 7-14 5L40 64c-7-2-11-8-8-26z" stroke="#0062FF" stroke-width="2" fill="none" stroke-linejoin="round"/>
|
|
|
+ <path d="M78 38c8-6 18-8 26-4" stroke="#0062FF" stroke-width="2" stroke-linecap="round"/>
|
|
|
+ <circle cx="96" cy="28" r="14" stroke="#0062FF" stroke-width="2" fill="#fff"/>
|
|
|
+ <path d="M92 28h8M96 24v8" stroke="#0062FF" stroke-width="1.8" stroke-linecap="round"/>
|
|
|
+ <path d="M88 22l4-6 3 5M104 20l6-2-2 6" stroke="#0062FF" stroke-width="1.5" stroke-linecap="round" opacity="0.7"/>
|
|
|
+ </svg>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="failureModalStandardActions" class="transfer-success-actions">
|
|
|
+ <button type="button" class="transfer-success-btn-continue" onclick="window.location.href = (typeof subDomain !== 'undefined' ? subDomain : '') + '@Url.Action("TransferWinMoney", "Home", new { area = "Millions" })';">
|
|
|
+ @Lang.millions_continue
|
|
|
+ </button>
|
|
|
+ <button type="button" class="transfer-success-btn-close" onclick="window.location.href = (typeof subDomain !== 'undefined' ? subDomain : '') + '@Url.Action("GameHome", "Home", new { area = "Millions" })';">
|
|
|
+ @Lang.close
|
|
|
+ </button>
|
|
|
</div>
|
|
|
- <div class="w-full mt-auto">
|
|
|
- <button onclick="closeFailureModal()" class="btn-premium btn-premium-red w-full text-white font-[800] text-[20px] py-[10px] rounded-[14px] active:scale-95 transition-all">
|
|
|
- @Lang.try_again
|
|
|
+ <div id="failureModalUpgradeActions" class="transfer-success-actions is-hidden">
|
|
|
+ <button type="button" class="transfer-success-btn-close" onclick="window.location.href = (typeof subDomain !== 'undefined' ? subDomain : '') + '/Account/Login';">
|
|
|
+ @Lang.login
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -257,7 +285,7 @@
|
|
|
|
|
|
<!-- Shield Icon -->
|
|
|
<div class="flex flex-col items-center gap-1 mb-2">
|
|
|
- <img src="/Millions/img/modal/otp_shield.png" class="w-[90px] h-auto object-contain drop-shadow-md" />
|
|
|
+ <img src="/Millions/img/modal/transfer_coins_exchange.png" class="w-[168px] max-w-[85vw] h-auto object-contain drop-shadow-md" alt="" />
|
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.millions_convert</span>
|
|
|
</div>
|
|
|
|
|
|
@@ -566,26 +594,17 @@
|
|
|
});
|
|
|
});
|
|
|
|
|
|
- var systemUpgrading = false;
|
|
|
function showFailureModal(message, code) {
|
|
|
$("#failErrorMessage").html(message);
|
|
|
- const $btn = $("#failureModal button");
|
|
|
if (code === "-2" || (message && message.includes("System is upgrading"))) {
|
|
|
- systemUpgrading = true;
|
|
|
- $btn.text("@Lang.login");
|
|
|
+ $("#failureModalStandardActions").addClass("is-hidden");
|
|
|
+ $("#failureModalUpgradeActions").removeClass("is-hidden");
|
|
|
} else {
|
|
|
- systemUpgrading = false;
|
|
|
- $btn.text("@Lang.try_again");
|
|
|
+ $("#failureModalStandardActions").removeClass("is-hidden");
|
|
|
+ $("#failureModalUpgradeActions").addClass("is-hidden");
|
|
|
}
|
|
|
$("#failureModal").removeClass("hidden").addClass("flex");
|
|
|
}
|
|
|
-
|
|
|
- function closeFailureModal() {
|
|
|
- $("#failureModal").addClass("hidden").removeClass("flex");
|
|
|
- if (systemUpgrading) {
|
|
|
- window.location.href = subDomain + "/Account/Login";
|
|
|
- }
|
|
|
- }
|
|
|
</script>
|
|
|
}
|
|
|
|