学习问答

This commit is contained in:
liuye
2023-01-11 15:15:34 +08:00
parent fb89cb1a8d
commit 79eb498a83
2 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
</ai-title>
</template>
<template slot="content">
<ai-card title="基本信息">
<ai-card title="问答信息">
<template #content>
<p class="title">{{info.content}}</p>
<div class="title-text">{{info.createUserName}}发布于{{info.createTime}} <span>已有{{info.answerCount || 0}}个回答</span></div>
@@ -74,6 +74,7 @@
.title-text {
color: #999!important;
margin-bottom: 24px;
font-size: 14px;
span {
margin-left: 8px;
}
@@ -84,13 +85,13 @@
.flex {
display: flex;
img {
width: 80px;
height: 80px;
width: 60px;
height: 60px;
margin-right: 16px;
border-radius: 50%;
}
h3 {
line-height: 40px;
line-height: 20px;
font-size: 20px;
font-weight: 400;
margin-bottom: 10px;

View File

@@ -34,8 +34,8 @@ export default {
colConfigs: [
{ slot: 'index', label: '序号'},
{ prop: "content", label: "问题"},
{ prop: "createUserName", label: "提问人员", width: 200 },
{ prop: "createTime", label: "提问时间", width: 200 },
{ prop: "createUserName", label: "提问人员", width: 200, align: 'center' },
{ prop: "createTime", label: "提问时间", width: 200, align: 'center' },
{ slot: "answerCount" },
{ slot: "options" },
],