@{
    string templateDirectory = ViewBag.TemplateDirectory;
    string infoTable = (string)ViewBag.InfoTable; //当前信息表
    int infoId = (int)ViewBag.InfoId; //当前信息表id
                                      //通过扩展方法获取
    dynamic infoData = Html.InfoData();
}
<div class="main_box">
    <div class="main_box_inner">
        <div class="main_box_inner_left">
            @Html.Partial("leftPartial")
        </div>
        <div class="main_box_inner_right">
            <div class="sublanmu_box">
                <ul class="clearfix product_pic_infor">
                    <li class="col-sm-5 col-xs-12">
                        @{ 
                            IEnumerable<dynamic> dateList = Html.AttachmentDataList(new { ParentTable = infoTable, ParentField = "tpz", ParentId = infoId });
                        }
                        @if (dateList.Count()>0)
                        {
                            <text>
                                @Html.Partial("productConModel", dateList)
                            </text>
                        }
                    </li>
                    <li class="col-sm-7 col-xs-12">
                        <span class="title">@infoData.Title</span>
                        <div class="cpjj-box">@infoData.Introduction</div>
                    </li>
                </ul>
                <div class="clearfix prodinfotab">
                    <div class="tabheader">详细内容</div>
                    <div class="tabcontent">
                        @Html.Raw(infoData.Content)
                    </div>
                </div>
                <ul class="sublanmu_pn">
                    <li class="syb">上一篇：<a href="/index.aspx?lanmuid=67&sublanmuid=695&id=89">产品3</a></li>
                    <li class="xyb">下一篇：<a href="/index.aspx?lanmuid=67&sublanmuid=695&id=87">产品1</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>