去掉相关文案

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, height: 45.w,
fit: BoxFit.contain, fit: BoxFit.contain,
), ),
SizedBox(height: 3.w), SizedBox(height: 10.w),
buildStoreBagItemTitle(
res.res.propsResources?.name ?? "",
textColor: Colors.white,
fontSize: 11.sp,
),
SizedBox(height: 3.w),
Row( Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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