1.录像页面,根据个人赛和团队赛 动态 录像页标题
2.录像结束弹窗按钮文本修改
This commit is contained in:
@@ -9,6 +9,11 @@ class RecordingContext {
|
||||
required this.playerPhone,
|
||||
this.laneNo,
|
||||
this.status,
|
||||
this.isTeam = false,
|
||||
|
||||
/// 对方队长
|
||||
this.opponentName = '',
|
||||
this.teamLeaderName = '',
|
||||
});
|
||||
|
||||
const RecordingContext.empty()
|
||||
@@ -20,7 +25,10 @@ class RecordingContext {
|
||||
playerName = '',
|
||||
playerPhone = '',
|
||||
laneNo = null,
|
||||
status = null;
|
||||
status = null,
|
||||
isTeam = false,
|
||||
opponentName = '',
|
||||
teamLeaderName = '';
|
||||
|
||||
final String eventTitle;
|
||||
final String matchName;
|
||||
@@ -31,8 +39,12 @@ class RecordingContext {
|
||||
final String playerPhone;
|
||||
final String? laneNo;
|
||||
final String? status;
|
||||
final bool isTeam;
|
||||
final String opponentName;
|
||||
final String teamLeaderName;
|
||||
|
||||
String get title => '$matchName $group';
|
||||
String get title =>
|
||||
isTeam ? '$teamLeaderName 队伍 vs $opponentName 队伍' : '$playerName $group';
|
||||
|
||||
String get address => venue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user