35 lines
1.3 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<n-popover placement="bottom" trigger="click" arrow-point-to-center style="width: 400px">
<template #trigger>
<n-tooltip placement="bottom" trigger="hover">
<template #trigger>
<HeaderButton @click="openNotice">
<i-icon-park-outline-remind class="text-18px" />
</HeaderButton>
</template>
<span>消息通知</span>
</n-tooltip>
</template>
<n-tabs type="line" animated justify-content="space-evenly">
<n-tab-pane name="chap1" tab="通知">
我这辈子最疯狂的事发生在我在 Amazon 当软件工程师的时候故事是这样的
</n-tab-pane>
<n-tab-pane name="chap2" tab="消息">
威尔着火了快来帮忙我听到女朋友大喊现在一个难题在我面前是恢复一个重要的 Amazon 服务还是救公寓的火
</n-tab-pane>
<n-tab-pane name="chap3" tab="待办">
但是忽然公寓的烟味消失火警也停了我的女朋友走进了房间让我震惊的是她摘下了自己的假发她是 Jeff
</n-tab-pane>
</n-tabs>
</n-popover>
</template>
<script setup lang="ts">
import HeaderButton from '../common/HeaderButton.vue';
const openNotice = () => {
console.log('消息通知');
};
</script>
<style scoped></style>