浏览代码

报告详情底部增加跳转问答社区

jwyu 2 年之前
父节点
当前提交
8e7d2672d4
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      src/components/Comment.vue

+ 9 - 0
src/components/Comment.vue

@@ -189,6 +189,10 @@ const formatCommentList=(id)=>{
     }
 }
 
+const linkToQuestionHandle=()=>{
+    router.push('/question/list')
+}
+
 
 onMounted(() => {
     getMyCommnet()
@@ -303,6 +307,11 @@ onMounted(() => {
                 </li>
             </ul>
         </template>
+
+        <!-- 跳转问答区域 -->
+		<div style="text-align:center;font-size:18px;color:#F3A52F;margin-top:20px;cursor: pointer;" @click="linkToQuestionHandle">
+			想要一对一回复吗?去问答社区提问
+		</div>
     </div>
 </template>