|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div class="map">
|
|
|
- <img src="@/assets/images/sprh-map.png" />
|
|
|
+ <supermap ref="supermap" style="height: 100%;width: 100%;position: absolute;z-index: 0;"></supermap>
|
|
|
</div>
|
|
|
<!-- 阴影背景 -->
|
|
|
- <div class="bj_left"><img src="@/assets/images/sprhbj-left.png" /></div>
|
|
|
- <div class="bj_right"><img src="@/assets/images/sprhbj-right.png" /></div>
|
|
|
- <div class="bj_bottom"><img src="@/assets/images/sprhbj-bottom.png" /></div>
|
|
|
+ <div class="bj_left"><img src="@/assets/images/sprhbj-left.png"/></div>
|
|
|
+ <div class="bj_right"><img src="@/assets/images/sprhbj-right.png"/></div>
|
|
|
+ <div class="bj_bottom"><img src="@/assets/images/sprhbj-bottom.png"/></div>
|
|
|
<!--头部开始-->
|
|
|
<div class="header">
|
|
|
<h1>城市运行一网统管指挥中心</h1>
|
|
@@ -117,7 +117,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="nav-home-middle" @click="homePage('weather')">
|
|
|
- <img src="@/assets/images/home-btn.png" />
|
|
|
+ <img src="@/assets/images/home-btn.png"/>
|
|
|
<a>返回首页</a>
|
|
|
</div>
|
|
|
<div class="nav-bottom-right">
|
|
@@ -148,17 +148,20 @@ import "@/assets/images/qkq_body.css";
|
|
|
import "@/assets/images/qkq_index.css";
|
|
|
import "@/assets/images/qkq_sprh.css";
|
|
|
import {getCameraList} from "@/api/system/camera";
|
|
|
-
|
|
|
+import supermap from "@/views/supermap/supermap";
|
|
|
|
|
|
|
|
|
export default {
|
|
|
name: "sprh",
|
|
|
+ components:{
|
|
|
+ supermap
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
dropdownVisible: false,
|
|
|
cameras: []
|
|
|
};
|
|
|
- // 可根据实际情况添加更多设备列表
|
|
|
+ // 可根据实际情况添加更多设备列表
|
|
|
},
|
|
|
created() {
|
|
|
},
|
|
@@ -530,14 +533,14 @@ export default {
|
|
|
};
|
|
|
|
|
|
// import '@/assets/images/TL_Tab.js';
|
|
|
-(function($){
|
|
|
- $.fn.TL_Tab = function(options) {
|
|
|
+(function ($) {
|
|
|
+ $.fn.TL_Tab = function (options) {
|
|
|
var defaults = {
|
|
|
- tab : ".df_67 ol li",
|
|
|
- box : ".df_67 ul li",
|
|
|
- events : "over",
|
|
|
- num : 3,
|
|
|
- speed : 300
|
|
|
+ tab: ".df_67 ol li",
|
|
|
+ box: ".df_67 ul li",
|
|
|
+ events: "over",
|
|
|
+ num: 3,
|
|
|
+ speed: 300
|
|
|
};
|
|
|
var setting = $.extend(defaults, options);
|
|
|
|
|
@@ -589,8 +592,8 @@ export default {
|
|
|
|
|
|
|
|
|
// import '@/assets/images/leftnav.js';
|
|
|
-$(function() {
|
|
|
- var Accordion = function(el, multiple) {
|
|
|
+$(function () {
|
|
|
+ var Accordion = function (el, multiple) {
|
|
|
this.el = el || {};
|
|
|
this.multiple = multiple || false;
|
|
|
|
|
@@ -600,7 +603,7 @@ $(function() {
|
|
|
links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown)
|
|
|
};
|
|
|
|
|
|
- Accordion.prototype.dropdown = function(e) {
|
|
|
+ Accordion.prototype.dropdown = function (e) {
|
|
|
var $el = e.data.el;
|
|
|
let $this = $(this);
|
|
|
let $next = $this.next();
|
|
@@ -620,7 +623,7 @@ $(function() {
|
|
|
});
|
|
|
|
|
|
//切换单屏电视墙
|
|
|
-$(function() {
|
|
|
+$(function () {
|
|
|
$(this.$el).find('.facility_tab .div_tab a').TL_Tab({
|
|
|
tab: ".facility_tab .div_tab a",
|
|
|
box: ".facility_tab .tab_cont",
|
|
@@ -631,8 +634,6 @@ $(function() {
|
|
|
});
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
</script>
|
|
|
|
|
|
<style>
|