直播间需要添加签到功能

This commit is contained in:
cbb
2026-01-13 17:56:19 +08:00
parent 06e026c8b8
commit c139fcf501
16 changed files with 313 additions and 171 deletions

View File

@@ -12,6 +12,8 @@
type: String,
default: ''
})
const emit = defineEmits(['search'])
</script>
<template>
@@ -27,7 +29,7 @@
:placeholder="props.placeholder"
class="search-box"
/>
<button class="search-btn">搜索</button>
<button class="search-btn" @click="emit('search')">搜索</button>
</view>
</template>