Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
15f82721
Commit
15f82721
authored
Feb 17, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加跳转index
parent
7f4b4715
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
18 deletions
+23
-18
main.js
gassafetyprogress-web/src/main.js
+2
-2
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+21
-16
No files found.
gassafetyprogress-web/src/main.js
View file @
15f82721
/*
* @Author: your name
* @Date: 2022-01-07 11:29:13
* @LastEditTime: 2022-02-17 11:
23:19
* @LastEditTime: 2022-02-17 11:
35:38
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /gassafety-progress/gassafetyprogress-web/src/main.js
...
...
@@ -16,6 +16,7 @@ import './assets/styles/element-variables.scss'
import
'@/assets/styles/index.scss'
// global css
import
'@/assets/styles/zehong.scss'
// zehong css
import
'./assets/css/font.css'
import
'./assets/styles/all.scss'
import
App
from
'./App'
import
store
from
'./store'
...
...
@@ -30,7 +31,6 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels,
import
Pagination
from
"@/components/Pagination"
;
// 自定义表格工具扩展
import
RightToolbar
from
"@/components/RightToolbar"
import
'./assets/styles/all.scss'
// 全局方法挂载
...
...
gassafetyprogress-web/src/views/bigWindow/index.vue
View file @
15f82721
<!--
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-17 1
0:5
7:53
* @LastEditTime: 2022-02-17 1
1:4
7:53
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue
-->
<
template
>
<div
class=
"home bigwindow"
>
<
!--
<div
class=
"goSystem"
@
click=
"goIndex"
>
进入管理系统
</div>
--
>
<
div
class=
"goSystem"
@
click=
"$router.push('/index')"
>
进入管理系统
</div
>
<div
id=
"map"
></div>
<Center
:show=
"show"
:centerData=
"centerData"
/>
<PipeColor
/>
...
...
@@ -148,8 +148,6 @@ import User from "@/components/bigWindow/User.vue";
import
Center
from
"@/components/bigWindow/Center.vue"
;
import
PipeColor
from
"@/components/bigWindow/PipeColor.vue"
;
// import markerInfoWindow from './components/markerInfoWindow.vue'
import
leftBar
from
"@/components/bigWindow/leftBar.vue"
;
import
rightBar
from
"@/components/bigWindow/rightBar.vue"
;
...
...
@@ -203,7 +201,7 @@ export default {
"map"
,
{
mapStyle
:
"amap://styles/f71d3a3d73e14f5b2bf5508bf1411758"
,
zoom
:
14.5
zoom
:
14.5
,
},
this
);
...
...
@@ -239,7 +237,7 @@ export default {
},
centerDataFunc
(
centerData
)
{
this
.
centerData
=
centerData
;
console
.
log
(
centerData
)
console
.
log
(
centerData
)
;
this
.
show
=
true
;
},
...
...
@@ -252,11 +250,11 @@ export default {
this
.
map
.
companyFilter
(
this
.
selarr
);
this
.
map
.
infowindowClose
();
this
.
show
=
false
;
this
.
show
=
false
;
},
sel
(
index
,
item
)
{
this
.
map
.
infowindowClose
()
this
.
show
=
false
;
this
.
map
.
infowindowClose
();
this
.
show
=
false
;
const
ind
=
this
.
selarr
.
indexOf
(
item
.
val
);
if
(
ind
>=
0
)
{
this
.
selarr
.
splice
(
ind
,
1
);
...
...
@@ -318,6 +316,18 @@ export default {
position
:
relative
;
height
:
100vh
;
}
.goSystem
{
position
:
fixed
;
z-index
:
9999
;
top
:
20px
;
right
:
210px
;
font-size
:
18px
;
color
:
#18baff
;
cursor
:
pointer
;
&
:hover
{
color
:
#1890ff
;
}
}
#map
{
position
:
absolute
;
top
:
0px
;
...
...
@@ -336,7 +346,6 @@ export default {
height
:
100%
;
}
.leftbar
{
width
:
450px
;
height
:
100%
;
...
...
@@ -395,11 +404,8 @@ export default {
cursor
:
pointer
;
}
.active
{
text-shadow
:
0
0
10px
#2ee7e7
,
0
0
10px
#2ee7e7
,
0
0
15px
#2ee7e7
,
0
0
20px
#2ee7e7
,
text-shadow
:
0
0
10px
#2ee7e7
,
0
0
10px
#2ee7e7
,
0
0
15px
#2ee7e7
,
0
0
20px
#2ee7e7
;
/*position:relative;*/
/*&::after{
...
...
@@ -417,7 +423,6 @@ export default {
background-position: center;
color: aquamarine;
}*/
}
.weather-icon
{
float
:
left
;
...
...
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