弹出窗口元件

<a dialog-url="/admin/diy/WidgetEdit?key=@key&groupName=@groupName&appName=@appName" 
                                            dialog-title="模块编辑" class="dropdown-toggle" 
                          dialog-size="@DialogSize.Size900"dialog-color="@ColorLibrary.Red">模块编辑</a>

 

dialog-url:弹出窗口的URL 必填
dialog-title:标题
dialog-color:主题颜色,可以使用ColorLibrary枚举值 ,也可以使用具体的颜色值,比如输入Red  http://ui.5ug.com/metronic_v4.5.4/theme/admin_4/ui_colors.html
dialog-size:弹出窗口大小

 

    public enum DialogSize {
        /// <summary>
        /// 宽度为200px;
        /// </summary>
        Size200,
        /// <summary>
        /// 宽度为300px;
        /// </summary>
        Size300,
        /// <summary>
        /// 大窗口 宽度500
        /// </summary>
        Size500,
        /// <summary>
        ///宽度600;
        /// </summary>
        Size600,
        /// <summary>
        ///宽度600;
        /// </summary>
        Size800,
        /// <summary>
        ///宽度900;
        /// </summary>
        Size900,
        /// <summary>
        ///宽度1000;
        /// </summary>
        Size1000,
        /// <summary>
        ///宽度1200;
        /// </summary>
        Size1200,
        /// <summary>
        /// 全屏
        /// </summary>
        FullSize,
    }

 

posted on 2016-06-28 12:05  ZKCloud  阅读(385)  评论(0编辑  收藏  举报