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