@vtx/map 1.1.5 → 1.1.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -44
- package/lib/VtxMap/BMap/Map.js +1 -1
- package/lib/VtxMap/OMap/Map.js +43 -43
- package/lib/VtxMap/OMap/Map.less +70 -70
- package/lib/VtxMap/OlMap/Map.js +412 -101
- package/lib/VtxMap/OlMap/Map.less +121 -121
- package/lib/VtxMap/TMap/TMap.js +18 -18
- package/lib/VtxModal/VtxModal.css +0 -62
- package/lib/VtxModal/VtxModal.js +7 -9
- package/lib/VtxModal/VtxModal.less +6 -4
- package/lib/VtxModal/draggableModal.js +1 -1
- package/lib/VtxSearchMap/VtxSearchMap.css +0 -170
- package/lib/VtxSearchMap/VtxSearchMap.js +5 -5
- package/lib/VtxSearchMap/VtxSearchMap.less +14 -12
- package/lib/default.js +3 -1
- package/package.json +1 -1
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
.map{
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
background-color: #f1f1f1;
|
|
5
|
-
}
|
|
6
|
-
.vtx_gmap_html_points,.vtx_gmap_html_pointCollection{
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: 0px;
|
|
9
|
-
left: 0px;
|
|
10
|
-
}
|
|
11
|
-
.esriSimpleSlider{
|
|
12
|
-
z-index: 10000000 !important;
|
|
13
|
-
}
|
|
14
|
-
.label-content{
|
|
15
|
-
/*margin-left: 0;
|
|
16
|
-
width: 100px;
|
|
17
|
-
line-height: 25px;
|
|
18
|
-
text-align: center;
|
|
19
|
-
position: relative;
|
|
20
|
-
left: -43px;
|
|
21
|
-
background-color: #fff;
|
|
22
|
-
opacity: 1;
|
|
23
|
-
border-radius: 5px;
|
|
24
|
-
color: #5DD0EE;
|
|
25
|
-
word-break: break-all;
|
|
26
|
-
white-space: normal;
|
|
27
|
-
padding: 2px 8px;*/
|
|
28
|
-
display: inline-block;
|
|
29
|
-
padding: 5px;
|
|
30
|
-
line-height: 22px;
|
|
31
|
-
text-align: center;
|
|
32
|
-
border-radius: 5px;
|
|
33
|
-
background-color: #fff;
|
|
34
|
-
opacity: 1;
|
|
35
|
-
color: #5DD0EE;
|
|
36
|
-
}
|
|
37
|
-
.vtx-g-rangingPoint{
|
|
38
|
-
width: 7px;
|
|
39
|
-
height: 7px;
|
|
40
|
-
background-color: #fff;
|
|
41
|
-
border: 2px solid #ff0000;
|
|
42
|
-
display: inline-block;
|
|
43
|
-
border-radius: 7px;
|
|
44
|
-
}
|
|
45
|
-
.vtx-g-rangingDistance{
|
|
46
|
-
position: relative;
|
|
47
|
-
top: -36px;
|
|
48
|
-
left: 15px;
|
|
49
|
-
height: 30px;
|
|
50
|
-
line-height: 28px;
|
|
51
|
-
background-color: #fff;
|
|
52
|
-
border: 1px solid #ff0000;
|
|
53
|
-
font-size: 12px;
|
|
54
|
-
word-break: keep-all;
|
|
55
|
-
padding: 0px 3px;
|
|
56
|
-
}
|
|
57
|
-
.vtx-g-rang-exit{
|
|
58
|
-
width: 9px;
|
|
59
|
-
height: 9px;
|
|
60
|
-
background-color: #fff;
|
|
61
|
-
border: 2px solid #ff0000;
|
|
62
|
-
color: #ff0000;
|
|
63
|
-
line-height: 7px;
|
|
64
|
-
text-align: center;
|
|
65
|
-
font-size: 12px;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
}
|
|
68
|
-
.vtx-g-rang-showRangTool{
|
|
69
|
-
line-height: 18px;
|
|
70
|
-
font-size: 12px;
|
|
71
|
-
border: 1px solid #ff0000;
|
|
72
|
-
word-break: keep-all;
|
|
73
|
-
background-color: #fff;
|
|
74
|
-
padding: 0px 5px;
|
|
75
|
-
}
|
|
76
|
-
.zoom_slider_show_scale{
|
|
77
|
-
padding: 1px 8px;
|
|
78
|
-
font-size: 12px;
|
|
79
|
-
text-align: center;
|
|
80
|
-
}
|
|
81
|
-
.zoom_slider_show_bottom{
|
|
82
|
-
width: 100%;
|
|
83
|
-
height: 3px;
|
|
84
|
-
border: 1px solid #000;
|
|
85
|
-
border-bottom: 3px solid #000;
|
|
86
|
-
border-top: 0px;
|
|
87
|
-
}
|
|
88
|
-
.ol-tooltip {
|
|
89
|
-
position: relative;
|
|
90
|
-
background: rgba(0, 0, 0, 0.5);
|
|
91
|
-
border-radius: 4px;
|
|
92
|
-
color: white;
|
|
93
|
-
padding: 4px 8px;
|
|
94
|
-
opacity: 0.7;
|
|
95
|
-
white-space: nowrap;
|
|
96
|
-
font-size: 12px;
|
|
97
|
-
cursor: default;
|
|
98
|
-
user-select: none;
|
|
99
|
-
}
|
|
100
|
-
.ol-tooltip-measure {
|
|
101
|
-
opacity: 1;
|
|
102
|
-
font-weight: bold;
|
|
103
|
-
}
|
|
104
|
-
.ol-tooltip-static {
|
|
105
|
-
background-color: #ffcc33;
|
|
106
|
-
color: black;
|
|
107
|
-
border: 1px solid white;
|
|
108
|
-
}
|
|
109
|
-
.ol-tooltip-measure:before,
|
|
110
|
-
.ol-tooltip-static:before {
|
|
111
|
-
border-top: 6px solid rgba(0, 0, 0, 0.5);
|
|
112
|
-
border-right: 6px solid transparent;
|
|
113
|
-
border-left: 6px solid transparent;
|
|
114
|
-
content: "";
|
|
115
|
-
position: absolute;
|
|
116
|
-
bottom: -6px;
|
|
117
|
-
margin-left: -7px;
|
|
118
|
-
left: 50%;
|
|
119
|
-
}
|
|
120
|
-
.ol-tooltip-static:before {
|
|
121
|
-
border-top-color: #ffcc33;
|
|
1
|
+
.map{
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
background-color: #f1f1f1;
|
|
5
|
+
}
|
|
6
|
+
.vtx_gmap_html_points,.vtx_gmap_html_pointCollection{
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 0px;
|
|
9
|
+
left: 0px;
|
|
10
|
+
}
|
|
11
|
+
.esriSimpleSlider{
|
|
12
|
+
z-index: 10000000 !important;
|
|
13
|
+
}
|
|
14
|
+
.label-content{
|
|
15
|
+
/*margin-left: 0;
|
|
16
|
+
width: 100px;
|
|
17
|
+
line-height: 25px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
position: relative;
|
|
20
|
+
left: -43px;
|
|
21
|
+
background-color: #fff;
|
|
22
|
+
opacity: 1;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
color: #5DD0EE;
|
|
25
|
+
word-break: break-all;
|
|
26
|
+
white-space: normal;
|
|
27
|
+
padding: 2px 8px;*/
|
|
28
|
+
display: inline-block;
|
|
29
|
+
padding: 5px;
|
|
30
|
+
line-height: 22px;
|
|
31
|
+
text-align: center;
|
|
32
|
+
border-radius: 5px;
|
|
33
|
+
background-color: #fff;
|
|
34
|
+
opacity: 1;
|
|
35
|
+
color: #5DD0EE;
|
|
36
|
+
}
|
|
37
|
+
.vtx-g-rangingPoint{
|
|
38
|
+
width: 7px;
|
|
39
|
+
height: 7px;
|
|
40
|
+
background-color: #fff;
|
|
41
|
+
border: 2px solid #ff0000;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
border-radius: 7px;
|
|
44
|
+
}
|
|
45
|
+
.vtx-g-rangingDistance{
|
|
46
|
+
position: relative;
|
|
47
|
+
top: -36px;
|
|
48
|
+
left: 15px;
|
|
49
|
+
height: 30px;
|
|
50
|
+
line-height: 28px;
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
border: 1px solid #ff0000;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
word-break: keep-all;
|
|
55
|
+
padding: 0px 3px;
|
|
56
|
+
}
|
|
57
|
+
.vtx-g-rang-exit{
|
|
58
|
+
width: 9px;
|
|
59
|
+
height: 9px;
|
|
60
|
+
background-color: #fff;
|
|
61
|
+
border: 2px solid #ff0000;
|
|
62
|
+
color: #ff0000;
|
|
63
|
+
line-height: 7px;
|
|
64
|
+
text-align: center;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
.vtx-g-rang-showRangTool{
|
|
69
|
+
line-height: 18px;
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
border: 1px solid #ff0000;
|
|
72
|
+
word-break: keep-all;
|
|
73
|
+
background-color: #fff;
|
|
74
|
+
padding: 0px 5px;
|
|
75
|
+
}
|
|
76
|
+
.zoom_slider_show_scale{
|
|
77
|
+
padding: 1px 8px;
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
text-align: center;
|
|
80
|
+
}
|
|
81
|
+
.zoom_slider_show_bottom{
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 3px;
|
|
84
|
+
border: 1px solid #000;
|
|
85
|
+
border-bottom: 3px solid #000;
|
|
86
|
+
border-top: 0px;
|
|
87
|
+
}
|
|
88
|
+
.ol-tooltip {
|
|
89
|
+
position: relative;
|
|
90
|
+
background: rgba(0, 0, 0, 0.5);
|
|
91
|
+
border-radius: 4px;
|
|
92
|
+
color: white;
|
|
93
|
+
padding: 4px 8px;
|
|
94
|
+
opacity: 0.7;
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
font-size: 12px;
|
|
97
|
+
cursor: default;
|
|
98
|
+
user-select: none;
|
|
99
|
+
}
|
|
100
|
+
.ol-tooltip-measure {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
font-weight: bold;
|
|
103
|
+
}
|
|
104
|
+
.ol-tooltip-static {
|
|
105
|
+
background-color: #ffcc33;
|
|
106
|
+
color: black;
|
|
107
|
+
border: 1px solid white;
|
|
108
|
+
}
|
|
109
|
+
.ol-tooltip-measure:before,
|
|
110
|
+
.ol-tooltip-static:before {
|
|
111
|
+
border-top: 6px solid rgba(0, 0, 0, 0.5);
|
|
112
|
+
border-right: 6px solid transparent;
|
|
113
|
+
border-left: 6px solid transparent;
|
|
114
|
+
content: "";
|
|
115
|
+
position: absolute;
|
|
116
|
+
bottom: -6px;
|
|
117
|
+
margin-left: -7px;
|
|
118
|
+
left: 50%;
|
|
119
|
+
}
|
|
120
|
+
.ol-tooltip-static:before {
|
|
121
|
+
border-top-color: #ffcc33;
|
|
122
122
|
}
|
package/lib/VtxMap/TMap/TMap.js
CHANGED
|
@@ -1587,11 +1587,11 @@ var TMap = function (_React$Component) {
|
|
|
1587
1587
|
infowindow && t.state.gis.closeInfoWindow();
|
|
1588
1588
|
}
|
|
1589
1589
|
}
|
|
1590
|
-
/*
|
|
1591
|
-
参数
|
|
1592
|
-
geometryType:point/polyline/polygon/circle/rectangle 默认point
|
|
1593
|
-
parameter 样式 默认null 对象{}写入方式跟add方法一样(对应点线圆面)
|
|
1594
|
-
data //初始化数据 默认{id:'add'}
|
|
1590
|
+
/*
|
|
1591
|
+
参数
|
|
1592
|
+
geometryType:point/polyline/polygon/circle/rectangle 默认point
|
|
1593
|
+
parameter 样式 默认null 对象{}写入方式跟add方法一样(对应点线圆面)
|
|
1594
|
+
data //初始化数据 默认{id:'add'}
|
|
1595
1595
|
*/
|
|
1596
1596
|
|
|
1597
1597
|
}, {
|
|
@@ -2799,10 +2799,10 @@ var TMap = function (_React$Component) {
|
|
|
2799
2799
|
t.clearAllPointCollection();
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
2802
|
-
/*点数据处理
|
|
2803
|
-
pointData[2]相同的点,执行刷新
|
|
2804
|
-
pointData[1]的数据在idsForGraphicId中不存在的,执行新增
|
|
2805
|
-
pointData[0]数据中多余的id,执行删除
|
|
2802
|
+
/*点数据处理
|
|
2803
|
+
pointData[2]相同的点,执行刷新
|
|
2804
|
+
pointData[1]的数据在idsForGraphicId中不存在的,执行新增
|
|
2805
|
+
pointData[0]数据中多余的id,执行删除
|
|
2806
2806
|
*/
|
|
2807
2807
|
if (mapPoints instanceof Array && t.props.mapPoints instanceof Array && !t.deepEqual(mapPoints, t.props.mapPoints)) {
|
|
2808
2808
|
var oldMapPoints = t.props.mapPoints;
|
|
@@ -2862,9 +2862,9 @@ var TMap = function (_React$Component) {
|
|
|
2862
2862
|
//更新
|
|
2863
2863
|
t.updatePoint([].concat(_toConsumableArray(upds), _toConsumableArray(otherupds)));
|
|
2864
2864
|
}
|
|
2865
|
-
/*
|
|
2866
|
-
面数据处理
|
|
2867
|
-
先全删除,再新增
|
|
2865
|
+
/*
|
|
2866
|
+
面数据处理
|
|
2867
|
+
先全删除,再新增
|
|
2868
2868
|
*/
|
|
2869
2869
|
if (mapPolygons instanceof Array && t.props.mapPolygons instanceof Array && !t.deepEqual(mapPolygons, t.props.mapPolygons)) {
|
|
2870
2870
|
var oldMapPolygons = t.props.mapPolygons;
|
|
@@ -2923,9 +2923,9 @@ var TMap = function (_React$Component) {
|
|
|
2923
2923
|
//更新
|
|
2924
2924
|
t.updatePolygon([].concat(_toConsumableArray(_upds), _toConsumableArray(_otherupds)));
|
|
2925
2925
|
}
|
|
2926
|
-
/*
|
|
2927
|
-
圆数据处理
|
|
2928
|
-
先全删除,再新增
|
|
2926
|
+
/*
|
|
2927
|
+
圆数据处理
|
|
2928
|
+
先全删除,再新增
|
|
2929
2929
|
*/
|
|
2930
2930
|
if (mapCircles instanceof Array && t.props.mapCircles instanceof Array && !t.deepEqual(mapCircles, t.props.mapCircles)) {
|
|
2931
2931
|
var oldMapCircles = t.props.mapCircles;
|
|
@@ -2984,9 +2984,9 @@ var TMap = function (_React$Component) {
|
|
|
2984
2984
|
//更新
|
|
2985
2985
|
t.updateCircle([].concat(_toConsumableArray(_upds2), _toConsumableArray(_otherupds2)));
|
|
2986
2986
|
}
|
|
2987
|
-
/*
|
|
2988
|
-
线数据处理
|
|
2989
|
-
先全删除,再新增
|
|
2987
|
+
/*
|
|
2988
|
+
线数据处理
|
|
2989
|
+
先全删除,再新增
|
|
2990
2990
|
*/
|
|
2991
2991
|
if (mapLines instanceof Array && t.props.mapLines instanceof Array && !t.deepEqual(mapLines, t.props.mapLines)) {
|
|
2992
2992
|
var oldMapLines = t.props.mapLines;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
.vtx-ui-modal-normal .ant-modal .ant-modal-content {
|
|
2
|
-
height: 100%;
|
|
3
|
-
}
|
|
4
|
-
.vtx-ui-modal-normal .ant-modal .ant-modal-content .ant-modal-body {
|
|
5
|
-
max-height: calc(100% - 108px);
|
|
6
|
-
overflow: auto;
|
|
7
|
-
background-color: #fbfbfb;
|
|
8
|
-
}
|
|
9
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-title_name {
|
|
14
|
-
width: 100%;
|
|
15
|
-
color: #108EE2;
|
|
16
|
-
}
|
|
17
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-close,
|
|
18
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-maximizeIcon {
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: -13px;
|
|
21
|
-
right: -16px;
|
|
22
|
-
}
|
|
23
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-close p,
|
|
24
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-maximizeIcon p {
|
|
25
|
-
width: 36px;
|
|
26
|
-
height: 48px;
|
|
27
|
-
text-align: center;
|
|
28
|
-
line-height: 48px;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
border: 0;
|
|
31
|
-
background: transparent;
|
|
32
|
-
position: absolute;
|
|
33
|
-
right: 0;
|
|
34
|
-
top: 0;
|
|
35
|
-
z-index: 10;
|
|
36
|
-
font-weight: 700;
|
|
37
|
-
text-decoration: none;
|
|
38
|
-
-webkit-transition: color 0.3s ease;
|
|
39
|
-
transition: color 0.3s ease;
|
|
40
|
-
color: rgba(0, 0, 0, 0.43);
|
|
41
|
-
outline: 0;
|
|
42
|
-
display: inline-block;
|
|
43
|
-
}
|
|
44
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-close p:hover,
|
|
45
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-maximizeIcon p:hover {
|
|
46
|
-
color: #444;
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
}
|
|
49
|
-
.vtx-ui-modal-normal .vtx-ui-modal-title .vtx-ui-modal-maximizeIcon {
|
|
50
|
-
right: 20px;
|
|
51
|
-
}
|
|
52
|
-
.vtx-ui-modal-maxClass .ant-modal {
|
|
53
|
-
top: 0 !important;
|
|
54
|
-
left: 0 !important;
|
|
55
|
-
width: 100% !important;
|
|
56
|
-
height: 100% !important;
|
|
57
|
-
padding-bottom: 0 !important;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
}
|
|
60
|
-
.vtx-ui-modal-maxClass .ant-modal-body {
|
|
61
|
-
height: calc(100% - 108px) !important;
|
|
62
|
-
}
|
package/lib/VtxModal/VtxModal.js
CHANGED
|
@@ -12,19 +12,17 @@ var _react = require('react');
|
|
|
12
12
|
|
|
13
13
|
var _react2 = _interopRequireDefault(_react);
|
|
14
14
|
|
|
15
|
-
require('./VtxModal.
|
|
15
|
+
require('./VtxModal.less');
|
|
16
16
|
|
|
17
17
|
var _modal = require('antd/lib/modal');
|
|
18
18
|
|
|
19
19
|
var _modal2 = _interopRequireDefault(_modal);
|
|
20
20
|
|
|
21
|
-
require('antd/lib/modal/style
|
|
21
|
+
require('antd/lib/modal/style');
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
require('antd/lib/icon/style');
|
|
24
24
|
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
require('antd/lib/icon/style/css');
|
|
25
|
+
var _default = require('../default');
|
|
28
26
|
|
|
29
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
30
28
|
|
|
@@ -197,7 +195,7 @@ var VtxModal = function (_React$Component) {
|
|
|
197
195
|
});
|
|
198
196
|
}
|
|
199
197
|
},
|
|
200
|
-
maximizable ? _react2.default.createElement(
|
|
198
|
+
maximizable ? _react2.default.createElement(_default.VtxMapIcon, { type: 'icon-shrink' }) : _react2.default.createElement(_default.VtxMapIcon, { type: 'icon-arrawsalt' })
|
|
201
199
|
)
|
|
202
200
|
) : null,
|
|
203
201
|
closable ? _react2.default.createElement(
|
|
@@ -206,9 +204,9 @@ var VtxModal = function (_React$Component) {
|
|
|
206
204
|
_react2.default.createElement(
|
|
207
205
|
'p',
|
|
208
206
|
{ onClick: t.props.onCancel },
|
|
209
|
-
_react2.default.createElement(
|
|
207
|
+
_react2.default.createElement(_default.VtxMapIcon, { type: 'icon-close' })
|
|
210
208
|
)
|
|
211
|
-
) :
|
|
209
|
+
) : null
|
|
212
210
|
);
|
|
213
211
|
}();
|
|
214
212
|
var bodyStyle = _extends({}, this.props.bodyStyle);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
|
|
1
3
|
.vtx-ui-modal-normal{
|
|
2
4
|
.ant-modal{
|
|
3
5
|
.ant-modal-content{
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
.ant-modal-body{
|
|
6
8
|
max-height: e('calc(100% - 108px)');
|
|
7
9
|
overflow: auto;
|
|
8
|
-
background-color:
|
|
10
|
+
background-color: @table-expanded-row-bg;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
width: 100%;
|
|
15
17
|
.vtx-ui-modal-title_name{
|
|
16
18
|
width: 100%;
|
|
17
|
-
color:
|
|
19
|
+
color: @primary-color;
|
|
18
20
|
}
|
|
19
21
|
.vtx-ui-modal-close,.vtx-ui-modal-maximizeIcon{
|
|
20
22
|
position: absolute;
|
|
@@ -36,11 +38,11 @@
|
|
|
36
38
|
text-decoration: none;
|
|
37
39
|
-webkit-transition: color .3s ease;
|
|
38
40
|
transition: color .3s ease;
|
|
39
|
-
color:
|
|
41
|
+
color: @text-color;
|
|
40
42
|
outline: 0;
|
|
41
43
|
display: inline-block;
|
|
42
44
|
&:hover{
|
|
43
|
-
color:
|
|
45
|
+
color: @text-color-secondary;
|
|
44
46
|
text-decoration: none;
|
|
45
47
|
}
|
|
46
48
|
}
|
|
@@ -20,7 +20,7 @@ var _modal = require('antd/lib/modal');
|
|
|
20
20
|
|
|
21
21
|
var _modal2 = _interopRequireDefault(_modal);
|
|
22
22
|
|
|
23
|
-
require('antd/lib/modal/style
|
|
23
|
+
require('antd/lib/modal/style');
|
|
24
24
|
|
|
25
25
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
26
|
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
.vtx-ui-searchmap-searchmodal {
|
|
2
|
-
z-index: 1001;
|
|
3
|
-
}
|
|
4
|
-
.vtx-ui-searchmap-searchmodal .ant-modal {
|
|
5
|
-
width: calc(100% - 200px) !important;
|
|
6
|
-
min-width: 800px;
|
|
7
|
-
height: 70vh;
|
|
8
|
-
}
|
|
9
|
-
.vtx-ui-searchmap-searchmodal .ant-modal .ant-modal-title {
|
|
10
|
-
color: #108EE9;
|
|
11
|
-
}
|
|
12
|
-
.vtx-ui-searchmap-searchmodal .ant-modal .ant-modal-content {
|
|
13
|
-
width: 100%;
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
.vtx-ui-searchmap-searchmodal .ant-modal .ant-modal-content .ant-modal-body {
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: calc(100% - 108px) !important;
|
|
19
|
-
padding: 0px;
|
|
20
|
-
background-color: white;
|
|
21
|
-
}
|
|
22
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap {
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
padding-top: 48px;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
position: relative;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
}
|
|
30
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-top,
|
|
31
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-bottom {
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 48px;
|
|
34
|
-
position: absolute;
|
|
35
|
-
left: 0px;
|
|
36
|
-
padding: 10px 15px;
|
|
37
|
-
}
|
|
38
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-top button,
|
|
39
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-bottom button {
|
|
40
|
-
margin-left: 10px;
|
|
41
|
-
}
|
|
42
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-top {
|
|
43
|
-
top: 0px;
|
|
44
|
-
border-bottom: 1px solid #e1e1e1;
|
|
45
|
-
}
|
|
46
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-top .vtx-ui-searchmap-othermodal {
|
|
47
|
-
position: absolute;
|
|
48
|
-
right: 25px;
|
|
49
|
-
line-height: 28px;
|
|
50
|
-
display: inline-block;
|
|
51
|
-
}
|
|
52
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-bottom {
|
|
53
|
-
bottom: 0px;
|
|
54
|
-
border-top: 1px solid #e1e1e1;
|
|
55
|
-
text-align: right;
|
|
56
|
-
}
|
|
57
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content {
|
|
58
|
-
width: 100%;
|
|
59
|
-
height: 100%;
|
|
60
|
-
position: relative;
|
|
61
|
-
padding-left: 25px;
|
|
62
|
-
}
|
|
63
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-show {
|
|
64
|
-
display: inline-block;
|
|
65
|
-
width: 100%;
|
|
66
|
-
height: 100%;
|
|
67
|
-
}
|
|
68
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-hidden {
|
|
69
|
-
display: none;
|
|
70
|
-
}
|
|
71
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-w_l {
|
|
72
|
-
width: 300px !important;
|
|
73
|
-
}
|
|
74
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left {
|
|
75
|
-
width: 25px;
|
|
76
|
-
height: 100%;
|
|
77
|
-
display: inline-block;
|
|
78
|
-
-webkit-transition-duration: 0.3s;
|
|
79
|
-
-o-transition-duration: 0.3s;
|
|
80
|
-
transition-duration: 0.3s;
|
|
81
|
-
transition-property: width;
|
|
82
|
-
vertical-align: top;
|
|
83
|
-
border-right: 1px solid #e1e1e1;
|
|
84
|
-
position: absolute;
|
|
85
|
-
top: 0px;
|
|
86
|
-
left: 0px;
|
|
87
|
-
z-index: 10;
|
|
88
|
-
background-color: #FFF;
|
|
89
|
-
}
|
|
90
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-listtitle {
|
|
91
|
-
width: 100%;
|
|
92
|
-
height: 30px;
|
|
93
|
-
line-height: 30px;
|
|
94
|
-
border-bottom: 1px solid #e1e1e1;
|
|
95
|
-
}
|
|
96
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-listtitle .vtx-ui-searchmap-title {
|
|
97
|
-
width: calc(100% - 30px);
|
|
98
|
-
display: inline-block;
|
|
99
|
-
padding-left: 15px;
|
|
100
|
-
font-size: 15px;
|
|
101
|
-
}
|
|
102
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-listtitle .vtx-ui-searchmap-btn {
|
|
103
|
-
display: inline-block;
|
|
104
|
-
width: 30px;
|
|
105
|
-
text-align: center;
|
|
106
|
-
color: #0c88e8;
|
|
107
|
-
height: 30px;
|
|
108
|
-
line-height: 30px;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
}
|
|
111
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-lists {
|
|
112
|
-
width: 100%;
|
|
113
|
-
line-height: 35px;
|
|
114
|
-
border-bottom: 1px solid #e1e1e1;
|
|
115
|
-
font-size: 12px;
|
|
116
|
-
overflow: hidden;
|
|
117
|
-
text-overflow: ellipsis;
|
|
118
|
-
white-space: nowrap;
|
|
119
|
-
padding: 0px 15px;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
color: #999;
|
|
122
|
-
}
|
|
123
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-lists:hover {
|
|
124
|
-
background-color: #ECF6FD;
|
|
125
|
-
color: #108EE9;
|
|
126
|
-
}
|
|
127
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-lists.vtx-ui-searchmap-select {
|
|
128
|
-
background-color: #ECF6FD;
|
|
129
|
-
color: #108EE9;
|
|
130
|
-
}
|
|
131
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_left .vtx-ui-searchmap-scrollauto {
|
|
132
|
-
height: calc(100% - 30px);
|
|
133
|
-
overflow-y: auto;
|
|
134
|
-
}
|
|
135
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-content_right {
|
|
136
|
-
width: 100%;
|
|
137
|
-
height: 100%;
|
|
138
|
-
display: inline-block;
|
|
139
|
-
-webkit-transition-duration: 0.3s;
|
|
140
|
-
-o-transition-duration: 0.3s;
|
|
141
|
-
transition-duration: 0.3s;
|
|
142
|
-
transition-property: width;
|
|
143
|
-
}
|
|
144
|
-
.vtx-ui-searchmap-searchmodal .vtx-ui-searchmap-searchmap .vtx-ui-searchmap-content .vtx-ui-searchmap-btn {
|
|
145
|
-
text-align: center;
|
|
146
|
-
color: #0c88e8;
|
|
147
|
-
height: 30px;
|
|
148
|
-
line-height: 30px;
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
}
|
|
151
|
-
.vtx-ui-searchmap-showlabel {
|
|
152
|
-
margin-left: 0;
|
|
153
|
-
width: 100px;
|
|
154
|
-
line-height: 25px;
|
|
155
|
-
text-align: center;
|
|
156
|
-
position: relative;
|
|
157
|
-
left: -38px;
|
|
158
|
-
background-color: #222020;
|
|
159
|
-
opacity: 0.6;
|
|
160
|
-
border-radius: 5px;
|
|
161
|
-
color: #FFF;
|
|
162
|
-
padding: 2px 8px;
|
|
163
|
-
text-overflow: ellipsis;
|
|
164
|
-
white-space: nowrap;
|
|
165
|
-
word-break: normal;
|
|
166
|
-
overflow: hidden;
|
|
167
|
-
}
|
|
168
|
-
.vtx-ui-searchmap-hiddenlabel {
|
|
169
|
-
display: none;
|
|
170
|
-
}
|
|
@@ -12,31 +12,31 @@ var _react = require('react');
|
|
|
12
12
|
|
|
13
13
|
var _react2 = _interopRequireDefault(_react);
|
|
14
14
|
|
|
15
|
-
require('./VtxSearchMap.
|
|
15
|
+
require('./VtxSearchMap.less');
|
|
16
16
|
|
|
17
17
|
var _button = require('antd/lib/button');
|
|
18
18
|
|
|
19
19
|
var _button2 = _interopRequireDefault(_button);
|
|
20
20
|
|
|
21
|
-
require('antd/lib/button/style
|
|
21
|
+
require('antd/lib/button/style');
|
|
22
22
|
|
|
23
23
|
var _input = require('antd/lib/input');
|
|
24
24
|
|
|
25
25
|
var _input2 = _interopRequireDefault(_input);
|
|
26
26
|
|
|
27
|
-
require('antd/lib/input/style
|
|
27
|
+
require('antd/lib/input/style');
|
|
28
28
|
|
|
29
29
|
var _message = require('antd/lib/message');
|
|
30
30
|
|
|
31
31
|
var _message2 = _interopRequireDefault(_message);
|
|
32
32
|
|
|
33
|
-
require('antd/lib/message/style
|
|
33
|
+
require('antd/lib/message/style');
|
|
34
34
|
|
|
35
35
|
var _checkbox = require('antd/lib/checkbox');
|
|
36
36
|
|
|
37
37
|
var _checkbox2 = _interopRequireDefault(_checkbox);
|
|
38
38
|
|
|
39
|
-
require('antd/lib/checkbox/style
|
|
39
|
+
require('antd/lib/checkbox/style');
|
|
40
40
|
|
|
41
41
|
var _VtxModal = require('../VtxModal');
|
|
42
42
|
|