mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
add guild button
This commit is contained in:
@@ -581,6 +581,10 @@ onMounted(async () => {
|
||||
</NAlert>
|
||||
<NButton @click="showModal = true" type="primary"> 添加歌曲 </NButton>
|
||||
<NButton @click="exportData" type="primary" secondary> 导出为 CSV </NButton>
|
||||
<NButton @click="$router.push({ name: 'manage-songRequest' })" secondary> 前往点歌页 </NButton>
|
||||
<NButton @click="$router.push({ name: 'user-songList', params: { id: accountInfo?.name } })" secondary>
|
||||
前往展示页
|
||||
</NButton>
|
||||
<NButton
|
||||
:loading="isLoading"
|
||||
@click="
|
||||
|
||||
@@ -750,7 +750,7 @@ onUnmounted(() => {
|
||||
|
||||
<template>
|
||||
<NAlert type="info" v-if="accountInfo">
|
||||
启用队列功能
|
||||
启用弹幕队列功能
|
||||
<NSwitch
|
||||
:value="accountInfo?.settings.enableFunctions.includes(FunctionTypes.Queue)"
|
||||
@update:value="onUpdateFunctionEnable"
|
||||
@@ -804,9 +804,7 @@ onUnmounted(() => {
|
||||
<NIcon :component="Checkmark12Regular" />
|
||||
</template>
|
||||
今日已处理 |
|
||||
{{
|
||||
queue.filter((s) => s.status == QueueStatus.Finish && isSameDay(s.finishAt ?? 0, Date.now())).length
|
||||
}}
|
||||
{{ queue.filter((s) => s.status == QueueStatus.Finish && isSameDay(s.finishAt ?? 0, Date.now())).length }}
|
||||
位
|
||||
</NTag>
|
||||
<NInputGroup>
|
||||
@@ -1204,6 +1202,9 @@ onUnmounted(() => {
|
||||
</NSpin>
|
||||
</NTabPane>
|
||||
</NTabs>
|
||||
<template v-else>
|
||||
<NAlert title="未启用" type="error"> 请先启用弹幕排队功能 </NAlert>
|
||||
</template>
|
||||
</NCard>
|
||||
<NModal v-model:show="showOBSModal" title="OBS组件" preset="card" style="width: 800px">
|
||||
<NAlert title="这是什么? " type="info"> 将等待队列以及结果显示在OBS中 </NAlert>
|
||||
|
||||
@@ -748,7 +748,7 @@ onUnmounted(() => {
|
||||
|
||||
<template>
|
||||
<NAlert type="info" v-if="accountInfo">
|
||||
启用点歌功能
|
||||
启用弹幕点歌功能
|
||||
<NSwitch
|
||||
:value="accountInfo?.settings.enableFunctions.includes(FunctionTypes.SongRequest)"
|
||||
@update:value="onUpdateFunctionEnable"
|
||||
@@ -1219,6 +1219,9 @@ onUnmounted(() => {
|
||||
</NSpin>
|
||||
</NTabPane>
|
||||
</NTabs>
|
||||
<template v-else>
|
||||
<NAlert title="未启用" type="error"> 请先启用弹幕点歌功能 </NAlert>
|
||||
</template>
|
||||
</NCard>
|
||||
<NModal v-model:show="showOBSModal" title="OBS组件" preset="card" style="width: 800px">
|
||||
<NAlert title="这是什么? " type="info"> 将等待队列以及结果显示在OBS中 </NAlert>
|
||||
|
||||
Reference in New Issue
Block a user