perf: 新增4个平台图标获取

This commit is contained in:
rd
2025-08-19 10:53:03 +08:00
parent f568b4509c
commit f1d92ad3a8

View File

@ -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 icon3 from '@/assets/img/media-account/icon-bili.png';
import icon4 from '@/assets/img/platform/icon-dy.png'; import icon4 from '@/assets/img/platform/icon-dy.png';
import icon5 from '@/assets/img/platform/icon-xhs.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 { export enum ENUM_PUT_ACCOUNT_PLATFORM {
@ -14,6 +19,11 @@ export enum ENUM_PUT_ACCOUNT_PLATFORM {
export enum ENUM_MEDIA_ACCOUNT_PLATFORM { export enum ENUM_MEDIA_ACCOUNT_PLATFORM {
dy = 0, dy = 0,
xhs = 1, xhs = 1,
bili = 2,
ks = 3,
sph = 4,
wb = 5,
gzh = 6,
} }
export const PLATFORM_LIST = [ export const PLATFORM_LIST = [
@ -45,6 +55,31 @@ export const MEDIA_ACCOUNT_PLATFORMS = [
value: 1, value: 1,
icon: icon5, 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) => { export const getPutAccountPlatformLogo = (value: ENUM_PUT_ACCOUNT_PLATFORM) => {