Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9d482ccf
authored
2021-01-11 16:40:54 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
右下角定位样式 及缓冲区分析结果样式 及分析数据展示
1 parent
54cba80d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
19 deletions
src/components/map/EsriMap.vue
src/views/systemTX/map.vue
src/views/systemTX/mapWeight/sideTools.vue
src/components/map/EsriMap.vue
View file @
9d482cc
...
...
@@ -3,11 +3,11 @@
<div
:id=
"viewId"
class=
"viewDiv"
>
</div>
<div
class=
"mapViewPoint"
>
<
span
class=
"key"
>
比例尺:
</span
>
<
span
class=
"value"
>
{{
mapInfo
.
scale
}}
km
</span
>
<span
class=
"key"
>
经度:
</span>
<
!--
<span
class=
"key"
>
比例尺:
</span>
--
>
<
div
class=
"viewScale"
><span
class=
"value"
>
{{
mapInfo
.
scale
}}
公里
</span></div
>
<span
class=
"key"
>
X坐标
</span>
<span
class=
"value"
>
{{
mapInfo
.
x
}}
</span>
<span
class=
"key"
>
纬度:
</span>
<span
class=
"key"
>
Y坐标
</span>
<span
class=
"value"
>
{{
mapInfo
.
y
}}
</span>
</div>
</div>
...
...
@@ -70,7 +70,7 @@
var
point
=
view
.
toMap
({
x
:
event
.
x
,
y
:
event
.
y
});
self
.
mapInfo
.
x
=
point
.
longitude
.
toFixed
(
6
);
self
.
mapInfo
.
y
=
point
.
latitude
.
toFixed
(
6
);
self
.
mapInfo
.
scale
=
(
view
.
scale
/
1000
).
toFixed
(
3
);
self
.
mapInfo
.
scale
=
(
view
.
scale
/
1000
).
toFixed
(
0
);
});
}).
catch
(
err
=>
{
...
...
@@ -90,22 +90,33 @@
width
:
100%
;
}
.mapViewPoint
{
display
:
inline-flex
;
position
:
absolute
;
bottom
:
10px
;
left
:
5px
;
background-color
:
white
;
line-height
:
36px
;
font-size
:
12px
;
border-radius
:
4px
;
box-shadow
:
0px
1px
1px
1px
rgba
(
0
,
0
,
0
,
0.18
);
.key{
font-weight
:
600
;
}
line-height
:
12px
;
.value{
margin-left
:
0px
;
}
span
{
margin
:
0px
5px
;
font-family
:
SFUIDisplay-Medium
;
font-size
:
12px
;
color
:
#4A4A4A
;
font-weight
:
bold
;
letter-spacing
:
0
;
text-shadow
:
0
-1px
0
#FFFFFF
;
position
:
relative
;
bottom
:
9px
;
}
.viewScale
{
width
:
auto
;
background
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAAAOCAYAAABaZUIWAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAA0qADAAQAAAABAAAADgAAAAD7u0TwAAAA4ElEQVRoBe3a4QnCMBCG4UQcpKPU39kpq8UFsoObxBzVH6WeNHBQ2nsDFYlH4j3lI1QMoY/WWumXNorUMBDwKtCDUbRwyGficvOKQ98IWAqsglRrfaWUglzy3nIj1kLg7AL/8rEK0tkb5fsjcJQAQTpKnn0vJXDf0c0sD1o76ihBwK0AJ5LbW0/jlgLqiZRzniw3Yi0ELiAwaT1wImkyzCMwIECQBrAoRUAT+BUkfljQtJhHYBHYZCTK/OdvDvNSwysCCAwIPGOMj++JtEnYwEKUIuBVQHJDdrzeffq2F3gDSn1fbXNQA8oAAAAASUVORK5CYII=)
top
no-repeat
;
background-size
:
contain
;
background-position-y
:
6px
;
span{
margin
:
0px
21px
;
}
}
}
}
...
...
src/views/systemTX/map.vue
View file @
9d482cc
...
...
@@ -93,7 +93,7 @@
</div>
<!-- 底部数据展示区域 -->
<div
class=
"bottomResult"
v-if=
"bottomResultDialog"
>
<div
class=
"closeButn"
@
click=
"closeBufferDialog"
>
<div
class=
"closeButn"
@
click=
"closeBufferDialog
(false)
"
>
<i
class=
"el-icon-close"
></i>
</div>
<el-tabs
v-model=
"activeName"
>
...
...
@@ -476,8 +476,8 @@ export default {
color
:
#F39835
;
}
.active
{
border-bottom
:
1.5
px
solid
#409eff
;
padding-bottom
:
5
px
;
border-bottom
:
2
px
solid
#409eff
;
padding-bottom
:
10
px
;
}
}
.searchResult
{
...
...
@@ -575,11 +575,10 @@ export default {
background-color
:
#ffffff
;
margin
:
10px
;
border-radius
:
4px
;
padding
:
5px
;
.closeButn{
position
:
relative
;
float
:
right
;
font-size
:
20
px
;
font-size
:
18
px
;
color
:
#9B9B9B
;
z-index
:
16
;
}
...
...
@@ -592,6 +591,14 @@ export default {
/
deep
/
.el-table
td
,
.el-table
th
.is-leaf
{
text-align
:
center
;
}
/
deep
/
.el-tabs__nav
:first
{
margin-left
:
33px
;
}
/
deep
/
.el-tabs__item.is-active
{
color
:
#505050
;
background-color
:
#ffffff
;
}
}
}
</
style
>
\ No newline at end of file
...
...
src/views/systemTX/mapWeight/sideTools.vue
View file @
9d482cc
...
...
@@ -377,7 +377,6 @@
}
}
//将那个导入图层清除
self
.
createBuffer
(
this
.
importGeo
,
self
.
bufferParams
.
distance
,
self
.
viewId
,
function
(
bufGeo
)
{
self
.
identify
(
self
.
layerUrl
,
self
.
bufferParams
.
layerId
,
bufGeo
,
function
(
res
){
var
resultes
=
res
.
results
;
...
...
@@ -431,6 +430,7 @@
getDjzqList
(){
var
self
=
this
,
djzqLayer
=
this
.
getLayerByName
(
"DJZQ"
);
self
.
bufferParams
.
selectDjzq
=
""
;
self
.
djzqList
=
[];
this
.
queryAttributes
(
this
.
layerUrl
+
"/"
+
djzqLayer
.
id
,{
"DJZQDM"
:
this
.
bufferParams
.
selectDjq
},
function
(
features
)
{
if
(
features
!=
null
){
...
...
Please
register
or
sign in
to post a comment