2025-03-27 15:05:14 +08:00

144 lines
6.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SuperMap.RealEstate.Portal.Default" %>
<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml" id="sm_html">
<head id="Head1" runat="server">
<title>商业综合管理平台</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link href="StyleSheet/Default.css" rel="stylesheet" type="text/css" />
<link href="StyleSheet/PopupMenu.css" rel="stylesheet" type="text/css" />
<script src="JavaScript/Default.js" type="text/javascript"></script>
<script>
function BindPhone() {
_BindPhone();
}
function _BindPhone() {
var _PassportPhone = top.document.documentElement.getAttribute("PassportPhone");
console.log("_PassportPhone" + _PassportPhone);
var title = (_PassportPhone == "" || _PassportPhone == null) ? "绑定手机号" : "更新手机号";
var text = (_PassportPhone == "" || _PassportPhone == null) ?
"请输入手机号,并点击绑定。" : ("您当前的手机号" + _PassportPhone);
var diag = new Dialog();
diag.Config = {
id: "BindPhone",
title: RealEstate.Page.Title(),
width: 500,
height: 400,
resize: true,
frame: {
mode: "url",
resize: "true",
loading: true,
url: RealEstate.Page.AddRandomToUrl("/Portal/RelateUserPhone.aspx?PassportPhone=" + _PassportPhone)
},
message:
{
title: title,
show: true,
text: text,
icon: Dialog.Skin.FrameMessage_Login
},
button: {
show: false,
no: {
show: true,
fn: function () {
diag.close(); diag.ready = true;
}
}
}
}
diag.show();
}
function ShowUserInfo() {
var diagUrl = '/PlatformModuleManage/Modules/FrameWork/UserAuthoritySearch/UserPage.aspx';
var diag = new Dialog();
diag.Config = {
id: "UserInfo",
title: null,
width: 1300,
height: 800,
resize: true,
frame: {
mode: "url",
resize: "true",
loading: true,
url: RealEstate.Page.AddRandomToUrl(diagUrl + "?DataFormat=Passport")
},
button: {
show: false,
no: {
show: true,
fn: function () {
diag.close(); diag.ready = true;
}
}
}
}
diag.show();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<!--页头-->
<div id="Container_Banner" class="Container_Banner">
<div id="Banner_Title" class="Banner_Title" runat="server">
<span style="font-size: 9px; _font-size: 8pt;"></span>
</div>
<div class="Banner_MenuBar">
<!--href="javascript:RealEstate.Identity.UserSetting();"-->
<a href="javascript:ShowUserInfo();"><span runat="server" id="LabelUserName">用户:</span></a>
<b>|</b><a href="javascript:RealEstate.Identity.Lock();">锁定</a>
<a href="javascript:RealEstate.Identity.ModifyPassWord();"> 密码</a>
<b>|</b><a href="javascript:RealEstate.Identity.Reload();">刷新</a>
<b>|</b><a href="javascript:BindPhone();" style="color: orangered;"><%= _BindPhoneName %></a>
<%--<b>|</b><a href="javascript:RealEstate.Identity.WebPlatformLaunch();" style="color: #ff6a00">客户端扩展</a>--%>
<b>|</b><a href="javascript:RealEstate.Identity.Logout();">退出</a>
</div>
<div id="Banner_TabSheetBar" class="Banner_TabSheetBar">
<!--选项卡头部-->
</div>
</div>
<!--侧栏-->
<div id="Container_SideBar" class="Container_SideBar">
<div style="padding: 5px 10px 5px 5px">
<asp:TreeView ID="MyTreeView" runat="server" OnTreeNodePopulate="MyTreeView_TreeNodePopulate"
SkipLinkText="" CollapseImageToolTip="" ExpandImageToolTip="" ShowLines="True" ExpandDepth="-1">
<NodeStyle Height="20px" />
</asp:TreeView>
</div>
</div>
<!--分割线-->
<div id="Container_SplitBar" class="Container_SplitBar" onmousedown="RealEstate.SplitBarControl.Start(this,Container_SplitBar_Resize,false,300);">
</div>
<!--工作栏-->
<div id="Container_TabSheetBar" class="Container_TabSheetBar">
<!--选项卡内容-->
</div>
<!--页脚-->
<div id="Container_FooterBar" class="Container_FooterBar">
<div class="Footer_Left">
<div id="Footer_CopyRight" class="Footer_License" runat="server" style="display:none;">
</div>
</div>
<div class="Footer_Center">
<iframe id="UrlProtocol_Frame" name="UrlProtocol_Frame" style="width: 1px; height: 1px; border: 0px solid #fff"></iframe>
</div>
<div class="Footer_Right">
<!--<b>|</b>&copy;2015 杭州驿商科技有限公司-->
<a href="javascript:RealEstate.Identity.BrowserInfo();">浏览器兼容</a>
</div>
</div>
<div style="display: none;">
<input type="text" name="userid" value="" id="userid" runat="server" />
<input type="text" name="username" value="" id="username" runat="server" />
</div>
</form>
</body>
</html>