diff --git a/src/assets/img/media-account/icon-sph.png b/src/assets/img/media-account/icon-sph.png new file mode 100644 index 0000000..d50db1c Binary files /dev/null and b/src/assets/img/media-account/icon-sph.png differ diff --git a/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue b/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue index 0333ef0..10ae923 100644 --- a/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue +++ b/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue @@ -32,7 +32,19 @@
平台 - +
账号ID @@ -148,7 +160,7 @@ import FooterBtn from './footer-btn'; import icon1 from '@/assets/img/media-account/icon-dy.png'; import icon2 from '@/assets/img/media-account/icon-xhs.png'; import icon3 from '@/assets/img/media-account/icon-warn.png'; - +import icon4 from '@/assets/img/media-account/icon-sph.png'; const props = defineProps({ dataSource: { type: Array, diff --git a/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue b/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue index 1908ce8..6517de1 100644 --- a/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue +++ b/src/views/property-marketing/media-account/account-manage/components/add-account-modal/index.vue @@ -43,6 +43,7 @@ import icon1 from '@/assets/img/media-account/icon-download.png'; import icon2 from '@/assets/img/media-account/icon-delete.png'; import icon3 from '@/assets/img/media-account/icon-dy.png'; import icon4 from '@/assets/img/media-account/icon-xhs.png'; +import icon5 from '@/assets/img/media-account/icon-sph.png'; // import icon5 from '@/assets/img/media-account/icon-warn-1.png'; // import icon6 from '@/assets/img/media-account/icon-success.png'; @@ -365,11 +366,17 @@ export default { {isEdit.value ? ( - + ) : ( 小红书 抖音 + 视频号 )} @@ -395,7 +402,12 @@ export default { - + { const open = (accountId, platformCode) => { id.value = accountId; - platform.value = platformCode === 0 ? '抖音' : '小红书'; + switch (platformCode) { + case 0: + platform.value = '抖音'; + break; + case 1: + platform.value = '小红书'; + break; + case 4: + platform.value = '视频号'; + break; + } modalState.value = MODAL_STATE.QR_LOADING; getAuthorizedQrCode(); visible.value = true; diff --git a/src/views/property-marketing/media-account/account-manage/components/reauthorize-account-modal/index.vue b/src/views/property-marketing/media-account/account-manage/components/reauthorize-account-modal/index.vue index 1ae4e00..469d1a1 100644 --- a/src/views/property-marketing/media-account/account-manage/components/reauthorize-account-modal/index.vue +++ b/src/views/property-marketing/media-account/account-manage/components/reauthorize-account-modal/index.vue @@ -166,7 +166,18 @@ const confirmBtnText = computed(() => { const open = (accountId, platformCode) => { id.value = accountId; - platform.value = platformCode === 0 ? '抖音' : '小红书'; + console.log('pingtai code', platformCode); + switch (platformCode) { + case 0: + platform.value = '抖音'; + break; + case 1: + platform.value = '小红书'; + break; + case 1: + platform.value = '视频号'; + break; + } modalState.value = MODAL_STATE.QR_LOADING; getAuthorizedQrCode(); visible.value = true;