diff --git a/Yi.Bbs.Vue3/src/components/InfoCard.vue b/Yi.Bbs.Vue3/src/components/InfoCard.vue
index 88770c50..e3c178e7 100644
--- a/Yi.Bbs.Vue3/src/components/InfoCard.vue
+++ b/Yi.Bbs.Vue3/src/components/InfoCard.vue
@@ -1,7 +1,8 @@
@@ -14,15 +15,16 @@ const props = defineProps(["items", "header", "text", "hideDivider"]);
-
-
-
+
@@ -47,5 +49,7 @@ const props = defineProps(["items", "header", "text", "hideDivider"]);
.box-card {
width: 100%;
+ height: v-bind(height);
+ padding-bottom: 10px;
}
diff --git a/Yi.Bbs.Vue3/src/views/home/Index.vue b/Yi.Bbs.Vue3/src/views/home/Index.vue
index 6d515fcf..fcfd94ae 100644
--- a/Yi.Bbs.Vue3/src/views/home/Index.vue
+++ b/Yi.Bbs.Vue3/src/views/home/Index.vue
@@ -73,7 +73,12 @@
-
+
@@ -81,7 +86,12 @@
-
+
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 0787a030..bf040822 100644
--- a/Yi.Bbs.Vue3/src/views/home/components/PointsRanking/index.vue
+++ b/Yi.Bbs.Vue3/src/views/home/components/PointsRanking/index.vue
@@ -11,7 +11,16 @@
{{ pointsData.level }}
- {{ pointsData.userName }}
+
+
+ {{ pointsData.userName }}
+
+
@@ -95,12 +104,16 @@ const userImageSrc = computed(() => {
}
}
.bottom {
- width: 200px;
- color: #252933;
- margin-left: 5px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
+ width: 180px;
+ .name {
+ cursor: pointer;
+ width: 100%;
+ color: #252933;
+ margin-left: 5px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
}
}
.right {