From f1d92ad3a8e69dbbfb424e11f671db8ae46f95c1 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Tue, 19 Aug 2025 10:53:03 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=96=B0=E5=A2=9E4=E4=B8=AA=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E5=9B=BE=E6=A0=87=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/platform.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/utils/platform.ts b/src/utils/platform.ts index 03f39c8..66db913 100644 --- a/src/utils/platform.ts +++ b/src/utils/platform.ts @@ -3,6 +3,11 @@ import icon2 from '@/assets/img/media-account/icon-jg.png'; import icon3 from '@/assets/img/media-account/icon-bili.png'; import icon4 from '@/assets/img/platform/icon-dy.png'; import icon5 from '@/assets/img/platform/icon-xhs.png'; +import icon6 from '@/assets/img/platform/icon-bilibili.png'; +import icon7 from '@/assets/img/platform/icon-ks.png'; +import icon8 from '@/assets/img/platform/icon-sph.png'; +import icon9 from '@/assets/img/platform/icon-wb.png'; +import icon10 from '@/assets/img/platform/icon-gzh.png'; // 投放账户 export enum ENUM_PUT_ACCOUNT_PLATFORM { @@ -14,6 +19,11 @@ export enum ENUM_PUT_ACCOUNT_PLATFORM { export enum ENUM_MEDIA_ACCOUNT_PLATFORM { dy = 0, xhs = 1, + bili = 2, + ks = 3, + sph = 4, + wb = 5, + gzh = 6, } export const PLATFORM_LIST = [ @@ -45,6 +55,31 @@ export const MEDIA_ACCOUNT_PLATFORMS = [ value: 1, icon: icon5, }, + { + label: 'B站', + value: 2, + icon: icon6, + }, + { + label: '快手', + value: 3, + icon: icon7, + }, + { + label: '视频号', + value: 4, + icon: icon8, + }, + { + label: '微博', + value: 5, + icon: icon9, + }, + { + label: '公众号', + value: 6, + icon: icon10, + }, ]; export const getPutAccountPlatformLogo = (value: ENUM_PUT_ACCOUNT_PLATFORM) => {