This commit is contained in:
MeysamMoghaddam
2025-10-13 17:18:04 +03:30
parent a5699364c7
commit 832fc18630
5 changed files with 24 additions and 24 deletions

View File

@@ -13,7 +13,7 @@
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="3"> <MudStack Row="true" AlignItems="AlignItems.Center" Spacing="3">
<MudIcon Icon="@Icons.Material.Filled.ShoppingCart" Size="Size.Large" Color="Color.Primary" /> <MudIcon Icon="@Icons.Material.Filled.ShoppingCart" Size="Size.Large" Color="Color.Primary" />
<div> <div>
<MudText Typo="Typo.h4" Class="fw-600">تکمیل خرید</MudText> <MudText Typo="Typo.h4" >تکمیل خرید</MudText>
<MudText Typo="Typo.body2" Class="mud-text-secondary">مرحله نهایی خرید پکیج</MudText> <MudText Typo="Typo.body2" Class="mud-text-secondary">مرحله نهایی خرید پکیج</MudText>
</div> </div>
</MudStack> </MudStack>
@@ -24,7 +24,7 @@
<MudStack> <MudStack>
<!-- Package Details --> <!-- Package Details -->
<MudPaper Elevation="4" Class="pa-6"> <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) @if (_selectedPackage != null)
{ {
@@ -68,7 +68,7 @@
<!-- Address Selection --> <!-- Address Selection -->
<MudPaper Elevation="4" Class="pa-6"> <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) @if (_isLoadingAddresses)
{ {
@@ -90,7 +90,7 @@
<MudStack Spacing="1"> <MudStack Spacing="1">
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2"> <MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2">
<MudRadio T="long" Value="address.Id" Checked="@(_selectedAddress?.Id == address.Id)" /> <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) @if (address.IsDefault)
{ {
<MudChip T="string" Color="Color.Success" Variant="Variant.Filled" Size="Size.Small">پیش‌فرض</MudChip> <MudChip T="string" Color="Color.Success" Variant="Variant.Filled" Size="Size.Small">پیش‌فرض</MudChip>
@@ -129,7 +129,7 @@
<MudStack Spacing="4"> <MudStack Spacing="4">
<!-- Discount Code Section --> <!-- Discount Code Section -->
<MudPaper Elevation="4" Class="pa-6"> <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 Spacing="3">
<MudStack Row="true" Spacing="2" AlignItems="AlignItems.Stretch"> <MudStack Row="true" Spacing="2" AlignItems="AlignItems.Stretch">
<MudTextField @bind-Value="_discountCode" <MudTextField @bind-Value="_discountCode"
@@ -157,7 +157,7 @@
@if (_selectedPackage != null) @if (_selectedPackage != null)
{ {
<MudPaper Elevation="4" Class="pa-6"> <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 Spacing="3">
<MudStack Row="true" Justify="Justify.SpaceBetween"> <MudStack Row="true" Justify="Justify.SpaceBetween">
@@ -176,8 +176,8 @@
<MudDivider /> <MudDivider />
<MudStack Row="true" Justify="Justify.SpaceBetween"> <MudStack Row="true" Justify="Justify.SpaceBetween">
<MudText Typo="Typo.h6" Class="fw-600">مجموع</MudText> <MudText Typo="Typo.h6" >مجموع</MudText>
<MudText Typo="Typo.h6" Class="fw-600" Color="Color.Primary">@_finalPrice.ToThousands().ToCurrencyUnitIRT()</MudText> <MudText Typo="Typo.h6" Color="Color.Primary">@_finalPrice.ToThousands().ToCurrencyUnitIRT()</MudText>
</MudStack> </MudStack>
<MudButton Variant="Variant.Filled" <MudButton Variant="Variant.Filled"

View File

@@ -130,7 +130,7 @@
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start"> <MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
<MudIcon Icon="@Icons.Material.Filled.LocationOn" Color="Color.Primary" Size="Size.Large" /> <MudIcon Icon="@Icons.Material.Filled.LocationOn" Color="Color.Primary" Size="Size.Large" />
<div> <div>
<MudText Typo="Typo.body2" Class="fw-600">آدرس</MudText> <MudText Typo="Typo.body2" >آدرس</MudText>
<MudText Typo="Typo.caption" Class="mud-text-secondary"> <MudText Typo="Typo.caption" Class="mud-text-secondary">
تهران، خیابان ولیعصر، پلاک ۱۲۳۴<br /> تهران، خیابان ولیعصر، پلاک ۱۲۳۴<br />
کد پستی: ۱۲۳۴۵۶۷۸۹۰ کد پستی: ۱۲۳۴۵۶۷۸۹۰
@@ -141,7 +141,7 @@
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start"> <MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
<MudIcon Icon="@Icons.Material.Filled.Phone" Color="Color.Success" Size="Size.Large" /> <MudIcon Icon="@Icons.Material.Filled.Phone" Color="Color.Success" Size="Size.Large" />
<div> <div>
<MudText Typo="Typo.body2" Class="fw-600">تلفن</MudText> <MudText Typo="Typo.body2" >تلفن</MudText>
<MudText Typo="Typo.caption" Class="mud-text-secondary">۰۲۱-۱۲۳۴۵۶۷۸</MudText> <MudText Typo="Typo.caption" Class="mud-text-secondary">۰۲۱-۱۲۳۴۵۶۷۸</MudText>
</div> </div>
</MudStack> </MudStack>
@@ -149,7 +149,7 @@
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start"> <MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
<MudIcon Icon="@Icons.Material.Filled.Email" Color="Color.Info" Size="Size.Large" /> <MudIcon Icon="@Icons.Material.Filled.Email" Color="Color.Info" Size="Size.Large" />
<div> <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> <MudText Typo="Typo.caption" Class="mud-text-secondary">info@foursat.co</MudText>
</div> </div>
</MudStack> </MudStack>
@@ -157,7 +157,7 @@
<MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start"> <MudStack Row="true" Spacing="3" AlignItems="AlignItems.Start">
<MudIcon Icon="@Icons.Material.Filled.Schedule" Color="Color.Warning" Size="Size.Large" /> <MudIcon Icon="@Icons.Material.Filled.Schedule" Color="Color.Warning" Size="Size.Large" />
<div> <div>
<MudText Typo="Typo.body2" Class="fw-600">ساعات کاری</MudText> <MudText Typo="Typo.body2" >ساعات کاری</MudText>
<MudText Typo="Typo.caption" Class="mud-text-secondary"> <MudText Typo="Typo.caption" Class="mud-text-secondary">
شنبه تا پنج‌شنبه<br /> شنبه تا پنج‌شنبه<br />
۹ صبح تا ۶ عصر ۹ صبح تا ۶ عصر

View File

@@ -58,12 +58,12 @@ else
<MudText Typo="Typo.h5" Class="text-decoration-line-through mud-text-secondary">@_package.Pricing.OriginalPrice.ToThousands().ToCurrencyUnitIRT()</MudText> <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> <MudChip T="string" Color="Color.Error" Variant="Variant.Filled" Size="Size.Small">@_package.Pricing.DiscountPercent% تخفیف</MudChip>
</MudStack> </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> </div>
} }
else 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 --> <!-- Purchase Button -->
@@ -78,7 +78,7 @@ else
<!-- Package Features --> <!-- Package Features -->
<div> <div>
<MudText Typo="Typo.subtitle2" Class="mb-2 fw-600">شامل:</MudText> <MudText Typo="Typo.subtitle2" Class="mb-2">شامل:</MudText>
<MudStack Spacing="1"> <MudStack Spacing="1">
@foreach (var feature in _package.Features) @foreach (var feature in _package.Features)
{ {
@@ -123,7 +123,7 @@ else
<MudStack Row="true" Spacing="2" AlignItems="AlignItems.Center"> <MudStack Row="true" Spacing="2" AlignItems="AlignItems.Center">
<MudIcon Icon="@spec.Icon" Size="Size.Small" Color="Color.Primary" /> <MudIcon Icon="@spec.Icon" Size="Size.Small" Color="Color.Primary" />
<div> <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> <MudText Typo="Typo.caption" Class="mud-text-secondary">@spec.Value</MudText>
</div> </div>
</MudStack> </MudStack>
@@ -143,7 +143,7 @@ else
{ {
<MudPaper Outlined="true" Class="pa-4 rounded-lg mb-4"> <MudPaper Outlined="true" Class="pa-4 rounded-lg mb-4">
<MudStack Row="true" AlignItems="AlignItems.Center"> <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 /> <MudSpacer />
<MudRating @bind-Value="_newComment.Rating" Size="Size.Medium" /> <MudRating @bind-Value="_newComment.Rating" Size="Size.Medium" />
</MudStack> </MudStack>
@@ -192,7 +192,7 @@ else
<MudIcon Icon="@Icons.Material.Filled.Person" Size="Size.Small" /> <MudIcon Icon="@Icons.Material.Filled.Person" Size="Size.Small" />
</MudAvatar> </MudAvatar>
<div> <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" /> <MudRating ReadOnly="true" Value="review.Rating" Size="Size.Small" />
</div> </div>
<MudSpacer /> <MudSpacer />

View File

@@ -113,7 +113,7 @@
<MudStack Spacing="4"> <MudStack Spacing="4">
<!-- Add New Address Button --> <!-- Add New Address Button -->
<MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Center"> <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" <MudButton Variant="Variant.Filled"
Color="Color.Primary" Color="Color.Primary"
StartIcon="@Icons.Material.Filled.Add" StartIcon="@Icons.Material.Filled.Add"
@@ -140,7 +140,7 @@
<MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Start"> <MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Start">
<MudStack Spacing="1"> <MudStack Spacing="1">
<MudStack Row="true" Spacing="2" AlignItems="AlignItems.Center"> <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) @if (address.IsDefault)
{ {
<MudChip T="string" Color="Color.Success" Variant="Variant.Filled" Size="Size.Small">پیش‌فرض</MudChip> <MudChip T="string" Color="Color.Success" Variant="Variant.Filled" Size="Size.Small">پیش‌فرض</MudChip>
@@ -190,7 +190,7 @@
<MudStack Spacing="4"> <MudStack Spacing="4">
<!-- Notification Settings --> <!-- Notification Settings -->
<MudPaper Outlined="true" Class="pa-4 rounded-lg"> <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"> <MudStack Spacing="2">
<MudSwitch T="bool" <MudSwitch T="bool"
@bind-Value="_updateUserRequest.EmailNotifications" @bind-Value="_updateUserRequest.EmailNotifications"
@@ -209,7 +209,7 @@
@* @*
<!-- Privacy Settings --> <!-- Privacy Settings -->
<MudPaper Outlined="true" Class="pa-4 rounded-lg"> <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"> <MudStack Spacing="2">
<MudSwitch T="bool" @bind-Checked="_settings.ProfileVisibility" Label="نمایش پروفایل عمومی" /> <MudSwitch T="bool" @bind-Checked="_settings.ProfileVisibility" Label="نمایش پروفایل عمومی" />
<MudSwitch T="bool" @bind-Checked="_settings.ShowOnlineStatus" Label="نمایش وضعیت آنلاین" /> <MudSwitch T="bool" @bind-Checked="_settings.ShowOnlineStatus" Label="نمایش وضعیت آنلاین" />
@@ -218,7 +218,7 @@
<!-- Language & Theme --> <!-- Language & Theme -->
<MudPaper Outlined="true" Class="pa-4 rounded-lg"> <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"> <MudGrid Spacing="3">
<MudItem xs="12" md="6"> <MudItem xs="12" md="6">
<MudSelect @bind-Value="_settings.Language" Label="زبان" Variant="Variant.Outlined"> <MudSelect @bind-Value="_settings.Language" Label="زبان" Variant="Variant.Outlined">

View File

@@ -29,7 +29,7 @@
Class="rounded-circle" Class="rounded-circle"
Src="favicon.png" /> Src="favicon.png" />
</MudHidden> </MudHidden>
<MudText Typo="Typo.h6" Class="fw-600">فرصت</MudText> <MudText Typo="Typo.h6" >فرصت</MudText>
</MudStack> </MudStack>
</MudLink> </MudLink>
</div> </div>