feat(mobile-next): 补齐语音未听红点、录音浮层与 50-60s 时限

按 B-187 打回修复 4.3/4.4 阻塞项,输入框与按住说话改用 searchBg。

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
编码工程师
2026-08-20 04:22:06 +08:00
co-authored by Cursor multica-agent
parent e40ece184b
commit 15d7f1935e
14 changed files with 233 additions and 78 deletions
@@ -535,6 +535,8 @@ const Map<String, String> en_US = {
"nWeek": "%s weeks",
"nMonth": "%s months",
"talkTooShort": "Talk too short",
"remainingRecordSeconds": "%s seconds left",
"autoSendMaxVoiceDuration": "Reached the 60-second limit, sent automatically",
'quoteContentBeRevoked': 'Quote content be revoked',
'tapTooShort': 'Tap too short',
'createGroupTips': 'The group name cannot exceed 16 characters',
@@ -535,6 +535,8 @@ const Map<String, String> zh_CN = {
"nWeek": "%s周",
"nMonth": "%s个月",
"talkTooShort": "说话时间太短",
"remainingRecordSeconds": "还可说 %s 秒",
"autoSendMaxVoiceDuration": "已达最长 60 秒,已自动发送",
'quoteContentBeRevoked': '引用内容已被删除',
'tapTooShort': '点击时间太短',
'createGroupTips': '群名称不能超过16个字符',
@@ -1090,6 +1090,10 @@ class StrRes {
static String get talkTooShort => 'talkTooShort'.tr;
static String get remainingRecordSeconds => 'remainingRecordSeconds'.tr;
static String get autoSendMaxVoiceDuration => 'autoSendMaxVoiceDuration'.tr;
static String get quoteContentBeRevoked => 'quoteContentBeRevoked'.tr;
static String get tapTooShort => 'tapTooShort'.tr;
@@ -12,7 +12,18 @@ class Styles {
static Color c_FFFFFF = const Color(0xFFFFFFFF); // 警告色
static Color c_18E875 = const Color(0xFF18E875); // 在线
static Color c_F0F2F6 = const Color(0xFFF0F2F6); // 聊天页底部
static Color c_F2F3F5 = const Color(0xFFF2F3F5); // 搜索/输入框底 searchBg
static Color c_000000 = const Color(0xFF000000); //
static Duration durationOverlay = const Duration(milliseconds: 150);
static Duration durationOverlaySwitch = const Duration(milliseconds: 100);
static bool Function(BuildContext) reduceMotion =
(BuildContext context) => MediaQuery.maybeOf(context)?.disableAnimations ?? false;
static Duration Function(BuildContext, Duration) motionOf =
(BuildContext context, Duration normal) => reduceMotion(context) ? Duration.zero : normal;
static Color c_92B3E0 = const Color(0xFF92B3E0);
static Color c_F2F8FF = const Color(0xFFF2F8FF); // 同步成功背景色
static Color c_F8F9FA = const Color(0xFFF8F9FA); // 默认背景
@@ -264,6 +275,11 @@ class Styles {
fontSize: 10.sp,
);
static TextStyle ts_FFB300_12sp = TextStyle(
color: c_FFB300,
fontSize: 12.sp,
);
static TextStyle ts_6085B1_17sp_medium = TextStyle(
color: c_6085B1,
fontSize: 17.sp,