+
@@ -102,7 +102,7 @@ const { getToken, clearStorage } = useAuths();
//数据定义
const route = useRoute();
const router = useRouter();
-const activeName = ref("suggest");
+const activeName = ref("new");
//主题内容
const discussList = ref([]);
const isDiscussFinished = ref(false);
@@ -203,6 +203,7 @@ watch(
const tabList = ref([
{ label: "全部文章", name: "suggest", position: "left" },
{ label: "最新", name: "new", position: "right" },
+ { label: "推荐", name: "suggest", position: "right" },
{ label: "最热", name: "host", position: "right" },
]);
diff --git a/Yi.Bbs.Vue3/src/views/home/Index.vue b/Yi.Bbs.Vue3/src/views/home/Index.vue
index 0b164707..f6848efe 100644
--- a/Yi.Bbs.Vue3/src/views/home/Index.vue
+++ b/Yi.Bbs.Vue3/src/views/home/Index.vue
@@ -9,6 +9,7 @@
-
+
@@ -31,7 +32,7 @@
-
+
@@ -44,7 +45,7 @@
-
+
{{ item.name }}
@@ -268,7 +269,7 @@ onMounted(async () => {
await getAllDiscussList({
Type: 0,
skipCount: 1,
- maxResultCount: 5,
+ maxResultCount: 30,
});
isAllDiscussFinished.value = allDiscussConfig.isFinish;
allDiscussList.value = allDiscussData.items;
diff --git a/Yi.Bbs.Vue3/src/views/home/components/PointsRanking/index.vue b/Yi.Bbs.Vue3/src/views/home/components/PointsRanking/index.vue
index 8bd8e749..d61f17f6 100644
--- a/Yi.Bbs.Vue3/src/views/home/components/PointsRanking/index.vue
+++ b/Yi.Bbs.Vue3/src/views/home/components/PointsRanking/index.vue
@@ -5,11 +5,12 @@
-
+
+
等级{{ pointsData.level }}{{pointsData.money }} 钱钱
diff --git a/Yi.Bbs.Vue3/src/views/profile/Index.vue b/Yi.Bbs.Vue3/src/views/profile/Index.vue
index e3b826c9..8302663e 100644
--- a/Yi.Bbs.Vue3/src/views/profile/Index.vue
+++ b/Yi.Bbs.Vue3/src/views/profile/Index.vue
@@ -75,7 +75,19 @@
-
{{ state.user.nick }}
+
{{ state.user.nick }}
+
+ {{state.user.level }} 等级
+
+ {{ state.user.userLimit }} 限制
+
+
+ {{state.user.money }} 钱钱
+
其他
@@ -303,6 +315,10 @@ $remarkHeight: $topHeight - $userHeight;
color:#222226;
font-size: 23px;
font-weight: 800;
+ .el-tag{
+
+ margin-right: 10px;
+ }
}
&-right{
margin-right: 30px;