@model List @section styles{ } @if (Model != null && Model.Count > 0) {
@foreach (var item in Model) { var url = "/images/empty.png"; var needAuth = item.GetDataValue("NeedAuth") == "是"; var hasAuth = item.GetDataValue("hasAuth") == "是"; if (!needAuth || hasAuth) { url = Url.Action("Image", "Home", new { id = item.Number }); }

@item.GetDataValue("StreamUri")

PTZ支持:@item.GetDataValue("SubPtz3DZoomSupport") 需认证:@Html.DisplayFor(o => needAuth) @if (needAuth) { 已认证:@Html.DisplayFor(o => hasAuth) }
}
} @section scripts{ }