logo和名称替换

This commit is contained in:
谢宇宁
2026-10-14 11:23:36 +07:00
parent 1cb514cd02
commit c5c04a7967
478 changed files with 8990 additions and 4948 deletions
@@ -1,12 +1,12 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:hgmj/assets_tool/app_colors.dart';
import 'package:hgmj/assets_tool/images.dart';
import 'package:hgmj/extension/extensions.dart';
import 'package:hgmj/hj_model/mine/exchange/bill_item_model.dart';
import 'package:hgmj/hj_utils/date_time_util.dart';
import 'package:hgmj/hj_utils/screen.dart';
import 'package:hgmj/tools_base/toast.dart';
import 'package:wydj/assets_tool/app_colors.dart';
import 'package:wydj/assets_tool/images.dart';
import 'package:wydj/extension/extensions.dart';
import 'package:wydj/hj_model/mine/exchange/bill_item_model.dart';
import 'package:wydj/hj_utils/date_time_util.dart';
import 'package:wydj/hj_utils/screen.dart';
import 'package:wydj/tools_base/toast.dart';
import '../withdraw_details_model.dart';
@@ -27,19 +27,28 @@ class GoldRecordItem extends StatelessWidget {
12.sizeBoxH,
Text(
model.desc ?? '',
style: TextStyle(color: Colors.white, fontSize: 14, fontWeight: FontWeight.w400),
style: TextStyle(
color: Colors.white,
fontSize: 14,
fontWeight: FontWeight.w400),
),
4.sizeBoxH,
Text(
model.createdAt.utcToYMDHM(),
style: TextStyle(color: Colors.white.withValues(alpha: .5), fontSize: 12, fontWeight: FontWeight.w400),
style: TextStyle(
color: Colors.white.withValues(alpha: .5),
fontSize: 12,
fontWeight: FontWeight.w400),
),
4.sizeBoxH,
Text(
model.tranType ?? '',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(color: Color(0xFFFFC000), fontSize: 14, fontWeight: FontWeight.w400),
style: TextStyle(
color: Color(0xFFFFC000),
fontSize: 14,
fontWeight: FontWeight.w400),
),
12.sizeBoxH,
1.line,
@@ -51,12 +60,18 @@ class GoldRecordItem extends StatelessWidget {
12.sizeBoxH,
Text(
'${model.realCount}${model.unit}',
style: TextStyle(color: Colors.white, fontSize: 14, fontWeight: FontWeight.w400),
style: TextStyle(
color: Colors.white,
fontSize: 14,
fontWeight: FontWeight.w400),
),
4.sizeBoxH,
Text(
'余额:${model.realAmount}',
style: TextStyle(color: Colors.white, fontSize: 14, fontWeight: FontWeight.w400),
style: TextStyle(
color: Colors.white,
fontSize: 14,
fontWeight: FontWeight.w400),
),
],
)
@@ -101,7 +116,10 @@ class RechargeRecordItem extends StatelessWidget {
'账单编号' + ': ${model.orderId}',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 14, color: Color(0xE5FFFFFF), fontWeight: FontWeight.w500),
style: TextStyle(
fontSize: 14,
color: Color(0xE5FFFFFF),
fontWeight: FontWeight.w500),
),
),
2.sizeBoxW,
@@ -178,7 +196,10 @@ class InComeRecordItem extends StatelessWidget {
children: [
Text(
"${model.tranType}",
style: const TextStyle(color: Color(0xFFEFEFEF), fontWeight: FontWeight.w500, fontSize: 14.0),
style: const TextStyle(
color: Color(0xFFEFEFEF),
fontWeight: FontWeight.w500,
fontSize: 14.0),
),
Container(
margin: EdgeInsets.symmetric(vertical: 4),
@@ -189,15 +210,24 @@ class InComeRecordItem extends StatelessWidget {
),
Text(
DateTimeUtil.utc2iso(model.createdAt ?? ''),
style: const TextStyle(color: Color(0xFF525252), fontWeight: FontWeight.w400, fontSize: 12.0),
style: const TextStyle(
color: Color(0xFF525252),
fontWeight: FontWeight.w400,
fontSize: 12.0),
),
12.sizeBoxH,
],
),
),
12.sizeBoxW,
Text(model.tranTypeInt == 111 ? "+${model.actualAmount}次" : "+${model.actualAmount}金币",
style: const TextStyle(color: const Color(0xffFFC000), fontWeight: FontWeight.w400, fontSize: 12.0),
Text(
model.tranTypeInt == 111
? "+${model.actualAmount}次"
: "+${model.actualAmount}金币",
style: const TextStyle(
color: const Color(0xffFFC000),
fontWeight: FontWeight.w400,
fontSize: 12.0),
textAlign: TextAlign.left)
],
),
@@ -228,7 +258,10 @@ class _WithdrawalRecordItemState extends State<WithdrawalRecordItem> {
12.sizeBoxH,
Text(
'${(model.money ?? 0) ~/ 100}元',
style: TextStyle(fontSize: 14, color: AppColors.actionRed, fontWeight: FontWeight.w500),
style: TextStyle(
fontSize: 14,
color: AppColors.actionRed,
fontWeight: FontWeight.w500),
),
6.sizeBoxH,
Row(
@@ -238,7 +271,10 @@ class _WithdrawalRecordItemState extends State<WithdrawalRecordItem> {
'账单编号' + ': ${model.id}',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 14, color: Color(0xE5FFFFFF), fontWeight: FontWeight.w500),
style: TextStyle(
fontSize: 14,
color: Color(0xE5FFFFFF),
fontWeight: FontWeight.w500),
),
),
InkWell(