@using GBLab.Common.Expand;
@{
    Layout = "~/Areas/Manage/Views/DefaultSkin/Shared/_Layout_Base.cshtml";
}

@section Head{
    @(RenderSection("Head", required: false))
    <script src="/App_Scripts/Jquery/plugin/jquery.extensions/jquery.jdirk.js"></script>

    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/icons/icon-hamburg.css" rel="stylesheet" />
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/icons/icon-standard.css" rel="stylesheet" />
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/icons/icon-other.css" rel="stylesheet" />
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/base/jeasyui.extensions.base.css" rel="stylesheet" />
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/messager/jeasyui.extensions.messager.css" rel="stylesheet" />
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/jeasyui.extensions.iframe.deal.js"></script>


    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/datagrid/jeasyui.extensions.datagrid.css" rel="stylesheet" />
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/menu/jeasyui.extensions.menu.js"></script>
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/datagrid/jeasyui.extensions.datagrid.columnToggle.js"></script>


    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/datagrid/jeasyui.extensions.datagrid.getDom.js"></script>
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/datagrid/jeasyui.extensions.datagrid.highlightColumn.js"></script>


    @*---*@
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/messager/jeasyui.extensions.messager.alert.js"></script>


    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/selector/common/jeasyui.extensions.dialog.sealed.sample.js"></script>
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/base/jeasyui.extensions.base.isEasyUI.js"></script>
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/base/jeasyui.extensions.base.current.js"></script>
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/toolbar/jeasyui.extensions.toolbar.css" rel="stylesheet" />
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/toolbar/jeasyui.extensions.toolbar.js"></script>
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/selector/common/jeasyui.extensions.selector.base.js"></script>
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/selector/jeasyui.extensions.selector.css" rel="stylesheet" />
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/selector/jeasyui.extensions.selector.accordionDblDatagrid.js"></script>
    <link href="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/base/jeasyui.extensions.base.css" rel="stylesheet" />
    <script src="/App_Scripts/Jquery/plugin/jquery.easyui.extensions/base/jeasyui.extensions.base.loading.js"></script>


    <link href="~/App_Scripts/Jquery/plugin/jquery.easyui.extensions/panel/jeasyui.extensions.panel.css" rel="stylesheet" />
    <script src="~/App_Scripts/Jquery/plugin/jquery.easyui.extensions/linkbutton/jeasyui.extensions.linkbutton.setPlain.js"></script>
    <script src="~/App_Scripts/Jquery/plugin/jquery.easyui.extensions/panel/jeasyui.extensions.panel.iframe.js"></script>
    <script src="~/App_Scripts/Jquery/plugin/jquery.easyui.extensions/window/jeasyui.extensions.window.autoCenter.js"></script>
    <script src="~/App_Scripts/Jquery/plugin/jquery.easyui.extensions/dialog/jeasyui.extensions.dialog.sealed.js"></script>


    <script src="~/App_Scripts/Jquery/plugin/jquery.easyui.extensions/jeasyui.datagrid.extensions.js"></script>


    <script src="/App_Scripts/Editor/UEditor/ueditor.config.js?v=2"></script>
    <script src="/App_Scripts/Editor/UEditor/ueditor.all.js?v=3"></script>
    <script src="/App_Scripts/Editor/UEditor/addCustomizeButton.js"></script>


    <script src="/App_Scripts/Jquery/plugin/jquery.tableExport/tableExport.js"></script>


    <script type="text/javascript">
        $(function () {
            //easyui placeholder 解决方案
            window.onload = numberInputPlaceholder();
        });

        /**
        easyui number placeholder
        */
        function numberInputPlaceholder() {
            $(".easyui-combotree").each(function (i) {
                var span = $(this).siblings("span")[0];
                var targetInput = $(span).find("input:first");
                if (targetInput) {
                    $(targetInput).attr("placeholder", $(this).attr("placeholder"));
                }
            });
        }
        

        // ---------------------------------------------------- 初始参数 ----------------------------------------------------
        var Template = '@(ViewData["Template"])';                                           // 模板名称
        var MvcMarkName = '@(ViewData["MvcMarkName"])';                                     // 扩展分类
        var MvcClassID = '@(ViewData["MvcClassID"].DefaultIsNullOrEmpty(0))';               // 类别ID
        
        // 通过ID创建功能链接
        function createLink(id) {
            return "/manage/default/Post?ActionGUID=" + id + "&Template=" + Template + "&MvcMarkName=" + MvcMarkName + "&MvcClassID=" + $("#SearchClassID").val();
        }
    </script>
}

<div data-options="region:'center',border:false" style="background:#f3f3f4!important;">
    <div class="easyui-layout" data-options="fit:true,border:false">
        @RenderBody()
    </div>
</div>

@(RenderSection("Toolbar", required: false))

@section JavaScript{
    @(RenderSection("JavaScript", required: false))
}