From 74fc7749ffe8b3b6b11802f040e021e2e8a6fb68 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 8 Nov 2023 23:29:35 +0800 Subject: [PATCH] feat: redesign top bar mask --- src/components/Topbar/Topbar.vue | 22 ++++++++++++++++++++++ src/contentScripts/views/App.vue | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/components/Topbar/Topbar.vue b/src/components/Topbar/Topbar.vue index 73b0e55b..118a2a49 100644 --- a/src/components/Topbar/Topbar.vue +++ b/src/components/Topbar/Topbar.vue @@ -4,10 +4,12 @@ import { onMounted, watch } from 'vue' import type { UnReadDm, UnReadMessage, UserInfo } from './types' import { updateInterval } from './notify' import { getUserID } from '~/utils/main' +import { settings } from '~/logic' interface Props { showSearchBar?: boolean showLogo?: boolean + mask?: boolean } const props = withDefaults(defineProps(), { @@ -200,6 +202,26 @@ async function getTopbarNewMomentsCount() { p="lg:x-20 md:x-16 x-14" h="70px" > + +
+ +
+ +