From a34c6045921ed2a988dee242fd6acecd2862fd8b Mon Sep 17 00:00:00 2001 From: MojtabaSoumi Date: Sat, 2 May 2026 13:53:43 +0330 Subject: [PATCH] 1405/02/12-dev banner settings --- components.d.ts | 3 - src/model/banner.ts | 2 + src/pages/menuPages/banners/index.vue | 97 +++++++++++++++---- .../components/LongtextConfigs.vue | 2 +- src/router/routes/setting.ts | 1 + 5 files changed, 81 insertions(+), 24 deletions(-) diff --git a/components.d.ts b/components.d.ts index 4690207..441204e 100644 --- a/components.d.ts +++ b/components.d.ts @@ -33,9 +33,6 @@ declare module '@vue/runtime-core' { AMenuItem: typeof import('ant-design-vue/es')['MenuItem'] AModal: typeof import('ant-design-vue/es')['Modal'] APagination: typeof import('ant-design-vue/es')['Pagination'] - APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] - APopover: typeof import('ant-design-vue/es')['Popover'] - ARadio: typeof import('ant-design-vue/es')['Radio'] ARadioButton: typeof import('ant-design-vue/es')['RadioButton'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] ASelect: typeof import('ant-design-vue/es')['Select'] diff --git a/src/model/banner.ts b/src/model/banner.ts index 4079fe8..48de9c2 100644 --- a/src/model/banner.ts +++ b/src/model/banner.ts @@ -21,6 +21,8 @@ export interface IBenefits { icon: string | null caption: string | null link: string | null + typeClick:string | null + modalText:string|null } export interface countryCreator { caption: string | null diff --git a/src/pages/menuPages/banners/index.vue b/src/pages/menuPages/banners/index.vue index f5f5929..4623719 100644 --- a/src/pages/menuPages/banners/index.vue +++ b/src/pages/menuPages/banners/index.vue @@ -2,27 +2,52 @@
افزودن بنر - +
-
+
-
(16 در 9)
+ +
+
(16 در 9)
+
+ نمایش: + +
+
-
-
- نمایش: - +
+
+
+ انتخاب رویداد (پس از کلیک): +
+
+ +
+
+
آدرس لینک
+ +
+
+
متن پیام
+
@@ -33,19 +58,30 @@
+ - \ No newline at end of file + \ No newline at end of file diff --git a/src/pages/menuPages/configuration/components/LongtextConfigs.vue b/src/pages/menuPages/configuration/components/LongtextConfigs.vue index 1e8bc6f..b6d96f0 100644 --- a/src/pages/menuPages/configuration/components/LongtextConfigs.vue +++ b/src/pages/menuPages/configuration/components/LongtextConfigs.vue @@ -13,7 +13,7 @@ />
import('@/pages/menuPages/setting/index.vue'), + redirect: { name: 'configuration' }, meta: { permissionsKey: 'config', icon: 'vuesax-linear:setting',