Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
刘远
/
3d_dc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
58a51f7d
authored
2020-08-05 17:51:43 +0800
by
刘远
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
d31e475c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
78 additions
and
17 deletions
src/App.vue
src/components/leftAssert.vue
src/components/mapPop.vue
src/components/thematicAnalysis.vue
src/components/treeSearch.vue
src/views/Home.vue
src/App.vue
View file @
58a51f7
...
...
@@ -10,6 +10,8 @@
html
,
body
,
#app
{
width
:
100%
;
height
:
100%
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
}
*
{
margin
:
0px
;
...
...
@@ -20,4 +22,6 @@
.cesium-viewer-toolbar
,
.cesium-viewer-animationContainer
,
.cesium-viewer-bottom
,
.cesium-viewer-fullscreenContainer
{
display
:
none
!important
;
}
</
style
>
...
...
src/components/leftAssert.vue
View file @
58a51f7
...
...
@@ -7,7 +7,7 @@
<div
class=
"name"
>
资源目录
</div>
</div>
<div
style=
"margin-top: 16px;"
v-show=
'isAssert'
>
<treeSearch
@
foldAssert=
'foldAssert'
></treeSearch>
<treeSearch
@
foldAssert=
"foldAssert('isAssert')"
></treeSearch>
</div>
<div
class=
"assert-list"
:class=
"[isZTFX?'a-selected':'a-no-selected']"
@
click=
"changeSelect('isZTFX')"
...
...
@@ -18,7 +18,7 @@
<div
class=
"name"
>
专题分析
</div>
</div>
<div
style=
"margin-top: 16px;"
v-show=
'isZTFX'
>
<treeSearch
@
foldAssert=
'foldAssert'
></treeSearch>
<treeSearch
@
foldAssert=
"foldAssert('isZTFX')"
></treeSearch>
</div>
<div
class=
"assert-list"
:class=
"[isFASC?'a-selected':'a-no-selected']"
@
click=
"changeSelect('isFASC')"
...
...
@@ -29,7 +29,7 @@
<div
class=
"name"
>
方案审查
</div>
</div>
<div
style=
"margin-top: 16px;"
v-show=
'isFASC'
>
<treeSearch
@
foldAssert=
'foldAssert'
></treeSearch>
<treeSearch
@
foldAssert=
"foldAssert('isFASC')"
></treeSearch>
</div>
</div>
...
...
@@ -62,9 +62,9 @@
else
this
[
ele
]
=
false
;
})
},
foldAssert
()
{
this
.
isAssert
=
false
;
}
foldAssert
(
val
)
{
this
[
val
]
=
false
;
}
,
}
}
</
script
>
...
...
src/components/mapPop.vue
View file @
58a51f7
...
...
@@ -16,7 +16,7 @@
<span>
总用地面积
</span>
<span>
26.245
</span>
</div>
<div
class=
"list-box"
>
<div
class=
"list-box"
>
<span>
净用地面积
</span>
<span>
26.07
</span>
</div>
...
...
@@ -32,7 +32,8 @@
name
:
'mapPop'
,
components
:
{},
data
()
{
return
{}
return
{
}
},
mounted
()
{},
methods
:
{
...
...
@@ -50,14 +51,14 @@
font-size
:
16px
;
}
.list-box
span
:nth-of-type
(
1
)
{
.list-box
span
:nth-of-type
(
1
)
{
display
:
inline-block
;
width
:
98px
;
margin-right
:
20px
;
color
:
rgba
(
255
,
255
,
255
,
.7
);
}
.list-box
span
:nth-of-type
(
2
)
{
.list-box
span
:nth-of-type
(
2
)
{
margin-top
:
14px
;
display
:
inline-block
;
}
...
...
src/components/thematicAnalysis.vue
0 → 100644
View file @
58a51f7
<
template
>
<div
class=
"container"
>
<div
class=
"flex-center"
>
<div
style=
"margin-right: 14px;"
>
<el-input
v-model=
"search"
style=
"width: 342px; height: 40px;"
placeholder=
"地名、地址、道路"
suffix-icon=
"el-icon-search"
@
change=
'handleSearch()'
></el-input>
</div>
<div
class=
"func-ico"
:class=
"[is2D?'selected':'']"
@
click=
"handleIs2D()"
>
<img
src=
"../assets/一张图/icon_2d3d.png"
alt=
""
>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'thematicAnalysis'
,
components
:
{},
data
()
{
return
{
search
:
''
,
is2D
:
false
,
isCamera
:
false
,
isLayer
:
false
,
isClear
:
false
}
},
mounted
()
{},
methods
:
{
handleSearch
(
val
)
{
this
.
$emit
(
'searchRoat'
,
val
);
},
handleIs2D
()
{
this
.
is2D
=
!
this
.
is2D
;
this
.
$emit
(
'is2D'
,
this
.
is2D
);
},
handleIsCamera
()
{
this
.
isCamera
=
!
this
.
isCamera
;
this
.
$emit
(
'isCamera'
,
this
.
isCamera
);
},
handleIsLayer
()
{
this
.
isLayer
=
!
this
.
isLayer
;
this
.
$emit
(
'isLayer'
,
this
.
isLayer
);
},
handleIsClear
()
{
this
.
isClear
=
!
this
.
isClear
;
this
.
$emit
(
'isClear'
,
this
.
isClear
);
},
}
}
</
script
>
<
style
scoped
>
.container
{}
</
style
>
\ No newline at end of file
src/components/treeSearch.vue
View file @
58a51f7
...
...
@@ -135,4 +135,8 @@
border
:
1px
solid
#000
;
background-color
:
#000
;
}
>>>
.el-icon-search
{
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
...
...
src/views/Home.vue
View file @
58a51f7
...
...
@@ -9,7 +9,7 @@
@
isLayer=
'isLayer'
@
isClear=
'isClear'
@
searchRoat=
'searchRoat'
></rightTopFunc>
</div>
</div>
<div
class=
"rightFunc"
>
<rightFunc
@
isReturn=
'isReturn'
@
enlarge=
'enlarge'
...
...
@@ -24,7 +24,7 @@
@
topSee=
'topSee'
@
roundSee=
'roundSee'
@
horizon=
'horizon'
@
allSee=
'allSee'
></rightFunc>
@
allSee=
'allSee'
></rightFunc>
</div>
<div
class=
"bottomNav"
>
<bottomNav></bottomNav>
...
...
@@ -36,17 +36,13 @@
<mapPop></mapPop>
</div>
<div
id=
"cesiumContainer"
style=
"width:100%;height:100%;"
></div>
<!--
<el-button
@
click=
"testfun"
class=
"testbtn"
></el-button>
-->
<!--
<el-select
@
change=
"selectChanged"
class=
"testbtn"
>
<el-option
v-for=
"item in devTypes"
:key=
"item"
:label=
"item"
:value=
"item"
></el-option>
</el-select>
-->
</div>
</
template
>
<
script
>
import
tool
from
"../assets/js/map/tool"
;
import
TopTitle
from
'../components/topTitle'
;
import
TopTitle
from
'../components/topTitle'
;
import
rightTopFunc
from
'../components/rightTopFunc'
;
import
rightFunc
from
'../components/rightFunc'
;
import
bottomNav
from
'../components/bottomNav'
;
...
...
Please
register
or
sign in
to post a comment