diff --git a/src/core/icons.ts b/src/core/icons.ts
index b7b9f5173..50f659a95 100644
--- a/src/core/icons.ts
+++ b/src/core/icons.ts
@@ -65,6 +65,8 @@ import IconComputer from "~icons/ri/computer-line";
import IconPhone from "~icons/ri/smartphone-line";
// @ts-ignore
import IconTablet from "~icons/ri/tablet-line";
+// @ts-ignore
+import IconUserFollow from "~icons/ri/user-follow-line";
export {
IconDashboard,
@@ -99,5 +101,6 @@ export {
IconSearch,
IconComputer,
IconPhone,
- IconTablet
+ IconTablet,
+ IconUserFollow,
};
diff --git a/src/views/contents/posts/PostList.vue b/src/views/contents/posts/PostList.vue
index 386a89fbf..1594db973 100644
--- a/src/views/contents/posts/PostList.vue
+++ b/src/views/contents/posts/PostList.vue
@@ -522,7 +522,7 @@ const handleRouteToEditor = (post: any) => {
阅读 {{ post.visits }}访问量 {{ post.visits }}
评论 {{ post.commentCount }} {
- return {
- ...item,
- checked: false,
- };
- })
-);
+const sheetsRef = ref([
+ {
+ title: "关于我们",
+ url: "/about",
+ views: "31231",
+ commentCount: "32",
+ },
+ {
+ title: "案例中心",
+ url: "/case",
+ views: "11431",
+ commentCount: "35",
+ },
+ {
+ title: "我们的产品",
+ url: "/products",
+ views: "11431",
+ commentCount: "35",
+ },
+]);
+
+const advancedSheets = ref([
+ {
+ name: "友情链接",
+ author: "halo-dev",
+ logo: halo,
+ url: "/links",
+ },
+ {
+ name: "图库",
+ author: "halo-dev",
+ logo: halo,
+ url: "/photos",
+ },
+ {
+ name: "社区",
+ author: "halo-dev",
+ logo: halo,
+ url: "/community",
+ },
+]);
const checkAll = ref(false);
const activeId = ref("advanced");
-
-const handleCheckAll = () => {
- postsRef.value.forEach((item) => {
- item.checked = checkAll.value;
- });
-};
-handleCheckAll();
@@ -42,21 +68,178 @@ handleCheckAll();
-
-
+
+
+
+ -
+
+
+
+
+
+ {{ sheet.name }}
+
+ {{ sheet.url }}
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
分类
-
标签
-
作者
-
排序
+
+
+
+
+
+
+
+
+ 设置
+ 删除
+
+
+
+
+
+
+ 作者
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
![]()
+
+
+
+ {{ user.name }}
+
+
+ @{{ user.username }}
+
+
+
+ {{ index + 1 }} 篇
+
+
+
+
+
+
+
+
+
+
+ 排序
+
+
+
+
+
+
+
+ -
+ 较近发布
+
+ -
+ 较晚发布
+
+ -
+ 浏览量最多
+
+ -
+ 浏览量最少
+
+ -
+ 评论量最多
+
+ -
+ 评论量最少
+
+
+
+
+
+
+
@@ -64,35 +247,42 @@ handleCheckAll();
class="divide-y divide-gray-100 box-border w-full h-full"
role="list"
>
-
+
+
+
+
+
-
+
- {{ post.title }}
+ {{ sheet.title }}
-
-
- {{ tag.name }}
-
-
+ {{ sheet.url }}
- 阅读 {{ post.visits }}
- 评论 {{ post.commentCount }}
+
+ 访问量 {{ sheet.views }}
+
+
+ 评论 {{ sheet.commentCount }}
+
@@ -107,7 +297,7 @@ handleCheckAll();
-
+
@@ -118,35 +308,8 @@ handleCheckAll();
-
-
-
-
-
- Showing
- 1
- to
- 10
- of
- 97
- results
-
-
+
+
diff --git a/src/views/system/users/UserList.vue b/src/views/system/users/UserList.vue
index 4b696ee1c..b372d0192 100644
--- a/src/views/system/users/UserList.vue
+++ b/src/views/system/users/UserList.vue
@@ -11,6 +11,7 @@ import {
IconAddCircle,
IconArrowDown,
IconSettings,
+ IconUserFollow,
IconUserSettings,
} from "@/core/icons";
import { ref } from "vue";
@@ -29,12 +30,20 @@ const handleRouteToDetail = (username: string) => {
-
-
-
-
- 添加用户
-
+
+
+
+
+
+ 角色管理
+
+
+
+
+
+ 添加用户
+
+