From 35a7ab11f5d7bdb5818324aba6ada0eb470d336f Mon Sep 17 00:00:00 2001 From: adonis Date: Wed, 9 Sep 2026 20:18:48 +0330 Subject: [PATCH] added some feature for plugin 3 --- src/pages/PluginCatalogPage.vue | 5 +++-- src/pages/PluginPanelPage.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/PluginCatalogPage.vue b/src/pages/PluginCatalogPage.vue index 367a063..ba5e29b 100644 --- a/src/pages/PluginCatalogPage.vue +++ b/src/pages/PluginCatalogPage.vue @@ -46,7 +46,7 @@ type TemplateRow = { type?: string } -const DURATION_DAYS = [30, 90, 180, 360] as const +const DURATION_DAYS = [30, 90, 180, 360, 0] as const const router = useRouter() const auth = useAuthStore() @@ -72,6 +72,7 @@ const durationLabel: Record = { 90: '۹۰ روزه', 180: '۱۸۰ روزه', 360: '۳۶۰ روزه', + 0: 'یکبار پرداخت', } const selectedItem = computed( @@ -486,7 +487,7 @@ onMounted(load)
قیمت اشتراک - تومان — تیک تخفیف فقط همان مدت را در فروشگاه خط می‌خورد + تومان — یکبار پرداخت انقضا ندارد. تیک تخفیف فقط همان ردیف را در فروشگاه خط می‌خورد
{ {{ row.domain }} {{ row.pluginTitle }} - {{ row.durationDays }} روز + {{ row.durationDays === 0 ? 'یکبار پرداخت' : `${row.durationDays} روز` }} {{ Number(row.finalPriceRials || 0).toLocaleString('fa-IR') }} {{ statusLabel[row.status] }}