@using WeOnlineApp.Authorization @using WeOnlineApp.Helpers @using WeOnlineApp.Views.Shared.Modals @model WeOnlineApp.Controllers.UserProfileViewModel @{ var userImagePath = string.IsNullOrEmpty(Model.ImagePath) ? "/Content/Image/user.png" : Model.ImagePath; var accountType = AbpSession.AccountType; }
修改密码
@(L("UserProfile"))
@Html.HiddenFor(a => a.UserId) @Html.HiddenFor(a => a.UserName)
@Model.UserName
@Model.RealName
@Model.EmailAddress
@Model.PhoneNumber
@if (accountType != 1 && 1 == 2) { string birthday = Model.Birthday != null ? Convert.ToDateTime(Model.Birthday).ToString("yyyy-MM-dd") : "";
@Model.PhoneNumber2
@Model.IdCard
@birthday
@Model.Profile
}
@(L(
@using (Html.BeginScripts()) { }