@using GBLab.Common.Expand;
@{
    Layout = "~/Views/School_Dormitory/Shared/_Layout_Dormitory.cshtml";
    var config = ViewData["DormitoryConfig"] as GBLab.Entities.Config.DormitoryConfig;
    var model = ViewData["data"] as GBLab.Entities.T_DormitoryImg;
}

<div class="row container" style="margin: auto;">

    <div class="col-sm-9">
        <div class="ibox btc3">
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="m-b-md">
                            <h2 class="textc">@(model.F_Name)</h2>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <dl class="dl-horizontal infoheader">

                            <dt>资源分类：</dt>
                            <dd>@(model.T_Type.F_Name)</dd>

                        </dl>
                    </div>
                    <div class="col-sm-6" id="cluster_info">
                        <dl class="dl-horizontal infoheader">
                            <dt>发布时间：</dt>
                            <dd>@(model.F_AddDate.ToString("yyyy-MM-dd"))</dd>
                        </dl>
                    </div>
                </div>
                <div class="row m-t-sm">
                    <div class="col-sm-12">
                        <div class="panel blank-panel">
                            <div class="panel-heading">
                                <div class="panel-options">
                                    <ul class="nav nav-tabs">
                                        <li>
                                            <a href="project_detail.html#tab-1" data-toggle="tab">公告相册</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="panel-body">
                                <div class="tab-content">
                                    <div class="tab-pane active" id="tab-1">
                                        <div class="lightBoxGallery">
                                            @{
                                                string[] items = model.F_Imgs.DefaultIsNullOrEmpty("").Split(',');
                                                foreach (var item in items)
                                                {
                                                    if (!string.IsNullOrWhiteSpace(item))
                                                    {
                                                        <a href="@(item)" title="通知相册" data-gallery=""><img src="@(item)"></a>
                                                    }
                                                }
                                            }

                                            <div id="blueimp-gallery" class="blueimp-gallery">
                                                <div class="slides"></div>
                                                <h3 class="title"></h3>
                                                <a class="prev">‹</a>
                                                <a class="next">›</a>
                                                <a class="close">×</a>
                                                <a class="play-pause"></a>
                                                <ol class="indicator"></ol>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row m-t-sm">
                    <div class="col-sm-12">
                        <div class="panel blank-panel">
                            <div class="panel-heading">
                                <div class="panel-options">
                                    <ul class="nav nav-tabs">
                                        <li>
                                            <a href="project_detail.html#tab-1" data-toggle="tab">公告内容</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="panel-body">
                                <div class="tab-content">
                                    <div class="tab-pane active" id="tab-1">
                                        @Html.Raw(model.F_Info.DefaultIsNullOrEmpty("") == "" ? "暂无" : model.F_Info.DefaultIsNullOrEmpty(""))
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="col-sm-3">
        @{Html.RenderPartial("~/Views/School_Dormitory/Views/Block/_Left_New.cshtml");}

        @{Html.RenderPartial("~/Views/School_Dormitory/Views/Block/_Left_Imgs.cshtml");}
    </div>
</div>
@section JavaScript{
}