This commit is contained in:
2023-11-15 22:10:45 +08:00
parent f21420de13
commit 2d9325821f
2 changed files with 5 additions and 10 deletions

View File

@@ -19,10 +19,10 @@ const props = defineProps<{
const activeSongs = ref<SongRequestInfo[]>([]) const activeSongs = ref<SongRequestInfo[]>([])
function onGetDanmaku(danmaku: DanmakuInfo) { function onGetDanmaku(danmaku: DanmakuInfo) {
console.log(danmaku)
} }
function onGetSC(danmaku: SCInfo) { function onGetSC(danmaku: SCInfo) {
console.log(danmaku)
} }
onMounted(() => { onMounted(() => {
@@ -39,12 +39,8 @@ onUnmounted(() => {
开发中... 开发中...
<NTabs animated> <NTabs animated>
<NTabPane name="list" tab="列表"> <NTabPane name="list" tab="列表">
<NList> <NList> </NList>
</NList>
</NTabPane>
<NTabPane name="history" tab="历史">
</NTabPane> </NTabPane>
<NTabPane name="history" tab="历史"> </NTabPane>
</NTabs> </NTabs>
</template> </template>

View File

@@ -429,8 +429,7 @@ onUnmounted(() => {
</NCard> </NCard>
<NCard v-if="originUsers" size="small"> <NCard v-if="originUsers" size="small">
<NSpace justify="center" align="center"> <NSpace justify="center" align="center">
<NSpin v-if="isStartLottery" size="small" /> <NButton type="primary" @click="continueLottery" :loading="isStartLottery" :disabled="isStartLottery || isLotteried || !client"> 开始 </NButton>
<NButton type="primary" @click="continueLottery" :loading="isLottering" :disabled="isStartLottery || isLotteried || !client"> 开始 </NButton>
<NButton type="warning" :disabled="!isStartLottery" @click="pause"> 停止 </NButton> <NButton type="warning" :disabled="!isStartLottery" @click="pause"> 停止 </NButton>
<NButton type="error" :disabled="isLottering || originUsers.length == 0" @click="clear"> 清空 </NButton> <NButton type="error" :disabled="isLottering || originUsers.length == 0" @click="clear"> 清空 </NButton>
</NSpace> </NSpace>