去掉相关文案

This commit is contained in:
zhx 2026-05-17 14:52:14 +08:00
parent 024bcf4ffc
commit d67b3181b0
11 changed files with 24 additions and 100 deletions

View File

@ -88,13 +88,7 @@ class _StoreChatboxPageState
height: 45.w,
fit: BoxFit.contain,
),
SizedBox(height: 3.w),
buildStoreBagItemTitle(
res.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 11.sp,
),
SizedBox(height: 3.w),
SizedBox(height: 10.w),
Row(
mainAxisSize: MainAxisSize.min,
children: [

View File

@ -87,13 +87,7 @@ class StoreDataCardPageState
fit: BoxFit.cover,
),
),
SizedBox(height: 8.w),
buildStoreBagItemTitle(
res.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 11.sp,
),
SizedBox(height: 3.w),
SizedBox(height: 12.w),
Row(
mainAxisSize: MainAxisSize.min,
children: [

View File

@ -87,13 +87,7 @@ class _StoreHeaddressPageState
width: 55.w,
height: 55.w,
),
SizedBox(height: 3.w),
buildStoreBagItemTitle(
res.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 11.sp,
),
SizedBox(height: 3.w),
SizedBox(height: 10.w),
Row(
mainAxisSize: MainAxisSize.min,
children: [

View File

@ -91,13 +91,7 @@ class _StoreMountainsPageState
width: 55.w,
height: 55.w,
),
SizedBox(height: 3.w),
buildStoreBagItemTitle(
res.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 11.sp,
),
SizedBox(height: 3.w),
SizedBox(height: 10.w),
Row(
mainAxisSize: MainAxisSize.min,
children: [

View File

@ -91,13 +91,7 @@ class _StoreThemePagePageState
height: 55.w,
borderRadius: BorderRadius.all(Radius.circular(8.w)),
),
SizedBox(height: 3.w),
buildStoreBagItemTitle(
res.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 11.sp,
),
SizedBox(height: 3.w),
SizedBox(height: 10.w),
Row(
mainAxisSize: MainAxisSize.min,
children: [

View File

@ -151,7 +151,7 @@ class _ProfileWallOfHonorsPageState extends State<ProfileWallOfHonorsPage> {
),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 3,
mainAxisExtent: 132.w,
mainAxisExtent: 96.w,
mainAxisSpacing: 14.w,
crossAxisSpacing: 12.w,
),
@ -161,39 +161,26 @@ class _ProfileWallOfHonorsPageState extends State<ProfileWallOfHonorsPage> {
Widget _buildBadgeItem(WearBadge badge) {
final url = _badgeUrl(badge);
final name = (badge.badgeName ?? "").trim();
return Column(
mainAxisSize: MainAxisSize.min,
children: [
Container(
width: 86.w,
height: 86.w,
alignment: Alignment.center,
decoration: BoxDecoration(
color: const Color(0xff0E332D),
borderRadius: BorderRadius.circular(8.w),
border: Border.all(
color: const Color(0xff18F2B1).withValues(alpha: 0.24),
),
),
child: netImage(
url: url,
width: 68.w,
height: 68.w,
fit: BoxFit.contain,
noDefaultImg: true,
return Center(
child: Container(
width: 86.w,
height: 86.w,
alignment: Alignment.center,
decoration: BoxDecoration(
color: const Color(0xff0E332D),
borderRadius: BorderRadius.circular(8.w),
border: Border.all(
color: const Color(0xff18F2B1).withValues(alpha: 0.24),
),
),
SizedBox(height: 8.w),
text(
name.isEmpty ? "--" : name,
fontSize: 12,
textColor: Colors.white,
fontWeight: FontWeight.w400,
maxLines: 2,
textAlign: TextAlign.center,
child: netImage(
url: url,
width: 68.w,
height: 68.w,
fit: BoxFit.contain,
noDefaultImg: true,
),
],
),
);
}

View File

@ -1,5 +1,3 @@
import 'package:extended_image/extended_image.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
@ -70,11 +68,6 @@ class _PropsStoreChatboxDetailDialogState
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(width: 15.w),
text(
widget.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 12.sp,
),
Spacer(),
Image.asset(
"sc_images/general/sc_icon_jb.png",

View File

@ -74,14 +74,7 @@ class _PropsStoreDataCardDetailDialogState
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(width: 15.w),
Expanded(
child: text(
widget.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 12.sp,
maxLines: 1,
),
),
const Spacer(),
Image.asset(
"sc_images/general/sc_icon_jb.png",
width: 22.w,

View File

@ -1,4 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
@ -77,11 +76,6 @@ class _PropsStoreHeaddressDetailDialogState
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(width: 15.w),
text(
widget.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 12.sp,
),
Spacer(),
Image.asset(
"sc_images/general/sc_icon_jb.png",

View File

@ -1,4 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
@ -16,7 +15,6 @@ import '../../../app/constants/sc_global_config.dart';
import '../../../app/routes/sc_fluro_navigator.dart';
import '../../../shared/data_sources/models/enum/sc_currency_type.dart';
import '../../../shared/data_sources/models/enum/sc_props_type.dart';
import '../../../shared/data_sources/sources/local/user_manager.dart';
import '../../../modules/wallet/wallet_route.dart';
import '../../../main.dart';
import '../../components/sc_debounce_widget.dart';
@ -76,11 +74,6 @@ class _PropsStoreMountainsDetailDialogState
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(width: 15.w),
text(
widget.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 12.sp,
),
Spacer(),
Image.asset(
"sc_images/general/sc_icon_jb.png",

View File

@ -1,4 +1,3 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
@ -76,11 +75,6 @@ class _PropsStoreThemeDetailDialogState
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(width: 15.w),
text(
widget.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 12.sp,
),
Spacer(),
Image.asset(
"sc_images/general/sc_icon_jb.png",