mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-03 16:49:48 +08:00
@@ -347,25 +347,28 @@ class _ArticlePageState extends CommonDynPageState<ArticlePage> {
|
||||
src: controller.summary.author?.face,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
controller.summary.author?.name ?? '',
|
||||
style: TextStyle(
|
||||
fontSize: theme.textTheme.titleSmall!.fontSize,
|
||||
),
|
||||
),
|
||||
if (pubTime != null)
|
||||
Flexible(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
DateFormatUtils.format(pubTime),
|
||||
controller.summary.author?.name ?? '',
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.outline,
|
||||
fontSize:
|
||||
theme.textTheme.labelSmall!.fontSize,
|
||||
theme.textTheme.titleSmall!.fontSize,
|
||||
),
|
||||
),
|
||||
],
|
||||
if (pubTime != null)
|
||||
Text(
|
||||
DateFormatUtils.format(pubTime),
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.outline,
|
||||
fontSize:
|
||||
theme.textTheme.labelSmall!.fontSize,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -49,12 +49,10 @@ Widget htmlRender({
|
||||
return Hero(
|
||||
tag: imgUrl,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
PageUtils.imageView(
|
||||
imgList: [SourceModel(url: imgUrl)],
|
||||
quality: 60,
|
||||
);
|
||||
},
|
||||
onTap: () => PageUtils.imageView(
|
||||
imgList: [SourceModel(url: imgUrl)],
|
||||
quality: 60,
|
||||
),
|
||||
child: CachedNetworkImage(
|
||||
width: size,
|
||||
height: size,
|
||||
|
||||
@@ -191,12 +191,10 @@ class OpusContent extends StatelessWidget {
|
||||
return Hero(
|
||||
tag: pic.url!,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
PageUtils.imageView(
|
||||
imgList: [SourceModel(url: pic.url!)],
|
||||
quality: 60,
|
||||
);
|
||||
},
|
||||
onTap: () => PageUtils.imageView(
|
||||
imgList: [SourceModel(url: pic.url!)],
|
||||
quality: 60,
|
||||
),
|
||||
child: Center(
|
||||
child: CachedNetworkImage(
|
||||
width: width,
|
||||
|
||||
Reference in New Issue
Block a user