Revert "chore: clean up"

This reverts commit 538494b7ec.
This commit is contained in:
bggRGjQaUbCoE
2025-04-20 18:04:06 +08:00
parent a5c7ec0d60
commit 6f4321ae14
90 changed files with 1814 additions and 493 deletions

View File

@@ -128,6 +128,7 @@ class _MemberPageNewState extends State<MemberPageNew> {
children: _userController.tab2!.map((item) {
return switch (item.param!) {
'home' => MemberHome(heroTag: _heroTag),
// 'dynamic' => MemberDynamic(mid: _mid ?? -1),
'dynamic' => MemberDynamicsPage(mid: _mid),
'contribute' => Obx(
() => MemberContribute(

View File

@@ -189,6 +189,15 @@ class _EditProfilePageState extends State<EditProfilePage> {
onTap: () =>
Utils.copyText(loadingState.response['mid'].toString()),
),
// _divider,
// _item(
// title: '二维码名片',
// widget: Icon(
// Icons.qr_code,
// color: Theme.of(context).colorScheme.outline,
// ),
// onTap: () {},
// ),
_divider1,
_item(
title: '哔哩哔哩认证',

View File

@@ -155,6 +155,32 @@ class UserInfoCard extends StatelessWidget {
height: 20,
),
],
// GestureDetector(
// onTap: () {
// Utils.copyText(card.mid.toString());
// },
// child: Container(
// padding:
// const EdgeInsets.symmetric(horizontal: 8, vertical: 2.5),
// decoration: BoxDecoration(
// color: Theme.of(context).colorScheme.secondaryContainer,
// borderRadius: const BorderRadius.all(Radius.circular(12)),
// ),
// child: Text(
// 'uid: ${card.mid}',
// style: TextStyle(
// height: 1,
// fontSize: 12,
// color: Theme.of(context).colorScheme.onSecondaryContainer,
// ),
// strutStyle: const StrutStyle(
// height: 1,
// leading: 0,
// fontSize: 12,
// ),
// ),
// ),
// ),
],
),
),
@@ -381,18 +407,17 @@ class UserInfoCard extends StatelessWidget {
),
),
TextSpan(
text: isOwner
? '编辑资料'
: switch (relation) {
0 => '关注',
1 => '悄悄关注',
2 => '已关注',
4 || 6 => '已互关',
128 => '移除黑名单',
-10 => '特别关注', // 该状态码并不是官方状态码
_ => relation.toString(),
},
),
text: isOwner
? '编辑资料'
: switch (relation) {
0 => '关注',
1 => '悄悄关注',
2 => '已关注',
4 || 6 => '已互关',
128 => '移除黑名单',
-10 => '特别关注', // 该状态码并不是官方状态码
_ => relation.toString(),
}),
],
),
),