From 7de872c57a779b41e5923029ec6f0c7cb9cc73d0 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 25 Jul 2025 15:44:31 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/status-select/constants.ts | 23 ++++++++++++------- .../components/status-select/index.vue | 8 ++++++- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/src/views/property-marketing/media-account/components/status-select/constants.ts b/src/views/property-marketing/media-account/components/status-select/constants.ts index 2e81c6b..fdfd154 100644 --- a/src/views/property-marketing/media-account/components/status-select/constants.ts +++ b/src/views/property-marketing/media-account/components/status-select/constants.ts @@ -14,7 +14,6 @@ export enum EnumAccountStatus { ABNORMAL_EXPIRED = 8, // 即将过期 } - export const STATUS_LIST = [ { text: '正常', @@ -41,36 +40,44 @@ export const STATUS_LIST = [ label: '异常', value: EnumAccountStatus.UNAUTHORIZED, tooltip: '未授权', - class: '!pl-24px', + style: { + 'padding-left': '24px', + }, }, { text: '异常(数据缺失)', label: '异常', value: EnumAccountStatus.ABNORMAL_MISSING, tooltip: '数据缺失', - class: '!pl-24px', + style: { + 'padding-left': '24px', + }, }, { text: '异常(登录状态失效)', label: '异常', value: EnumAccountStatus.ABNORMAL_LOGIN, tooltip: '登录状态失效', - class: '!pl-24px', + style: { + 'padding-left': '24px', + }, }, { text: '异常(请求频繁)', label: '异常', value: EnumAccountStatus.ABNORMAL_REQUEST, tooltip: '请求频繁,等待24小时后重试', - class: '!pl-24px', + style: { + 'padding-left': '24px', + }, }, { text: '异常(账号被封)', label: '异常', value: EnumAccountStatus.ABNORMAL_FREEZE, tooltip: '账号被封', - class: '!pl-24px', + style: { + 'padding-left': '24px', + }, }, ]; - - diff --git a/src/views/property-marketing/media-account/components/status-select/index.vue b/src/views/property-marketing/media-account/components/status-select/index.vue index e616e60..811e3e0 100644 --- a/src/views/property-marketing/media-account/components/status-select/index.vue +++ b/src/views/property-marketing/media-account/components/status-select/index.vue @@ -11,7 +11,13 @@ allow-clear @change="handleChange" > - + {{ item.text }}