@model DTO.ExpertTestTopicpeizhiDTO @using DTO; @using zhengcaioa.Models; @{ List topictype = ViewData["topictype"] as List; //结论类型 List zhishitype = ViewData["zhishitype"] as List; //结论类型 List expertTestTopicpeizhiDTOs = ViewBag.expertTestTopicpeizhiDTOs as List; //数据 } @{ Layout = null; } @(SiteConfig.SiteName) @**@ @**@ @**@ @**@ @**@ @**@ @**@ @**@ @**@ @**@ @**@ @**@ @**@
 基本信息
@for (int i = 0; i < expertTestTopicpeizhiDTOs.Count; i++) { if (i == 0 || expertTestTopicpeizhiDTOs[i].Topictype != expertTestTopicpeizhiDTOs[i - 1].Topictype) {
@expertTestTopicpeizhiDTOs[i].Topictype @expertTestTopicpeizhiDTOs[i].TopictypeName (数量: 题 分值: 分)
} @if (i == 0 || (i + 1) % 4 == 0) { @Html.Raw("
") }
@if (i != 0 && ( i == (expertTestTopicpeizhiDTOs.Count - 1) || expertTestTopicpeizhiDTOs[i].Topictype != expertTestTopicpeizhiDTOs[i + 1].Topictype)) { @Html.Raw("
") } }