add guild button

This commit is contained in:
2024-02-25 18:49:59 +08:00
parent 0a0550af60
commit a0b3319bd9
3 changed files with 13 additions and 5 deletions

View File

@@ -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="

View File

@@ -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>

View File

@@ -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>