mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
@@ -347,13 +347,15 @@ class _ArticlePageState extends CommonDynPageState<ArticlePage> {
|
||||
src: controller.summary.author?.face,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Column(
|
||||
Flexible(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
controller.summary.author?.name ?? '',
|
||||
style: TextStyle(
|
||||
fontSize: theme.textTheme.titleSmall!.fontSize,
|
||||
fontSize:
|
||||
theme.textTheme.titleSmall!.fontSize,
|
||||
),
|
||||
),
|
||||
if (pubTime != null)
|
||||
@@ -367,6 +369,7 @@ class _ArticlePageState extends CommonDynPageState<ArticlePage> {
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -49,12 +49,10 @@ Widget htmlRender({
|
||||
return Hero(
|
||||
tag: imgUrl,
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
PageUtils.imageView(
|
||||
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(
|
||||
onTap: () => PageUtils.imageView(
|
||||
imgList: [SourceModel(url: pic.url!)],
|
||||
quality: 60,
|
||||
);
|
||||
},
|
||||
),
|
||||
child: Center(
|
||||
child: CachedNetworkImage(
|
||||
width: width,
|
||||
|
||||
@@ -137,9 +137,12 @@ class _ArticleListPageState extends State<ArticleListPage> with GridMixin {
|
||||
if (_controller.author != null) ...[
|
||||
const SizedBox(height: 10),
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onTap: () =>
|
||||
Get.toNamed('/member?mid=${_controller.author!.mid}'),
|
||||
child: Row(
|
||||
spacing: 10,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
NetworkImgLayer(
|
||||
width: 30,
|
||||
@@ -147,8 +150,7 @@ class _ArticleListPageState extends State<ArticleListPage> with GridMixin {
|
||||
src: _controller.author!.face,
|
||||
type: ImageType.avatar,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Text(_controller.author!.name!),
|
||||
Flexible(child: Text(_controller.author!.name!)),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -191,6 +191,7 @@ class _DynTopicPageState extends State<DynTopicPage> with DynMixin {
|
||||
'/member?mid=${response.topicCreator!.uid}',
|
||||
),
|
||||
child: Row(
|
||||
spacing: 10,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
NetworkImgLayer(
|
||||
@@ -199,7 +200,6 @@ class _DynTopicPageState extends State<DynTopicPage> with DynMixin {
|
||||
src: response.topicCreator!.face!,
|
||||
type: ImageType.avatar,
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
Flexible(
|
||||
child: Text(
|
||||
response.topicCreator!.name!,
|
||||
|
||||
@@ -144,11 +144,9 @@ class _PgcIntroPageState extends State<PgcIntroPage> {
|
||||
clipBehavior: Clip.none,
|
||||
children: [
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
PageUtils.imageView(
|
||||
onTap: () => PageUtils.imageView(
|
||||
imgList: [SourceModel(url: item.cover!)],
|
||||
);
|
||||
},
|
||||
),
|
||||
child: Hero(
|
||||
tag: item.cover!,
|
||||
child: NetworkImgLayer(
|
||||
|
||||
@@ -397,11 +397,9 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage> {
|
||||
}
|
||||
|
||||
Widget _buildAvatar(String face) => GestureDetector(
|
||||
onTap: () {
|
||||
PageUtils.imageView(
|
||||
onTap: () => PageUtils.imageView(
|
||||
imgList: [SourceModel(url: face)],
|
||||
);
|
||||
},
|
||||
),
|
||||
child: NetworkImgLayer(
|
||||
src: face,
|
||||
type: ImageType.avatar,
|
||||
|
||||
@@ -183,6 +183,7 @@ class _WhisperBlockPageState extends State<WhisperBlockPage> {
|
||||
),
|
||||
GestureDetector(
|
||||
onTap: Get.back,
|
||||
behavior: HitTestBehavior.opaque,
|
||||
child: Icon(
|
||||
Icons.clear,
|
||||
color: theme.colorScheme.onSurfaceVariant,
|
||||
|
||||
@@ -72,6 +72,7 @@ class _WhisperDetailPageState
|
||||
),
|
||||
),
|
||||
title: GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onTap: () {
|
||||
if (_whisperDetailController.mid != null) {
|
||||
feedBack();
|
||||
@@ -79,6 +80,7 @@ class _WhisperDetailPageState
|
||||
}
|
||||
},
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
NetworkImgLayer(
|
||||
width: 34,
|
||||
|
||||
@@ -223,7 +223,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: main
|
||||
resolved-ref: "9986919515728fb501e3e62bf4d277dfcd96b799"
|
||||
resolved-ref: "6fee1a981775bee401224c2d622ce50768313746"
|
||||
url: "https://github.com/bggRGjQaUbCoE/canvas_danmaku.git"
|
||||
source: git
|
||||
version: "0.2.6"
|
||||
|
||||
Reference in New Issue
Block a user