diff --git a/src/views/Home/content/article/components/SingleTopic.vue b/src/views/Home/content/article/components/SingleTopic.vue
index c4b04b7a..6f40b51c 100644
--- a/src/views/Home/content/article/components/SingleTopic.vue
+++ b/src/views/Home/content/article/components/SingleTopic.vue
@@ -9,7 +9,7 @@ const props = defineProps(['data'])
-
+
diff --git a/src/views/topic/content/components/KUNGalgamerInfo.vue b/src/views/topic/content/components/KUNGalgamerInfo.vue
index 3b45e2f8..bf6ce044 100644
--- a/src/views/topic/content/components/KUNGalgamerInfo.vue
+++ b/src/views/topic/content/components/KUNGalgamerInfo.vue
@@ -18,10 +18,12 @@ const props = defineProps<{
-
- {{ user.name }}
-
- {{ user.moemoepoint }}
+
+
+
{{ user.name }}
+
+
{{ user.moemoepoint }}
+
@@ -49,6 +51,7 @@ const props = defineProps<{
display: flex;
justify-content: center;
margin-top: 17px;
+ font-size: 23px;
}
/* 萌萌点 */
.moemoepoint {
@@ -56,4 +59,21 @@ const props = defineProps<{
display: flex;
justify-content: center;
}
+
+@media (max-width: 700px) {
+ .kungalgamer {
+ flex-direction: row;
+ justify-content: center;
+ margin-top: 27px;
+ padding-bottom: 10px;
+ border-bottom: 1px solid var(--kungalgame-blue-1);
+ border-top: 1px solid var(--kungalgame-blue-1);
+ }
+ .info {
+ margin-left: 50px;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
+ }
+}
diff --git a/src/views/topic/content/components/Master.vue b/src/views/topic/content/components/Master.vue
index 2a4d9e87..459c09ae 100644
--- a/src/views/topic/content/components/Master.vue
+++ b/src/views/topic/content/components/Master.vue
@@ -136,7 +136,7 @@ const {
/* 内容区的顶部 */
.content-top {
width: 100%;
- height: 40px;
+ max-height: 100px;
display: flex;
text-align: center;
/* 时间和标签分居两侧 */
@@ -144,6 +144,7 @@ const {
/* 下面的分割线 */
border-bottom: 1px solid var(--kungalgame-blue-1);
box-sizing: border-box;
+ flex-grow: 1;
}
/* 楼主的话题和楼主的信息容器 */
@@ -192,4 +193,10 @@ const {
flex-direction: column;
}
}
+
+@media (max-width: 700px) {
+ .content-center {
+ flex-direction: column;
+ }
+}
diff --git a/src/views/topic/content/components/Reply.vue b/src/views/topic/content/components/Reply.vue
index ab86e482..0fc7c61c 100644
--- a/src/views/topic/content/components/Reply.vue
+++ b/src/views/topic/content/components/Reply.vue
@@ -196,4 +196,10 @@ defineProps<{
flex-direction: column;
}
}
+
+@media (max-width: 700px) {
+ .article {
+ flex-direction: column;
+ }
+}
diff --git a/src/views/topic/content/components/Tags.vue b/src/views/topic/content/components/Tags.vue
index 0a92392e..211c9d66 100644
--- a/src/views/topic/content/components/Tags.vue
+++ b/src/views/topic/content/components/Tags.vue
@@ -13,11 +13,7 @@ const props = defineProps<{
- - 啊这可海星
- - 啊这可海星
- - 啊这可海星
- - 啊这可海星
- - 啊这可海星
+ - {{ tag }}
@@ -29,18 +25,23 @@ const props = defineProps<{
justify-content: center;
align-items: center;
color: var(--kungalgame-font-color-3);
+ flex-shrink: 0;
+ flex-grow: 1;
/* 单个标签的盒子 */
ul {
+ flex-grow: 1;
+ max-height: 100px;
+ width: 300px;
display: flex;
flex-wrap: wrap;
+ overflow-y: scroll;
li {
- margin-left: 5px;
+ margin: 5px;
font-size: small;
padding: 2px;
- background-color: var(--kungalgame-blue-0);
- overflow: hidden;
- white-space: nowrap;
- border-radius: 5px;
+ background-color: var(--kungalgame-trans-blue-0);
+ border: 1px solid var(--kungalgame-blue-1);
+ overflow-y: scroll;
cursor: pointer;
&:hover {
background-color: var(--kungalgame-red-0);
diff --git a/src/views/topic/content/components/TopicFooter.vue b/src/views/topic/content/components/TopicFooter.vue
index 49637260..1f7c38e9 100644
--- a/src/views/topic/content/components/TopicFooter.vue
+++ b/src/views/topic/content/components/TopicFooter.vue
@@ -111,7 +111,8 @@ const handelReply = () => {
justify-content: center;
align-items: center;
font-size: 14px;
- margin-left: 17px;
+ margin: 17px;
+ margin-right: 0;
span {
display: flex;
margin-right: 3px;