-
+
{{ item.type }}
@@ -17,7 +17,7 @@ const { data: TypeList } = await useFetch('/api/global/types')
.view-nav {
background: #fff;
position: fixed;
- top: 5rem;
+ top: 4.84rem;
width: 100%;
height: 3.833rem;
z-index: 100;
@@ -26,4 +26,10 @@ const { data: TypeList } = await useFetch('/api/global/types')
transform: translateZ(0);
display: flex;
}
+.navList{
+ @apply mr-8 text-lg text-gray-700 h-5 w-auto float-left cursor-pointer whitespace-nowrap;
+}
+.navList:hover{
+ color: #1e80ff;
+}
diff --git a/frontend/components/Uno/DarkToggle.vue b/frontend/components/Uno/DarkToggle.vue
index d0b66f8..35d1a0d 100644
--- a/frontend/components/Uno/DarkToggle.vue
+++ b/frontend/components/Uno/DarkToggle.vue
@@ -7,7 +7,8 @@ function toggleDark() {
-
From 4c0415570e0b4e97943bd791747988fcb0aa9c8f Mon Sep 17 00:00:00 2001
From: Plumbiu <99574369+Plumbiu@users.noreply.github.com>
Date: Thu, 26 Jan 2023 22:54:01 +0800
Subject: [PATCH 3/7] =?UTF-8?q?refactor:=20=E8=B7=AF=E7=94=B1=E9=87=8D?=
=?UTF-8?q?=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/components/Articles/Link.vue | 12 +++++++++---
frontend/components/Uno/Select.vue | 9 +++++----
frontend/composables/useFetchPostData.ts | 5 +++++
frontend/pages/[tagId].vue | 13 +++++++++++++
4 files changed, 32 insertions(+), 7 deletions(-)
create mode 100644 frontend/pages/[tagId].vue
diff --git a/frontend/components/Articles/Link.vue b/frontend/components/Articles/Link.vue
index 3aced91..4c053e7 100644
--- a/frontend/components/Articles/Link.vue
+++ b/frontend/components/Articles/Link.vue
@@ -1,7 +1,13 @@
+
+
const isShow = useState('isShow', () => false)
const iptValue = useState('iptValue', () => '3天内')
+const artlistPath = useArtlistPath()
const iptValueHandler = (time: string) => {
isShow.value = false
iptValue.value = time
@@ -16,22 +17,22 @@ const iptValueHandler = (time: string) => {
-