@using IwbZero.ToolCommon.StringModel @using WeApp.TrainingCamp.Dto @using WeOnlineApp.Configuration @using WeOnlineApp.Models.Play @using WeOnlineApp.TrainingCamp.Dto @using WeOnlineApp.TrainingCampPlay.Dto @model WeOnlineApp.Models.Play.CampPlayModel @{ Layout = "~/Views/Shared/Layout/_Layout.None.cshtml"; ViewBag.PageId = "start"; ViewBag.Title = "等待演练"; CampPlayModel campPlay = Model; CampPlayDto play = campPlay.Play; CampDto camp = campPlay.Camp; CampPlayUserDto playUser = campPlay.PlayUser; var imagePath = string.IsNullOrEmpty(AbpSession.AvatarImagePath) ? "/Content/Image/user.png" : AbpSession.AvatarImagePath; }

@(play.Name) (@(camp?.Name))

@(AbpSession.RealName)
@(AbpSession.RealName)
@if (playUser == null) {
} else if (playUser.PlayerType == CampPlayerTypeDefinition.Creator) {
邀请码:@(play.InvitationCode)
} else { string style1 = "display:none", style2 = "display:none"; if (playUser.PlayerState == CampPlayUserStateDefinition.Ready) { style1 = "display:block"; } else if (playUser.PlayerState == CampPlayUserStateDefinition.New || playUser.PlayerState == CampPlayUserStateDefinition.CancelReady) { style2 = "display:block"; } var roleNames = ""; ; if (play.PlayRoleNames.IsNotEmpty()) { var arr = play.PlayRoleNames.Split(','); foreach (var role in arr) { roleNames += ""; } }
@(playUser.Role)
}
@if (play.PlayModel == CampPlayModelDefinition.Team) {
} @section scripts { }