mod: mine page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-08 20:12:56 +08:00
parent 0eac1b2c69
commit 4d35dfe2f0
2 changed files with 14 additions and 27 deletions

View File

@@ -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;

View File

@@ -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(
'粉丝', '粉丝',