chore: clean up

opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-19 18:05:02 +08:00
parent e5f3c3c922
commit a2ef4e6f84
99 changed files with 697 additions and 2097 deletions

View File

@@ -128,7 +128,6 @@ 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,15 +189,6 @@ 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

@@ -135,44 +135,19 @@ class UserInfoCard extends StatelessWidget {
),
if (card.vip?.vipStatus == 1) ...[
const SizedBox(width: 8),
Image.network(
card.vip!.label!.image!.http2https,
CachedNetworkImage(
imageUrl: Utils.thumbnailImgUrl(
card.vip!.label!.image!.http2https),
height: 20,
),
],
if (card.nameplate?.image?.isNotEmpty == true) ...[
const SizedBox(width: 8),
Image.network(
card.nameplate!.image!.http2https,
CachedNetworkImage(
imageUrl: Utils.thumbnailImgUrl(card.nameplate!.image!),
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,
// ),
// ),
// ),
// ),
],
),
),