@@ -77,6 +59,9 @@
+
+
+
{
+const handleClick = async (item) => {
query.type = activeName.value;
await loadDiscussList();
};
@@ -212,6 +198,12 @@ watch(
},
{ immediate: true }
);
+
+const tabList = ref([
+ { label: "全部文章", name: "suggest", position: "left" },
+ { label: "最新", name: "new", position: "right" },
+ { label: "最热", name: "host", position: "right" },
+]);