Commit 15f82721 authored by 纪泽龙's avatar 纪泽龙

增加跳转index

parent 7f4b4715
/* /*
* @Author: your name * @Author: your name
* @Date: 2022-01-07 11:29:13 * @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 * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /gassafety-progress/gassafetyprogress-web/src/main.js * @FilePath: /gassafety-progress/gassafetyprogress-web/src/main.js
...@@ -16,6 +16,7 @@ import './assets/styles/element-variables.scss' ...@@ -16,6 +16,7 @@ import './assets/styles/element-variables.scss'
import '@/assets/styles/index.scss' // global css import '@/assets/styles/index.scss' // global css
import '@/assets/styles/zehong.scss' // zehong css import '@/assets/styles/zehong.scss' // zehong css
import './assets/css/font.css' import './assets/css/font.css'
import './assets/styles/all.scss'
import App from './App' import App from './App'
import store from './store' import store from './store'
...@@ -30,7 +31,6 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, ...@@ -30,7 +31,6 @@ import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels,
import Pagination from "@/components/Pagination"; import Pagination from "@/components/Pagination";
// 自定义表格工具扩展 // 自定义表格工具扩展
import RightToolbar from "@/components/RightToolbar" import RightToolbar from "@/components/RightToolbar"
import './assets/styles/all.scss'
// 全局方法挂载 // 全局方法挂载
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-11 13:44:17 * @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-17 10:57:53 * @LastEditTime: 2022-02-17 11:47:53
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue * @FilePath: /test/hello-world/src/views/Home.vue
--> -->
<template> <template>
<div class="home bigwindow"> <div class="home bigwindow">
<!-- <div class="goSystem" @click="goIndex">进入管理系统</div> --> <div class="goSystem" @click="$router.push('/index')">进入管理系统</div>
<div id="map"></div> <div id="map"></div>
<Center :show="show" :centerData="centerData" /> <Center :show="show" :centerData="centerData" />
<PipeColor /> <PipeColor />
...@@ -148,8 +148,6 @@ import User from "@/components/bigWindow/User.vue"; ...@@ -148,8 +148,6 @@ import User from "@/components/bigWindow/User.vue";
import Center from "@/components/bigWindow/Center.vue"; import Center from "@/components/bigWindow/Center.vue";
import PipeColor from "@/components/bigWindow/PipeColor.vue"; import PipeColor from "@/components/bigWindow/PipeColor.vue";
// import markerInfoWindow from './components/markerInfoWindow.vue' // import markerInfoWindow from './components/markerInfoWindow.vue'
import leftBar from "@/components/bigWindow/leftBar.vue"; import leftBar from "@/components/bigWindow/leftBar.vue";
import rightBar from "@/components/bigWindow/rightBar.vue"; import rightBar from "@/components/bigWindow/rightBar.vue";
...@@ -203,7 +201,7 @@ export default { ...@@ -203,7 +201,7 @@ export default {
"map", "map",
{ {
mapStyle: "amap://styles/f71d3a3d73e14f5b2bf5508bf1411758", mapStyle: "amap://styles/f71d3a3d73e14f5b2bf5508bf1411758",
zoom:14.5 zoom: 14.5,
}, },
this this
); );
...@@ -239,7 +237,7 @@ export default { ...@@ -239,7 +237,7 @@ export default {
}, },
centerDataFunc(centerData) { centerDataFunc(centerData) {
this.centerData = centerData; this.centerData = centerData;
console.log(centerData) console.log(centerData);
this.show = true; this.show = true;
}, },
...@@ -252,11 +250,11 @@ export default { ...@@ -252,11 +250,11 @@ export default {
this.map.companyFilter(this.selarr); this.map.companyFilter(this.selarr);
this.map.infowindowClose(); this.map.infowindowClose();
this.show=false; this.show = false;
}, },
sel(index, item) { sel(index, item) {
this.map.infowindowClose() this.map.infowindowClose();
this.show=false; this.show = false;
const ind = this.selarr.indexOf(item.val); const ind = this.selarr.indexOf(item.val);
if (ind >= 0) { if (ind >= 0) {
this.selarr.splice(ind, 1); this.selarr.splice(ind, 1);
...@@ -318,6 +316,18 @@ export default { ...@@ -318,6 +316,18 @@ export default {
position: relative; position: relative;
height: 100vh; height: 100vh;
} }
.goSystem {
position: fixed;
z-index: 9999;
top: 20px;
right: 210px;
font-size: 18px;
color: #18baff;
cursor: pointer;
&:hover {
color: #1890ff;
}
}
#map { #map {
position: absolute; position: absolute;
top: 0px; top: 0px;
...@@ -336,7 +346,6 @@ export default { ...@@ -336,7 +346,6 @@ export default {
height: 100%; height: 100%;
} }
.leftbar { .leftbar {
width: 450px; width: 450px;
height: 100%; height: 100%;
...@@ -395,11 +404,8 @@ export default { ...@@ -395,11 +404,8 @@ export default {
cursor: pointer; cursor: pointer;
} }
.active { .active {
text-shadow: 0 0 10px #2ee7e7, text-shadow: 0 0 10px #2ee7e7, 0 0 10px #2ee7e7, 0 0 15px #2ee7e7,
0 0 10px #2ee7e7, 0 0 20px #2ee7e7;
0 0 15px #2ee7e7,
0 0 20px #2ee7e7,
/*position:relative;*/ /*position:relative;*/
/*&::after{ /*&::after{
...@@ -417,7 +423,6 @@ export default { ...@@ -417,7 +423,6 @@ export default {
background-position: center; background-position: center;
color: aquamarine; color: aquamarine;
}*/ }*/
} }
.weather-icon { .weather-icon {
float: left; float: left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment