Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
1a797923
Commit
1a797923
authored
Nov 26, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地图
parent
9694fe29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
4 deletions
+50
-4
reportIndex.vue
src/views/report/reportIndex.vue
+9
-3
thirdScreen.vue
src/views/report/thirdScreen.vue
+41
-1
worldMap.vue
src/views/report/worldMap.vue
+0
-0
No files found.
src/views/report/reportIndex.vue
View file @
1a797923
...
...
@@ -22,11 +22,11 @@
<secondMap
:isShowOther=
"isShowSecond"
></secondMap>
</div>
<div
id=
"thirdScreen"
style=
"width:100%;height:100%;"
v-if=
"isShowThird"
>
<thirdScreen
:isShow=
"isShowThird"
></thirdScreen>
<thirdScreen
:isShow=
"isShowThird"
@
hidePage=
"hidePage"
></thirdScreen>
</div>
</section>
<div
class=
"buttonWrap"
v-show=
"isShow
Other
"
>
<div
class=
"buttonWrap"
v-show=
"isShow
Page
"
>
<p
:class=
"currentScreen==1?'activeP':''"
@
click=
"handleToWhich(1)"
></p>
<p
:class=
"currentScreen==2?'activeP':''"
@
click=
"handleToWhich(2)"
></p>
<p
:class=
"currentScreen==3?'activeP':''"
@
click=
"handleToWhich(3)"
></p>
...
...
@@ -56,7 +56,8 @@
isShowThird
:
false
,
isShowForth
:
false
,
isShowFifth
:
false
,
currentScreen
:
1
currentScreen
:
1
,
isShowPage
:
false
}
...
...
@@ -66,6 +67,7 @@
handleTo
(
type
){
this
.
isShowFirst
=
false
;
this
.
isShowOther
=
true
;
this
.
isShowPage
=
true
;
this
.
isShowSecond
=
true
;
this
.
isWhich
=
type
;
},
...
...
@@ -93,6 +95,10 @@
this
.
isShowForth
=
false
;
this
.
isShowFifth
=
true
;
}
},
hidePage
(
data
){
this
.
isShowPage
=
!
data
;
}
...
...
src/views/report/thirdScreen.vue
View file @
1a797923
...
...
@@ -47,7 +47,7 @@
</div>
<div>
<div
id=
"projectNum"
></div>
<p>
项目数量
</p>
<p
@
click=
"handleMap"
>
项目数量
</p>
</div>
<div>
<div
id=
"infoKnowledge"
></div>
...
...
@@ -58,15 +58,25 @@
<p>
品牌
</p>
</div>
</div>
<div
class=
"worldMap"
v-if=
"isShowWorldMap"
>
<worldMap></worldMap>
</div>
<div
class=
"closeButton"
v-show=
"isShowWorldMap"
>
<i
class=
"iconfont icon-cuowu"
@
click=
"handleClose"
></i>
</div>
</div>
</
template
>
<
script
>
import
echarts
from
'echarts'
;
import
'../../../public/js/techbook'
;
import
worldMap
from
'./worldMap'
;
export
default
{
name
:
"thirdScreen"
,
props
:[
'isShow'
],
components
:{
worldMap
},
data
(){
return
{
currentIndex
:
1
,
...
...
@@ -404,6 +414,7 @@
data
:
[
187430
,
99233
,
125490
]
}
],
isShowWorldMap
:
false
}
},
...
...
@@ -491,6 +502,16 @@
mapChart
.
style
.
height
=
'200px'
;
echartIndustry
=
echarts
.
init
(
mapChart
,
'techbook'
);
echartIndustry
.
setOption
(
this
.
platformEchartsOption
,
true
);
},
//查看地图
handleMap
(){
this
.
isShowWorldMap
=
true
;
this
.
$emit
(
"hidePage"
,
true
);
},
handleClose
(){
this
.
isShowWorldMap
=
false
;
}
},
mounted
(){
...
...
@@ -506,6 +527,7 @@
background-size
:
100%
;
color
:
#fff
;
padding-top
:
50px
;
position
:
relative
;
&
>
p
{
font-size
:
30px
;
}
...
...
@@ -575,5 +597,22 @@
}
}
}
.worldMap
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
}
.closeButton
{
position
:
absolute
;
right
:
20px
;
top
:
20px
;
cursor
:
pointer
;
.icon-cuowu
:before
{
color
:
#D8D8D8
;
font-size
:
25px
;
}
}
}
</
style
>
\ No newline at end of file
src/views/report/worldMap.vue
0 → 100644
View file @
1a797923
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment