We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e249c61 commit 846deeeCopy full SHA for 846deee
src/pages/topic/vid/index.vue
@@ -78,6 +78,11 @@
78
.reply {
79
padding: 50px 10px;
80
}
81
+
82
+ .tip-login {
83
+ padding: 100px;
84
+ text-align: center;
85
+ }
86
</style>
87
<template>
88
<div>
@@ -132,7 +137,7 @@
132
137
<div class="markdown-body" v-html="content"></div>
133
138
</li>
134
139
<!-- 主题信息 end -->
135
- <li class="replies-count">
140
+ <li class="replies-count" v-if="replies.length">
136
141
共(<em>{{ replies.length }}</em>)条回复
142
143
<!-- 主题评论 start -->
@@ -167,6 +172,9 @@
167
172
<div class="reply" v-if="user.id">
168
173
<reply-box @success="getData"></reply-box>
169
174
</div>
175
+ <div class="tip-login" v-if="!user.id">
176
+ 你还未登录,请先<router-link to="/login">登录</router-link>
177
+ </div>
170
178
</template>
171
179
</v-content>
180
0 commit comments