update alert

This commit is contained in:
2023-12-18 17:07:35 +08:00
parent 8894a5649e
commit 271e07b77f
3 changed files with 18 additions and 16 deletions

View File

@@ -172,9 +172,13 @@ async function ChangeBili() {
<template> <template>
<NSpace justify="center" align="center" vertical style="width: 100%"> <NSpace justify="center" align="center" vertical style="width: 100%">
<NAlert type="info"> <NAlert type="info">
当前本站正在测试直接从服务端记录并储存数据, 不过并不清楚B站的风控策略, 此功能不一定会长期启用 当前本站正在测试为粉丝数大于 1000 或至少拥有一位舰长的主播直接从服务端记录并储存弹幕数据, 不过并不清楚B站的风控策略, 此功能不一定会长期启用
<br /> <br />
在我们被限制连接之前无需部署 VtsuruEventFetcher 即可使用相关功能 (如记录上舰和SC) 😊 在我们被限制连接之前满足以上条件的主播无需部署
<NButton tag="a" href="https://www.yuque.com/megghy/dez70g/vfvcyv3024xvaa1p" target="_blank" type="primary" text>
VtsuruEventFetcher
</NButton>
即可使用相关功能 (如记录上舰和SC, 直播场记录等) 😊
</NAlert> </NAlert>
<NCard embedded style="width: 100%"> <NCard embedded style="width: 100%">
<NSpace align="center" justify="center" vertical> <NSpace align="center" justify="center" vertical>

View File

@@ -139,16 +139,15 @@ function exportData() {
num: v.num, num: v.num,
price: v.price, price: v.price,
msg: v.msg, msg: v.msg,
})) })),
) )
break break
} }
} }
saveAs( saveAs(
new Blob([text], { type: 'text/plain;charset=utf-8' }), new Blob([text], { type: 'text/plain;charset=utf-8' }),
`${format(Date.now(), 'yyyy-MM-dd HH:mm:ss')}_${format(selectedDate.value[0], 'yyyy-MM-dd HH:mm:ss')}_${format(selectedDate.value[1], 'yyyy-MM-dd HH:mm:ss')}}_${accountInfo.value?.id}_${ `${format(Date.now(), 'yyyy-MM-dd HH:mm:ss')}_${format(selectedDate.value[0], 'yyyy-MM-dd HH:mm:ss')}_${format(selectedDate.value[1], 'yyyy-MM-dd HH:mm:ss')}}_${accountInfo.value
accountInfo.value?.name ?.id}_${accountInfo.value?.name}_${selectedType.value}.${exportType.value}`,
}_${selectedType.value}.${exportType.value}`
) )
} }
function objectsToCSV(arr: any[]) { function objectsToCSV(arr: any[]) {
@@ -173,14 +172,17 @@ onMounted(() => {
<NSpace vertical> <NSpace vertical>
<NAlert v-if="!accountInfo?.isBiliVerified" type="warning"> 使用此功能前你需要先<NButton type="info" text @click="$router.push({ name: 'manage-biliVerify' })">认证Bilibili账号</NButton> </NAlert> <NAlert v-if="!accountInfo?.isBiliVerified" type="warning"> 使用此功能前你需要先<NButton type="info" text @click="$router.push({ name: 'manage-biliVerify' })">认证Bilibili账号</NButton> </NAlert>
<NAlert type="info"> <NAlert type="info">
当前本站正在测试直接从服务端记录并储存数据, 不过并不清楚B站的风控策略, 此功能不一定会长期启用 当前本站正在测试为粉丝数大于 1000 或至少拥有一位舰长的主播直接从服务端记录并储存弹幕数据, 不过并不清楚B站的风控策略, 此功能不一定会长期启用
<br /> <br />
在我们被限制连接之前无需部署 VtsuruEventFetcher 即可使用相关功能 (如记录上舰和SC) 😊 在我们被限制连接之前满足以上条件的主播无需部署
<NButton tag="a" href="https://www.yuque.com/megghy/dez70g/vfvcyv3024xvaa1p" target="_blank" type="primary" text>
VtsuruEventFetcher
</NButton>
即可使用相关功能 (如记录上舰和SC, 直播场记录等) 😊
</NAlert> </NAlert>
<EventFetcherStatusCard />
</NSpace> </NSpace>
<NDivider /> <NDivider />
<EventFetcherStatusCard />
<NDivider />
<NCard size="small" style="witdh: 100%"> <NCard size="small" style="witdh: 100%">
<template v-if="accountInfo?.isBiliVerified"> <template v-if="accountInfo?.isBiliVerified">
<NSpace justify="center" align="center"> <NSpace justify="center" align="center">

View File

@@ -2,6 +2,7 @@
import { useAccount } from '@/api/account' import { useAccount } from '@/api/account'
import { ResponseLiveInfoModel } from '@/api/api-models' import { ResponseLiveInfoModel } from '@/api/api-models'
import { QueryGetAPI } from '@/api/query' import { QueryGetAPI } from '@/api/query'
import EventFetcherStatusCard from '@/components/EventFetcherStatusCard.vue'
import LiveInfoContainer from '@/components/LiveInfoContainer.vue' import LiveInfoContainer from '@/components/LiveInfoContainer.vue'
import { LIVE_API_URL } from '@/data/constants' import { LIVE_API_URL } from '@/data/constants'
import { List } from 'linqts' import { List } from 'linqts'
@@ -45,13 +46,8 @@ function OnClickCover(live: ResponseLiveInfoModel) {
<template> <template>
<NSpace vertical> <NSpace vertical>
<NAlert type="warning"> 测试功能, 尚不稳定 </NAlert> <NAlert type="warning"> 测试功能, 尚不稳定 </NAlert>
<NAlert type="info">
当前本站正在测试直接从服务端记录并储存数据, 不过并不清楚B站的风控策略, 此功能不一定会长期有效
<br />
在我们被限制连接之前无需部署 VtsuruEventFetcher 即可使用相关功能 (如记录上舰和SC以及直播记录) 😊
</NAlert>
</NSpace> </NSpace>
<br /> <NDivider />
<NAlert v-if="accountInfo?.isBiliVerified != true" type="info"> 尚未进行Bilibili认证 </NAlert> <NAlert v-if="accountInfo?.isBiliVerified != true" type="info"> 尚未进行Bilibili认证 </NAlert>
<template v-else> <template v-else>
<NSpace vertical justify="center" align="center"> <NSpace vertical justify="center" align="center">