From bdbf5f53c48d4e708807a08487891c214e77aea2 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 05 一月 2024 15:57:50 +0800 Subject: [PATCH] 修改样式表 --- TEWin/Resources/SpatialQuery/SpatialQuery.html | 18 +++++++++--------- TEWin/Resources/SpaceStatistics/SpaceStatistics.html | 34 +++++++++++++++++++++------------- 2 files changed, 30 insertions(+), 22 deletions(-) diff --git a/TEWin/Resources/SpaceStatistics/SpaceStatistics.html b/TEWin/Resources/SpaceStatistics/SpaceStatistics.html index 0dfbac5..e6b1e86 100644 --- a/TEWin/Resources/SpaceStatistics/SpaceStatistics.html +++ b/TEWin/Resources/SpaceStatistics/SpaceStatistics.html @@ -25,7 +25,15 @@ var gDebug = false; var groupName = "绌洪棿缁熻"; - function getGroupId() { + $(function () { + init(); + }); + + function init() { + window.ondragstart = function () { return false; } + } + + function getGroupId() { var gid = SGWorld.ProjectTree.FindItem(groupName); if (gid) return gid; @@ -42,12 +50,11 @@ } } - $(function () { - init(); - }); + function getFeatureLayers() { + var layers = [], index = 0; + BuildObjectsList(SGWorld.ProjectTree.RootID, layers, 36); - function init() { - window.ondragstart = function () { return false; } + return layers; } function changeLayer(e) { @@ -98,6 +105,7 @@ function DrawPoly(geometry, type, altitudeType) { //SGWorld.Window.ShowMessageBarText("鎸� Esc 閿��鍑�"); SGWorld.ProjectTree.EnableRedraw(0); + alert(null==geometry); } function ResetAsync(FirstTime, FromMouseInputMode) { @@ -121,17 +129,17 @@ } </script> </head> -<body> - <table style="border: 0; padding: 0; border-spacing: 0; border-spacing: 2px; width: 100%;"> +<body class="hideUntillTranslated"> + <table style="width: 100%; border: 0;" cellspacing="0" cellpadding="2"> <tr> - <td class="ToolTopArea" width="100%" valign="middle"> + <td class="ToolTopArea" id="TopAreaTD" width="100%" valign="middle"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="55px"> <img style="margin-left: 5px;" src="img/ToolIcon.png" alt="" /></td> <td id="TitleTD" align="center" class="s12w i18n">绌洪棿缁熻</td> <td align="right" id="CloseHelpTd"> - <img style="margin-right: 5px;" alt="" src="../CommonImg/help.png" border="0" class="i18n" alt="help" title="甯姪" onclick="DisplayHelpPopup6(SGLang.i18nFile('help.html'),SGLang.i18n('help'))" style="cursor: pointer;"/></td> + <img style="margin-right: 5px; cursor: pointer;" alt="" src="../CommonImg/help.png" border="0" class="i18n" alt="help" title="甯姪" onclick="DisplayHelpPopup6(SGLang.i18nFile('help.html'),SGLang.i18n('help'))" /></td> </tr> </table> </td> @@ -139,9 +147,9 @@ <tr> <td class="ToolTopSeperator"></td> </tr> - <tr> + <tr class="s8"> <td> - <table class="PropertiesSheet" style="border: 0; padding: 0; border-spacing: 0; border-spacing: 2px;"> + <table class="PropertiesSheet" cellspacing="0" cellpadding="2"> <tr class='TableOtherLine'> <td class="s8b"> <label for="Mode" class="i18n">閫夋嫨鍥惧眰</label> @@ -183,7 +191,7 @@ </table> </td> </tr> - <tr> + <tr class="s8"> <td align="center" class="ToolButtonsArea"> <div id="SurfaceDiv"> <button id="clipboardButton" class="MenuButton" onclick="openPropTab(this);" style="cursor: pointer;"> diff --git a/TEWin/Resources/SpatialQuery/SpatialQuery.html b/TEWin/Resources/SpatialQuery/SpatialQuery.html index e080efb..9942fe4 100644 --- a/TEWin/Resources/SpatialQuery/SpatialQuery.html +++ b/TEWin/Resources/SpatialQuery/SpatialQuery.html @@ -80,17 +80,17 @@ } </script> </head> -<body> - <table style="border: 0; padding: 0; border-spacing: 0; border-spacing: 2px; width: 100%;"> +<body class="hideUntillTranslated"> + <table style="width: 100%; border: 0;" cellspacing="0" cellpadding="2"> <tr> - <td class="ToolTopArea" width="100%" valign="middle"> + <td class="ToolTopArea" id="TopAreaTD" style="width: 100%; vertical-align: middle;"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="55px"> <img style="margin-left: 5px;" src="img/ToolIcon.png" alt="" /></td> <td id="TitleTD" align="center" class="s12w i18n">绌洪棿鍒嗘瀽</td> <td align="right" id="CloseHelpTd"> - <img style="margin-right: 5px;" alt="" src="../CommonImg/help.png" border="0" class="i18n" alt="help" title="甯姪" onclick="DisplayHelpPopup6(SGLang.i18nFile('help.html'),SGLang.i18n('help'))" style="cursor: pointer;"/></td> + <img style="margin-right: 5px; cursor: pointer;" alt="" src="../CommonImg/help.png" border="0" class="i18n" alt="help" title="甯姪" onclick="DisplayHelpPopup6(SGLang.i18nFile('help.html'),SGLang.i18n('help'))"/></td> </tr> </table> </td> @@ -98,9 +98,9 @@ <tr> <td class="ToolTopSeperator"></td> </tr> - <tr> + <tr class="s8"> <td> - <table class="PropertiesSheet" style="border: 0; padding: 0; border-spacing: 0; border-spacing: 2px;"> + <table class="PropertiesSheet" cellspacing="0" cellpadding="2"> <tr class='TableOtherLine'> <td class="s8b"> <label for="Mode" class="i18n">閫夋嫨鍥惧眰</label> @@ -142,13 +142,13 @@ </table> </td> </tr> - <tr> + <tr class="s8"> <td align="center" class="ToolButtonsArea"> <div id="SurfaceDiv"> - <button id="clipboardButton" class="MenuButton" onclick="openPropTab(this);" style="cursor: pointer;"> + <button class="MenuButton" onclick="openPropTab(this);" style="cursor: pointer;"> <img src="../commonImg/prop.png" /><br /> <span class="i18n">灞炴�ц〃</span></button> - <button id="DrawPlaneBtn" class="MenuButton MenuButtonLast" onclick="startQuery(this);" style="cursor: pointer;"> + <button class="MenuButton MenuButtonLast" onclick="startQuery(this);" style="cursor: pointer;"> <img src="../commonImg/polygon.png" /><br /> <span class="i18n">寮�濮嬫煡璇�</span></button> </div> -- Gitblit v1.9.3