This commit is contained in:
mmrbnjd
2025-07-24 23:18:11 +03:30
parent 4977be215c
commit d4c4bb2ffd
20 changed files with 2285 additions and 65 deletions

View File

@@ -23,7 +23,7 @@
کاربر گرامی، لطفاً توجه فرمایید که شماره‌همراه واردشده به نام خودتان باشد .
</div>
</div>
<form id="primary_form" class="form" method="post">
<form id="primary_form" class="form">
<div class=" group w-full">
<label class="block mb-2 text-slate-600 font-bold" for="PhoneNumber">
شماره همراه
@@ -91,7 +91,7 @@
</div> *@
<div class=" space-y-5 flex flex-col items-center">
<Button Loading=Loading LoadingText="منتظر بمانید" @onclick=onClick Color="ButtonColor.Success" Type="ButtonType.Submit" Class="btn-primary w-full mb-4 lg:mb-0"> ثبت نام </Button>
<Button Loading=Loading LoadingText="منتظر بمانید" @onclick=onClick Color="ButtonColor.Success" Type="ButtonType.Button" Class="btn-primary w-full mb-4 lg:mb-0"> ثبت نام </Button>
</div>
@@ -120,6 +120,7 @@
}
async Task onClick()
{
//-----------validate
if (string.IsNullOrEmpty(FullName))
{
@@ -167,7 +168,7 @@
parameters.Add("type", VerificationCodeType.PhoneNumberConfirmed);
parameters.Add("sendValue", PhoneNumber);
parameters.Add("ID", ID);
parameters.Add("Title", "ثبت نام با موفقیت انجام شد برای استفاده کاربری را احرار کنید");
parameters.Add("Title", "ثبت نام با موفقیت انجام شد" +'\n'+ "برای تکمیل کد پبامک شده را وارد کنید");
parameters.Add("OnMultipleOfThree", EventCallback.Factory.Create<VerificationCodeType>(this, CallBackVer));
await modal.ShowAsync<Verification>(title: "احراز", parameters: parameters);
}