u
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="3">
|
||||
<MudIcon Icon="@Icons.Material.Filled.ShoppingCart" Size="Size.Large" Color="Color.Primary" />
|
||||
<div>
|
||||
<MudText Typo="Typo.h4" Class="fw-600">تکمیل خرید</MudText>
|
||||
<MudText Typo="Typo.h4" >تکمیل خرید</MudText>
|
||||
<MudText Typo="Typo.body2" Class="mud-text-secondary">مرحله نهایی خرید پکیج</MudText>
|
||||
</div>
|
||||
</MudStack>
|
||||
@@ -24,7 +24,7 @@
|
||||
<MudStack>
|
||||
<!-- Package Details -->
|
||||
<MudPaper Elevation="4" Class="pa-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4 fw-600">جزئیات پکیج</MudText>
|
||||
<MudText Typo="Typo.h5" Class="mb-4">جزئیات پکیج</MudText>
|
||||
|
||||
@if (_selectedPackage != null)
|
||||
{
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
<!-- Address Selection -->
|
||||
<MudPaper Elevation="4" Class="pa-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4 fw-600">انتخاب آدرس</MudText>
|
||||
<MudText Typo="Typo.h5" Class="mb-4">انتخاب آدرس</MudText>
|
||||
|
||||
@if (_isLoadingAddresses)
|
||||
{
|
||||
@@ -90,7 +90,7 @@
|
||||
<MudStack Spacing="1">
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2">
|
||||
<MudRadio T="long" Value="address.Id" Checked="@(_selectedAddress?.Id == address.Id)" />
|
||||
<MudText Typo="Typo.subtitle2" Class="fw-600">@address.Title</MudText>
|
||||
<MudText Typo="Typo.subtitle2" >@address.Title</MudText>
|
||||
@if (address.IsDefault)
|
||||
{
|
||||
<MudChip T="string" Color="Color.Success" Variant="Variant.Filled" Size="Size.Small">پیشفرض</MudChip>
|
||||
@@ -129,7 +129,7 @@
|
||||
<MudStack Spacing="4">
|
||||
<!-- Discount Code Section -->
|
||||
<MudPaper Elevation="4" Class="pa-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4 fw-600">کد تخفیف</MudText>
|
||||
<MudText Typo="Typo.h5" Class="mb-4">کد تخفیف</MudText>
|
||||
<MudStack Spacing="3">
|
||||
<MudStack Row="true" Spacing="2" AlignItems="AlignItems.Stretch">
|
||||
<MudTextField @bind-Value="_discountCode"
|
||||
@@ -157,7 +157,7 @@
|
||||
@if (_selectedPackage != null)
|
||||
{
|
||||
<MudPaper Elevation="4" Class="pa-6">
|
||||
<MudText Typo="Typo.h5" Class="mb-4 fw-600">خلاصه سفارش</MudText>
|
||||
<MudText Typo="Typo.h5" Class="mb-4">خلاصه سفارش</MudText>
|
||||
|
||||
<MudStack Spacing="3">
|
||||
<MudStack Row="true" Justify="Justify.SpaceBetween">
|
||||
@@ -176,8 +176,8 @@
|
||||
<MudDivider />
|
||||
|
||||
<MudStack Row="true" Justify="Justify.SpaceBetween">
|
||||
<MudText Typo="Typo.h6" Class="fw-600">مجموع</MudText>
|
||||
<MudText Typo="Typo.h6" Class="fw-600" Color="Color.Primary">@_finalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
<MudText Typo="Typo.h6" >مجموع</MudText>
|
||||
<MudText Typo="Typo.h6" Color="Color.Primary">@_finalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
</MudStack>
|
||||
|
||||
<MudButton Variant="Variant.Filled"
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
|
||||
<MudIcon Icon="@Icons.Material.Filled.LocationOn" Color="Color.Primary" Size="Size.Large" />
|
||||
<div>
|
||||
<MudText Typo="Typo.body2" Class="fw-600">آدرس</MudText>
|
||||
<MudText Typo="Typo.body2" >آدرس</MudText>
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">
|
||||
تهران، خیابان ولیعصر، پلاک ۱۲۳۴<br />
|
||||
کد پستی: ۱۲۳۴۵۶۷۸۹۰
|
||||
@@ -141,7 +141,7 @@
|
||||
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Phone" Color="Color.Success" Size="Size.Large" />
|
||||
<div>
|
||||
<MudText Typo="Typo.body2" Class="fw-600">تلفن</MudText>
|
||||
<MudText Typo="Typo.body2" >تلفن</MudText>
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">۰۲۱-۱۲۳۴۵۶۷۸</MudText>
|
||||
</div>
|
||||
</MudStack>
|
||||
@@ -149,7 +149,7 @@
|
||||
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Email" Color="Color.Info" Size="Size.Large" />
|
||||
<div>
|
||||
<MudText Typo="Typo.body2" Class="fw-600">ایمیل</MudText>
|
||||
<MudText Typo="Typo.body2" >ایمیل</MudText>
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">info@foursat.co</MudText>
|
||||
</div>
|
||||
</MudStack>
|
||||
@@ -157,7 +157,7 @@
|
||||
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Schedule" Color="Color.Warning" Size="Size.Large" />
|
||||
<div>
|
||||
<MudText Typo="Typo.body2" Class="fw-600">ساعات کاری</MudText>
|
||||
<MudText Typo="Typo.body2" >ساعات کاری</MudText>
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">
|
||||
شنبه تا پنجشنبه<br />
|
||||
۹ صبح تا ۶ عصر
|
||||
|
||||
@@ -58,12 +58,12 @@ else
|
||||
<MudText Typo="Typo.h5" Class="text-decoration-line-through mud-text-secondary">@_package.Pricing.OriginalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
<MudChip T="string" Color="Color.Error" Variant="Variant.Filled" Size="Size.Small">@_package.Pricing.DiscountPercent% تخفیف</MudChip>
|
||||
</MudStack>
|
||||
<MudText Typo="Typo.h4" Color="Color.Success" Class="fw-700">@_package.Pricing.FinalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
<MudText Typo="Typo.h4" Color="Color.Success">@_package.Pricing.FinalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudText Typo="Typo.h4" Color="Color.Primary" Class="fw-700">@_package.Pricing.FinalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
<MudText Typo="Typo.h4" Color="Color.Primary">@_package.Pricing.FinalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
|
||||
}
|
||||
|
||||
<!-- Purchase Button -->
|
||||
@@ -78,7 +78,7 @@ else
|
||||
|
||||
<!-- Package Features -->
|
||||
<div>
|
||||
<MudText Typo="Typo.subtitle2" Class="mb-2 fw-600">شامل:</MudText>
|
||||
<MudText Typo="Typo.subtitle2" Class="mb-2">شامل:</MudText>
|
||||
<MudStack Spacing="1">
|
||||
@foreach (var feature in _package.Features)
|
||||
{
|
||||
@@ -123,7 +123,7 @@ else
|
||||
<MudStack Row="true" Spacing="2" AlignItems="AlignItems.Center">
|
||||
<MudIcon Icon="@spec.Icon" Size="Size.Small" Color="Color.Primary" />
|
||||
<div>
|
||||
<MudText Typo="Typo.body2" Class="fw-600">@spec.Name</MudText>
|
||||
<MudText Typo="Typo.body2" >@spec.Name</MudText>
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">@spec.Value</MudText>
|
||||
</div>
|
||||
</MudStack>
|
||||
@@ -143,7 +143,7 @@ else
|
||||
{
|
||||
<MudPaper Outlined="true" Class="pa-4 rounded-lg mb-4">
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center">
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3 fw-600">نظر خود را ثبت کنید</MudText>
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3">نظر خود را ثبت کنید</MudText>
|
||||
<MudSpacer />
|
||||
<MudRating @bind-Value="_newComment.Rating" Size="Size.Medium" />
|
||||
</MudStack>
|
||||
@@ -192,7 +192,7 @@ else
|
||||
<MudIcon Icon="@Icons.Material.Filled.Person" Size="Size.Small" />
|
||||
</MudAvatar>
|
||||
<div>
|
||||
<MudText Typo="Typo.body2" Class="fw-600">@(review.UserName)</MudText>
|
||||
<MudText Typo="Typo.body2" >@(review.UserName)</MudText>
|
||||
<MudRating ReadOnly="true" Value="review.Rating" Size="Size.Small" />
|
||||
</div>
|
||||
<MudSpacer />
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
<MudStack Spacing="4">
|
||||
<!-- Add New Address Button -->
|
||||
<MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Center">
|
||||
<MudText Typo="Typo.subtitle1" Class="fw-600">آدرسهای شما</MudText>
|
||||
<MudText Typo="Typo.subtitle1" >آدرسهای شما</MudText>
|
||||
<MudButton Variant="Variant.Filled"
|
||||
Color="Color.Primary"
|
||||
StartIcon="@Icons.Material.Filled.Add"
|
||||
@@ -140,7 +140,7 @@
|
||||
<MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Start">
|
||||
<MudStack Spacing="1">
|
||||
<MudStack Row="true" Spacing="2" AlignItems="AlignItems.Center">
|
||||
<MudText Typo="Typo.h6" Class="fw-600">@address.Title</MudText>
|
||||
<MudText Typo="Typo.h6" >@address.Title</MudText>
|
||||
@if (address.IsDefault)
|
||||
{
|
||||
<MudChip T="string" Color="Color.Success" Variant="Variant.Filled" Size="Size.Small">پیشفرض</MudChip>
|
||||
@@ -190,7 +190,7 @@
|
||||
<MudStack Spacing="4">
|
||||
<!-- Notification Settings -->
|
||||
<MudPaper Outlined="true" Class="pa-4 rounded-lg">
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3 fw-600">اعلانها</MudText>
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3">اعلانها</MudText>
|
||||
<MudStack Spacing="2">
|
||||
<MudSwitch T="bool"
|
||||
@bind-Value="_updateUserRequest.EmailNotifications"
|
||||
@@ -209,7 +209,7 @@
|
||||
@*
|
||||
<!-- Privacy Settings -->
|
||||
<MudPaper Outlined="true" Class="pa-4 rounded-lg">
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3 fw-600">حریم خصوصی</MudText>
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3">حریم خصوصی</MudText>
|
||||
<MudStack Spacing="2">
|
||||
<MudSwitch T="bool" @bind-Checked="_settings.ProfileVisibility" Label="نمایش پروفایل عمومی" />
|
||||
<MudSwitch T="bool" @bind-Checked="_settings.ShowOnlineStatus" Label="نمایش وضعیت آنلاین" />
|
||||
@@ -218,7 +218,7 @@
|
||||
|
||||
<!-- Language & Theme -->
|
||||
<MudPaper Outlined="true" Class="pa-4 rounded-lg">
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3 fw-600">زبان و تم</MudText>
|
||||
<MudText Typo="Typo.subtitle1" Class="mb-3">زبان و تم</MudText>
|
||||
<MudGrid Spacing="3">
|
||||
<MudItem xs="12" md="6">
|
||||
<MudSelect @bind-Value="_settings.Language" Label="زبان" Variant="Variant.Outlined">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
Class="rounded-circle"
|
||||
Src="favicon.png" />
|
||||
</MudHidden>
|
||||
<MudText Typo="Typo.h6" Class="fw-600">فرصت</MudText>
|
||||
<MudText Typo="Typo.h6" >فرصت</MudText>
|
||||
</MudStack>
|
||||
</MudLink>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user