From a4ccad0989cfa726a1edd6e1b9a237e43d51c252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B3=E5=85=83=E7=9A=93?= Date: Tue, 27 May 2025 09:02:05 +0800 Subject: [PATCH] Add tailwind scrollbar && Loading logic? --- components/app/windows/news.vue | 14 +++++++++++++- styles/main.css | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/components/app/windows/news.vue b/components/app/windows/news.vue index aa776b2..a74e56f 100644 --- a/components/app/windows/news.vue +++ b/components/app/windows/news.vue @@ -13,6 +13,7 @@ const errorr = ref(false); const switchTabs = ref(false); const tabs = ref([]); const primary = ref("domestic"); +const likeart = ref([]); const updateContent = async (url: string, tabAction: boolean) => { if (tabAction === true) { @@ -75,7 +76,7 @@ watch(
+ +
+ Loading... +
+
+
+
+
diff --git a/styles/main.css b/styles/main.css index 5fab217..2c09b76 100644 --- a/styles/main.css +++ b/styles/main.css @@ -46,3 +46,4 @@ --chart-5: 340 75% 55%; } } +@plugin 'tailwind-scrollbar';