PaddleX/3.2/en/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v4 #5001
Replies: 1 comment
-
|
<title>STEP BANK</title> <style> body{ font-family:Arial; background:#eef2ff; margin:0; } header{ background:#1e3aff; color:white; padding:15px; text-align:center; font-size:28px; font-weight:bold; } .container{ max-width:400px; margin:30px auto; background:white; padding:20px; border-radius:12px; box-shadow:0 0 15px rgba(0,0,0,0.1); } input,button{ width:100%; padding:12px; margin:6px 0; border-radius:8px; border:1px solid #ccc; } button{ background:#1e3aff; color:white; border:none; font-weight:bold; } .balance{ font-size:32px; text-align:center; margin:20px 0; color:#1e3aff; } .hidden{display:none;} .history{ background:#f5f7ff; padding:10px; border-radius:10px; max-height:150px; overflow:auto; } </style> STEP BANK
Вход в студенческий банк
Войти Личный кабинет 0 сом Отправить Заказать карту Выйти <script> const loginBlock = document.getElementById("login"); const cabinetBlock = document.getElementById("cabinet"); const balanceText = document.getElementById("balance"); const historyText = document.getElementById("history"); let user={ login:"student", password:"1234", balance:1000, history:["Начислено 1000 сом (старт студенту)"], card:false }; function login(){ let u=document.getElementById("loginUser").value; let p=document.getElementById("loginPass").value; if(u!==user.login || p!==user.password){ alert("Неверный логин или пароль"); return; } loginBlock.classList.add("hidden"); cabinetBlock.classList.remove("hidden"); updateCabinet(); } function updateCabinet(){ balanceText.innerText=user.balance+" сом"; historyText.innerHTML=user.history.join(" "); } function transfer(){ let to=document.getElementById("toUser").value; let sum=parseInt(document.getElementById("amount").value); if(!to || sum<=0 || sum>user.balance){ alert("Ошибка перевода"); return; } user.balance-=sum; user.history.push("Перевод "+sum+" сом -> "+to); updateCabinet(); } function getCard(){ if(user.card){ alert("Карта уже заказана"); return; } user.card=true; user.history.push("Заказана студенческая карта STEP"); updateCabinet(); alert("Карта будет готова через 5 дней 😄"); } function logout(){ location.reload(); } </script> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PaddleX/3.2/en/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v4
https://paddlepaddle.github.io/PaddleX/3.2/en/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v4.html
Beta Was this translation helpful? Give feedback.
All reactions