mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-06 01:57:45 +08:00
mod: mine page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -133,6 +133,7 @@ class VideoHttp {
|
|||||||
'bili-http-engine': 'cronet',
|
'bili-http-engine': 'cronet',
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
Utils.showCopyTextDialog(jsonEncode(res.data));
|
||||||
if (res.data['code'] == 0) {
|
if (res.data['code'] == 0) {
|
||||||
List<RecVideoItemAppModel> list = [];
|
List<RecVideoItemAppModel> list = [];
|
||||||
List<int> blackMidsList = GStorage.blackMidsList;
|
List<int> blackMidsList = GStorage.blackMidsList;
|
||||||
|
|||||||
@@ -282,13 +282,7 @@ class _MinePageState extends State<MinePage> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
AnimatedSwitcher(
|
Text(
|
||||||
duration: const Duration(milliseconds: 400),
|
|
||||||
transitionBuilder:
|
|
||||||
(Widget child, Animation<double> animation) {
|
|
||||||
return ScaleTransition(scale: animation, child: child);
|
|
||||||
},
|
|
||||||
child: Text(
|
|
||||||
(_mineController.userStat.value.dynamicCount ?? '-')
|
(_mineController.userStat.value.dynamicCount ?? '-')
|
||||||
.toString(),
|
.toString(),
|
||||||
key: ValueKey<String>(_mineController
|
key: ValueKey<String>(_mineController
|
||||||
@@ -296,7 +290,6 @@ class _MinePageState extends State<MinePage> {
|
|||||||
.toString()),
|
.toString()),
|
||||||
style: style,
|
style: style,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
Text(
|
Text(
|
||||||
'动态',
|
'动态',
|
||||||
@@ -333,20 +326,13 @@ class _MinePageState extends State<MinePage> {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
AnimatedSwitcher(
|
Text(
|
||||||
duration: const Duration(milliseconds: 400),
|
|
||||||
transitionBuilder:
|
|
||||||
(Widget child, Animation<double> animation) {
|
|
||||||
return ScaleTransition(scale: animation, child: child);
|
|
||||||
},
|
|
||||||
child: Text(
|
|
||||||
(_mineController.userStat.value.follower ?? '-')
|
(_mineController.userStat.value.follower ?? '-')
|
||||||
.toString(),
|
.toString(),
|
||||||
key: ValueKey<String>(
|
key: ValueKey<String>(
|
||||||
_mineController.userStat.value.follower.toString()),
|
_mineController.userStat.value.follower.toString()),
|
||||||
style: style,
|
style: style,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
Text(
|
Text(
|
||||||
'粉丝',
|
'粉丝',
|
||||||
|
|||||||
Reference in New Issue
Block a user