From fc796d133d52e81100693fdf5c986585575f6d0c Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 03 八月 2023 09:33:25 +0800
Subject: [PATCH] 调整样式
---
mobile/css/widget_search.css | 1
config/widgetM.json | 254 ------------------------------------------
mobile/js/widget_search_view.js | 4
mobile/road_search.html | 20 +++
config/configM.json | 24 ---
5 files changed, 24 insertions(+), 279 deletions(-)
diff --git a/config/configM.json b/config/configM.json
index 42c3495..9f7ab83 100644
--- a/config/configM.json
+++ b/config/configM.json
@@ -49,7 +49,6 @@
"selectionIndicator": false,
"defaultContextMenu": true,
"mouseDownView": true,
- "compass": { "bottom": "270px", "right": "5px" },
"distanceLegend": { "left": "150px", "bottom": "2px" },
"locationBar": {
"fps": false,
@@ -111,28 +110,7 @@
"zIndex": 0
}
],
- "layers": [
- { "id": 50, "name": "杈呭姪鍥惧眰", "type": "group" },
- {
- "pid": 50,
- "name": "琛屾斂鍖哄垝鐣岀嚎",
- "type": "xyz",
- "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk=51915011aa0997aa2ddd7e38504fa8bc",
- "subdomains": "01234567",
- "maximumLevel": 10,
- "mapSplit": false,
- "show": true
- },
- {
- "pid": 50,
- "name": "楂樺痉瀹炴椂璺喌",
- "type": "gaode",
- "layer": "time",
- "minimumTerrainLevel": 4,
- "minimumLevel": 4,
- "proxy": "//server.mars3d.cn/proxy/",
- "mapSplit": false
- },
+ "layers": [
{ "id": 99, "name": "鏁版嵁鍥惧眰", "type": "group" },
{ "id": 1006, "pid": 99, "name": "鐩戞祴鍖哄煙", "type": "group" }
]
diff --git a/config/widgetM.json b/config/widgetM.json
index b75f30d..0a9e993 100644
--- a/config/widgetM.json
+++ b/config/widgetM.json
@@ -23,48 +23,6 @@
],
"widgets": [
{
- "name": "鐩戞帶鎬昏",
- "uri": "widgetsTS/widget_summary/widget.js"
- },
- {
- "name": "鍒嗙被鏌ヨ",
- "uri": "widgetsTS/widget_search/widget.js"
- },
- {
- "name": "鐩戞帶璇︽儏",
- "uri": "widgetsTS/widget_detail/widget.js"
- },
- {
- "name": "妯℃澘-iframe寮圭獥",
- "uri": "widgets/_example/widget.js",
- "windowOptions": {
- "width": 300,
- "height": 400,
- "position": {
- "bottom": 10,
- "right": 10
- },
- "maxmin": true,
- "resize": true
- },
- "autoDisable": false,
- "disableOther": false,
- "openAtStart": false
- },
- {
- "name": "妯℃澘-div寮圭獥",
- "uri": "widgets/_example_divwin/widget.js"
- },
- {
- "name": "妯℃澘-2涓脊绐�",
- "uri": "widgets/_example_2win/widget.js"
- },
- {
- "name": "妯℃澘-append妯℃澘",
- "uri": "widgets/_example_append/widget.js"
- },
-
- {
"name": "鍦板浘鍒囨崲",
"uri": "widgets/manageBasemaps/widget.js",
"group": "forlayer",
@@ -96,132 +54,6 @@
"disableOther": false
},
{
- "name": "鍥惧眰绠$悊New",
- "uri": "widgets/manageLayers_style/widget.js",
- "group": "forlayer",
- "autoCenter": true,
- "windowOptions": {
- "position": {
- "top": 70,
- "bottom": 30,
- "right": 60
- }
- },
- "css": {
- "max-width": "300px"
- },
- "autoDisable": false,
- "disableOther": false
- },
- {
- "name": "鍓栭潰鍒嗘瀽鍥捐〃",
- "uri": "widgets/measureChars/widget.js",
- "windowOptions": {
- "noTitle": true,
- "maxmin": false,
- "position": {
- "bottom": 30,
- "left": 30,
- "right": 60
- }
- },
- "disableOther": false
- },
- {
- "name": "瑙嗚涔︾",
- "uri": "widgets/bookmark/widget.js",
- "windowOptions": {
- "position": {
- "top": 50,
- "bottom": 30,
- "right": 10
- }
- }
- },
- {
- "name": "婕父璺嚎璁剧疆",
- "uri": "widgets/roamLine/widget.js",
- "windowOptions": {
- "position": {
- "top": 45,
- "bottom": 30,
- "right": 5
- }
- }
- },
- {
- "name": "婕父璺嚎",
- "uri": "widgets/roamFly/widget.js",
- "windowOptions": {
- "position": {
- "bottom": 60,
- "right": 5
- }
- }
- },
- {
- "name": "璺嚎鍓栭潰",
- "uri": "widgets/roamChars/widget.js",
- "windowOptions": {
- "noTitle": true,
- "position": {
- "top": 10,
- "left": 10,
- "right": 10
- }
- },
- "disableOther": false
- },
- {
- "name": "鍗峰笜瀵规瘮",
- "uri": "widgets/mapSplit/widget.js",
- "group": "mapCompare",
- "autoDisable": false,
- "disableOther": false
- },
- {
- "name": "鍙屽睆瀵规瘮",
- "uri": "widgets/mapCompare/widget.js",
- "autoDisable": false,
- "disableOther": false,
- "group": "mapCompare",
- "windowOptions": {
- "position": {
- "top": 160,
- "bottom": 40,
- "left": 10
- },
- "maxmin": true
- }
- },
- {
- "name": "鐧惧害琛楁櫙",
- "uri": "widgets/streetscape/widget.js",
- "autoDisable": false,
- "disableOther": false,
- "group": "mapCompare",
- "windowOptions": {
- "position": {
- "top": 160,
- "bottom": 40,
- "left": 10
- },
- "maxmin": true
- }
- },
- {
- "name": "鏍囩粯",
- "uri": "widgets/plot/widget.js",
- "windowOptions": {
- "position": {
- "top": 45,
- "bottom": 30,
- "right": 5
- }
- },
- "openAtStart": false
- },
- {
"name": "妯″瀷搴�",
"uri": "widgets/plot-model/widget.js",
"windowOptions": {
@@ -233,96 +65,10 @@
}
},
{
- "name": "鍒嗙粍鍚嶇О缂栬緫",
- "uri": "widgets/plotGroupName/widget.js",
- "windowOptions": {
- "position": "t"
- },
- "disableOther": false
- },
- {
- "name": "灞炴�х紪杈�",
- "uri": "widgets/plotAttr/widget.js",
- "windowOptions": {
- "position": {
- "top": 60,
- "bottom": 30,
- "left": 10
- }
- },
- "disableOther": false
- },
- {
- "name": "璺嚎瀵艰埅",
- "uri": "widgets/queryRoute/widget.js",
- "windowOptions": {
- "position": {
- "top": 45,
- "bottom": 30,
- "right": 5
- }
- }
- },
- {
- "name": "杞ㄨ抗鍥炴斁",
- "group":"router",
- "uri": "widgetsTS/taxiRouteReplay/widget.js",
- "windowOptions": {
- "position": {
- "top": 45,
- "bottom": 30,
- "right": 5
- }
- },
- "autoDisable":false
- },
-{
- "name": "杞ㄨ抗鍥炴斁",
- "group":"router",
- "uri": "widgetsTS/taxiRouteReplay2/widget.js",
- "windowOptions": {
- "position": {
- "top": 45,
- "bottom": 30,
- "left": 5
- }
- },
- "autoDisable":false
- },
- {
- "name": "鎵撳嵃",
- "uri": "widgets/print/widget.js",
- "autoDisable": false,
- "disableOther": false
- },
- {
- "name": "椋庡満鍙傛暟",
- "uri": "widgetsTS/windsetting/widget.js",
- "autoDisable":false,
- "windowOptions": {
- "position": {
- "top": 185,
- "left": 5
- }
- }
- },
- {
- "name": "鐩戞帶缃戞牸",
- "uri": "widgetsTS/widget_grid/widget.js",
- "autoDisable":false,
- "windowOptions": {
- "position": {
- "top": 185,
- "left": 5
- }
- }
- },
- {
"name": "鍦板浘鍥句緥",
"uri": "widgetsTS/tuglie/widget.js",
"autoDisable":false
}
-
]
}
diff --git a/mobile/css/widget_search.css b/mobile/css/widget_search.css
index 9a482a7..a6b30ab 100644
--- a/mobile/css/widget_search.css
+++ b/mobile/css/widget_search.css
@@ -83,6 +83,7 @@
display: flex;
padding: 10px;
background: #304b80;
+ border-bottom: 1px solid #476399;
justify-content: center;
align-items: center;
box-shadow: 0 1px 4px rgba(12, 35, 87, .3);
diff --git a/mobile/js/widget_search_view.js b/mobile/js/widget_search_view.js
index b2f1a9c..748f0ce 100644
--- a/mobile/js/widget_search_view.js
+++ b/mobile/js/widget_search_view.js
@@ -154,8 +154,8 @@
}
}
var content = "<tr _siteid='" + topObj.code + "' _lon='" + topObj.lon + "' _lat='" + topObj.lat
- + "' onmouseover='over(this)' onmouseout='out(this)' ><td>" + j + "</td><td onclick='locateAndShowDetail(this)'>"
- + topObj.region + "</td><td onclick='locateAndShowDetail(this)'>"
+ + "'><td>" + j + "</td><td >"
+ + topObj.region + "</td><td >"
+ topObj.name + "</td>"
+ "<td><font color='"
+ getLayerPointColorByQindexandValue(current_selected_monitor_type, current_selected_monitor_qindex, topObj[current_selected_monitor_qindex])
diff --git a/mobile/road_search.html b/mobile/road_search.html
index 5a2bd52..d2b4aa6 100644
--- a/mobile/road_search.html
+++ b/mobile/road_search.html
@@ -60,6 +60,26 @@
.layui-input{
display: none;
}
+.append_test{
+ background: #304B80;
+ border-bottom: 1px solid #476399;
+}
+.form-control,
+.input-group-addon{
+ background: transparent;
+ border: none;
+ color: #fff;
+ position: relative;
+}
+.input-group-addon::after{
+ position: absolute;
+ content: " ";
+ width: 1px;
+ top: 12px;
+ bottom: 12px;
+ right: 0;
+ background: #476399;
+}
</style>
</head>
--
Gitblit v1.9.1