|
@@ -271,6 +271,8 @@ export default {
|
|
|
type: "text",
|
|
|
content: `${numberToChinese(detail.number)}、${detail.name}`,
|
|
|
});
|
|
|
+ const dbodys = this.parseTopicDesc(detail.description);
|
|
|
+ renderStructList.push(...dbodys);
|
|
|
|
|
|
detail.questions.forEach((question) => {
|
|
|
if (question.subQuestions) {
|
|
@@ -348,6 +350,16 @@ export default {
|
|
|
|
|
|
return contents;
|
|
|
},
|
|
|
+ parseTopicDesc(richJson) {
|
|
|
+ const bodys = this.transformRichJson(richJson);
|
|
|
+ return bodys.map((body) => {
|
|
|
+ return {
|
|
|
+ cls: "detail-desc",
|
|
|
+ type: "json",
|
|
|
+ content: body,
|
|
|
+ };
|
|
|
+ });
|
|
|
+ },
|
|
|
parseTopicTitle(richJson, numberVal) {
|
|
|
if (!richJson) {
|
|
|
return {
|