From fcd642038504727cc8b79247eafffc75c154e7df Mon Sep 17 00:00:00 2001 From: MojtabaSoumi Date: Wed, 29 Apr 2026 11:20:59 +0330 Subject: [PATCH] 1405/02/09-change style in configuration page --- components.d.ts | 1 - src/model/configuration.ts | 26 ++ .../components/LongtextConfigs.vue | 83 +++++ .../components/SwitchConfigs.vue | 52 +++ .../configuration/components/TextConfigs.vue | 80 +++++ src/pages/menuPages/configuration/index.vue | 303 ++++++++++++++---- .../menuPages/configuration/index_old.vue | 143 +++++++++ .../customers/authentication/index.vue | 43 ++- 8 files changed, 652 insertions(+), 79 deletions(-) create mode 100644 src/model/configuration.ts create mode 100644 src/pages/menuPages/configuration/components/LongtextConfigs.vue create mode 100644 src/pages/menuPages/configuration/components/SwitchConfigs.vue create mode 100644 src/pages/menuPages/configuration/components/TextConfigs.vue create mode 100644 src/pages/menuPages/configuration/index_old.vue diff --git a/components.d.ts b/components.d.ts index f9567c0..4690207 100644 --- a/components.d.ts +++ b/components.d.ts @@ -46,7 +46,6 @@ declare module '@vue/runtime-core' { ATable: typeof import('ant-design-vue/es')['Table'] ATabPane: typeof import('ant-design-vue/es')['TabPane'] ATabs: typeof import('ant-design-vue/es')['Tabs'] - ATag: typeof import('ant-design-vue/es')['Tag'] ATextarea: typeof import('ant-design-vue/es')['Textarea'] ATooltip: typeof import('ant-design-vue/es')['Tooltip'] AUpload: typeof import('ant-design-vue/es')['Upload'] diff --git a/src/model/configuration.ts b/src/model/configuration.ts new file mode 100644 index 0000000..d2f4567 --- /dev/null +++ b/src/model/configuration.ts @@ -0,0 +1,26 @@ +export interface Const { + id?: number | undefined + key?: string + value?: string | undefined + description?: string + type: string + title_fa: string +} + +export interface SupportLink { + show_to_users_goftino: string + show_to_users_eitaa: string + show_to_users_telegram: string + show_to_users_whatsapp: string + show_to_users_bale: string + show_to_users_phone: string +} + +export interface itemConfig { + id: number | string + name: string + value: string + key: string + type: string + list: [] +} \ No newline at end of file diff --git a/src/pages/menuPages/configuration/components/LongtextConfigs.vue b/src/pages/menuPages/configuration/components/LongtextConfigs.vue new file mode 100644 index 0000000..560a32c --- /dev/null +++ b/src/pages/menuPages/configuration/components/LongtextConfigs.vue @@ -0,0 +1,83 @@ + + + + diff --git a/src/pages/menuPages/configuration/components/SwitchConfigs.vue b/src/pages/menuPages/configuration/components/SwitchConfigs.vue new file mode 100644 index 0000000..e19ab51 --- /dev/null +++ b/src/pages/menuPages/configuration/components/SwitchConfigs.vue @@ -0,0 +1,52 @@ + + + diff --git a/src/pages/menuPages/configuration/components/TextConfigs.vue b/src/pages/menuPages/configuration/components/TextConfigs.vue new file mode 100644 index 0000000..2b36710 --- /dev/null +++ b/src/pages/menuPages/configuration/components/TextConfigs.vue @@ -0,0 +1,80 @@ + + + diff --git a/src/pages/menuPages/configuration/index.vue b/src/pages/menuPages/configuration/index.vue index 7582b24..5eceed4 100644 --- a/src/pages/menuPages/configuration/index.vue +++ b/src/pages/menuPages/configuration/index.vue @@ -1,24 +1,69 @@