@model GBLab.Entities.T_UserWeb
@using GBLab.Common.Expand
@{
    Layout = null;
}
<form method="post" action="/Manage/UserWeb/Action_Edit_Add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
    <span id="UserWeb_TypeId" style="display: none;">@Request.QueryString["F_TypeId"].ToString()</span>
    <div class="tabs" currentindex="0" eventtype="click">
        <div class="tabsHeader">
            <div class="tabsHeaderContent">
                <ul>
                    <li><a href="javascript:;"><span>基本信息</span></a></li>
                    <li><a href="javascript:;"><span>个人头像</span></a></li>
                    <li><a href="javascript:;"><span>个人相册</span></a></li>
                    <li><a href="javascript:;"><span>账户信息</span></a></li>
                    <li><a href="javascript:;"><span>辅助信息</span></a></li>
                </ul>
            </div>
        </div>

        <div class="tabsContent" layoutH="78">
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl style="display: none;">
                        <dt>执行参数：</dt>
                        <dd>
                            <input type="text" name="Action" maxlength="20" alt="请输入执行参数" value='@Request.QueryString["Action"].ToString()' />
                        </dd>
                    </dl>


                    <dl class='nowrap' style="display: none;">
                        <dt>类别ID：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_TypeId", "类别ID", Model.F_TypeId == null ? "" : Model.F_TypeId.ToString(), "true", "", "1", "80", "", ""))
                        </dd>
                    </dl>

                    <dl class='nowrap'>
                        <dt>类别名称：</dt>
                        <dd>
                            <input style="width: 300px" id="Item_F_TypeName" type="text" readonly value="@(Model.T_Type==null?"":Model.T_Type.F_Name.ToString())" onclick="Item_F_TypeName_ShowMenu()" />
                        </dd>
                    </dl>

                    <dl class='nowrap' style="display:none;">
                        <dt>相关类别IDS：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_TypeIds", "类别ID", Model.F_TypeIds == null ? "" : Model.F_TypeIds.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>

                    <dl class='nowrap'>
                        <dt>相关类别：</dt>
                        <dd>
                            <input id="Item_F_TypeNames" type="text" readonly value="@(Model.F_TypeIds == null ? "" : GBLab.Entities.T_Type.GetNamesByIds(Model.F_TypeIds.ToString()))" style="width:300px;" onclick="Item_F_TypeNames_ShowMenu()" />
                        </dd>
                    </dl>
                    <dl>
                        <dt>唯一标识：</dt>
                        <dd style="color:green;font-weight:bold;">
                            @("【ID:" + Model.F_Id.ToString() + "】-【Guid:" + Model.F_Guid.ToString() + "】")
                        </dd>
                    </dl>


                    <dl class='nowrap'>
                        <dt>昵称：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Name", "昵称", Model.F_Name == null ? "" : Model.F_Name.ToString(), "true", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>个人格言：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_MutiRow("F_Motto", Model.F_Motto == null ? "" : Model.F_Motto.ToString(), "5", "100"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>微信性别：</dt>
                        <dd>
                            @Html.DropDownListFor(model => model.F_WeiXinSex, ViewData["DroupInfo_Sex"] as List<SelectListItem>, new { @class = "combox", @id = "Item_F_WeiXinSex" })
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>微信语言：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_WeiXinLanguage", "微信语言", Model.F_WeiXinLanguage == null ? "" : Model.F_WeiXinLanguage.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>国家：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_WeiXinCountry", "国家", Model.F_WeiXinCountry == null ? "" : Model.F_WeiXinCountry.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>省份：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_WeiXinProvince", "省份", Model.F_WeiXinProvince == null ? "" : Model.F_WeiXinProvince.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>城市：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_WeiXinCity", "城市", Model.F_WeiXinCity == null ? "" : Model.F_WeiXinCity.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>状态：</dt>
                        <dd>
                            @Html.DropDownListFor(model => model.F_MarkStatus, ViewData["MarkStatus"] as List<SelectListItem>, new { @class = "combox", })
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>排序：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_SortOrder", "排序", Model.F_SortOrder == null ? "" : Model.F_SortOrder.ToString(), "true", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>个人简介：</dt>
                        <dd>
                            @Html.Raw(Html.WebEditor("F_Info", Model.F_Info == null ? "" : Model.F_Info.ToString(), "18", "120"))
                        </dd>
                    </dl>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl class='nowrap'>
                        <dt>头像：</dt>
                        <dd style='margin-bottom:15px;'>
                            @Html.Raw(Html.WebFile_Image("F_Logo", Model.F_Logo == null ? "" : Model.F_Logo.ToString(), "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>微信logo：</dt>
                        <dd style='margin-bottom:15px;'>
                            @Html.Raw(Html.WebFile_Image("F_WeiXinLogo", Model.F_WeiXinLogo == null ? "" : Model.F_WeiXinLogo.ToString(), "true"))
                        </dd>
                    </dl>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl class='nowrap'>
                        <dt>个人相册：</dt>
                        <dd style='margin-bottom:15px;'>
                            @Html.Raw(Html.WebFile_Image("F_Imgs", Model.F_Imgs == null ? "" : Model.F_Imgs.ToString(), "true"))
                        </dd>
                    </dl>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl class='nowrap'>
                        <dt>账户：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Account", "账户", Model.F_Account == null ? "" : Model.F_Account.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>密码：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Password", "密码", Model.F_Password == null ? "" : Model.F_Password.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl class='nowrap'>
                        <dt>Id：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Id", "Id", Model.F_Id == null ? "" : Model.F_Id.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>Guid：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Guid", "Guid", Model.F_Guid == null ? "" : Model.F_Guid.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap' style="display:none;">
                        <dt>扩展分类标识：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_MarkName", "扩展分类标识", Model.F_MarkName == null ? "" : Model.F_MarkName.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>自己登录次数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_LoginNum", "自己登录次数", Model.F_LoginNum == null ? "" : Model.F_LoginNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>自己浏览内容次数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_ViewNum", "自己浏览内容次数", Model.F_ViewNum == null ? "" : Model.F_ViewNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>分享信息数量：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_ShareNum", "分享信息数量", Model.F_ShareNum == null ? "" : Model.F_ShareNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>资讯数量：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_NewsNum", "资讯数量", Model.F_NewsNum == null ? "" : Model.F_NewsNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>资讯包含图片数量：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_NewsImagesNum", "资讯包含图片数量", Model.F_NewsImagesNum == null ? "" : Model.F_NewsImagesNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>案例数量：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_CasesNum", "案例数量", Model.F_CasesNum == null ? "" : Model.F_CasesNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>案例包含图片数量：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_CasesImagesNum", "案例包含图片数量", Model.F_CasesImagesNum == null ? "" : Model.F_CasesImagesNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>全部图片数量：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_AllImagesNum", "全部图片数量", Model.F_AllImagesNum == null ? "" : Model.F_AllImagesNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>注册日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_RegDate", Model.F_RegDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>注册IP：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_RegIp", "注册IP", Model.F_RegIp == null ? "" : Model.F_RegIp.ToString(), "false", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>注册地址：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_RegAddress", "注册地址", Model.F_RegAddress == null ? "" : Model.F_RegAddress.ToString(), "false", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>最后登录日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_LastLoginDate", Model.F_LastLoginDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>最后登录IP：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_LastLoginIp", "最后登录IP", Model.F_LastLoginIp == null ? "" : Model.F_LastLoginIp.ToString(), "false", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>最后登录地址：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_LastLoginAddress", "最后登录地址", Model.F_LastLoginAddress == null ? "" : Model.F_LastLoginAddress.ToString(), "false", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>留言次数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_GuestBookNum", "留言次数", Model.F_GuestBookNum == null ? "" : Model.F_GuestBookNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>好评次数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_GoodNum", "好评次数", Model.F_GoodNum == null ? "" : Model.F_GoodNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>差评次数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_BadNum", "差评次数", Model.F_BadNum == null ? "" : Model.F_BadNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>被访问人数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_VisitNum", "被访问人数", Model.F_VisitNum == null ? "" : Model.F_VisitNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>被访问页面次数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_VisitPageNum", "被访问页面次数", Model.F_VisitPageNum == null ? "" : Model.F_VisitPageNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>贡献值：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_ContributionNum", "贡献值", Model.F_ContributionNum == null ? "" : Model.F_ContributionNum.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>添加人：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_AddUserId", "添加人", Model.T_AddUser == null ? "" : Model.T_AddUser.F_Name, "true", "", "1", "80", "", "", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>添加日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_AddDate", Model.F_AddDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>更新人：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_UpdateUserId", "更新人", Model.T_UpdateUser == null ? "" : Model.T_UpdateUser.F_Name, "true", "", "1", "80", "", "", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>更新日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_UpdateDate", Model.F_UpdateDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true", "true"))
                        </dd>
                    </dl>
                </div>
            </div>
        </div>
        <div class="tabsFooter">
            <div class="tabsFooterContent">
            </div>
        </div>
    </div>
    <div class="tabsFooter">
        <div class="tabsFooterContent">
            <div class="formBar" style="padding: 0;border-width: 1px;margin-top:3px;">
                <ul style="margin-top: 3px; margin-right: 3px;">
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    提交
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="button" onclick="$.pdialog.reload('/Manage/UserWeb/Edit?Action=Add&F_TypeId=' + @Request.QueryString["F_TypeId"].ToString(), '' , 'TagEditPage' )">
                                    创建
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="button">
                            <div class="buttonContent">
                                <button type="button" class="close">
                                    取消
                                </button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</form>

@*单选树*@
<div id="Item_F_TypeName_Div" class="menuContent" style="display:none; position: absolute;">
    <ul id="Item_TypeName_Div_Tree" class="ztree" style="margin-top:0; width:180px; height: 300px;background-color:white;border:1px solid #efefef;"></ul>
</div>

@*相关类别多选下拉树*@
<div id="Item_F_TypeNames_Div" class="menuContent" style="display:none; position: absolute;">
    <ul id="Item_TypeNames_Div_Tree" class="ztree" style="margin-top:0; width:180px; height: 300px;background-color:white;border:1px solid #efefef;"></ul>
</div>

<script>
    var Item_TypeId = 13916;
</script>

@Html.Partial("~/Areas/Manage/Views/Shared/PartialPage/Module/Edit/_Script_Tree.cshtml")