fix: 动态专栏重复
This commit is contained in:
@ -34,25 +34,25 @@ Widget articlePanel(item, context, {floor = 1}) {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
],
|
],
|
||||||
Text(
|
// Text(
|
||||||
item.modules.moduleDynamic.major.opus.title,
|
// item.modules.moduleDynamic.major.opus.title,
|
||||||
style: Theme.of(context)
|
// style: Theme.of(context)
|
||||||
.textTheme
|
// .textTheme
|
||||||
.titleMedium!
|
// .titleMedium!
|
||||||
.copyWith(fontWeight: FontWeight.bold),
|
// .copyWith(fontWeight: FontWeight.bold),
|
||||||
),
|
// ),
|
||||||
const SizedBox(height: 2),
|
// const SizedBox(height: 2),
|
||||||
if (item.modules.moduleDynamic.major.opus.summary.text !=
|
// if (item.modules.moduleDynamic.major.opus.summary.text !=
|
||||||
'undefined') ...[
|
// 'undefined') ...[
|
||||||
Text(
|
// Text(
|
||||||
item.modules.moduleDynamic.major.opus.summary.richTextNodes.first
|
// item.modules.moduleDynamic.major.opus.summary.richTextNodes.first
|
||||||
.text,
|
// .text,
|
||||||
maxLines: 4,
|
// maxLines: 4,
|
||||||
style: const TextStyle(height: 1.55),
|
// style: const TextStyle(height: 1.55),
|
||||||
overflow: TextOverflow.ellipsis,
|
// overflow: TextOverflow.ellipsis,
|
||||||
),
|
// ),
|
||||||
const SizedBox(height: 2),
|
// const SizedBox(height: 2),
|
||||||
],
|
// ],
|
||||||
picWidget(item, context)
|
picWidget(item, context)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user