| | |
| | | .mapTool { |
| | | margin: 2px 0; |
| | | } |
| | | .legend-bg:hover { |
| | | background-image: url("~@/assets/img/new/leftCircle-y.png"); |
| | | } |
| | | .legend-bg { |
| | | background-image: url("~@/assets/img/new/leftCircle.png"); |
| | | background-size: 100%; |
| | |
| | | width: 35px; |
| | | height: 35px; |
| | | position: relative; |
| | | } |
| | | .legend-bg:hover { |
| | | background-color: rgba(16, 145, 250, 0.4); |
| | | border-radius: 50%; |
| | | cursor: pointer; |
| | | pointer-events: all; |
| | | } |
| | | .tcqp { |
| | | background-color: rgba(0, 138, 252, 0.6); |
| | |
| | | Bus.$off("closeLegendPop"); |
| | | }, |
| | | methods: { |
| | | qingqiu() { |
| | | $.ajax({ |
| | | url: "http://10.117.5.21/artemis/api/resource/v1/cameras/indexCode", |
| | | type: "POST", |
| | | dataType: "json", |
| | | data: { |
| | | cameraIndexCode: "57533537f16d4cb9a151cf1527b16798", |
| | | }, |
| | | contentType: "application/json", |
| | | headers: { |
| | | "x-ca-key": 20380928, |
| | | "x-ca-signature-headers": "x-ca-key", |
| | | "x-ca-signature": "IVKr1h18tQGUyxsarkSJCyjO2b0BrBQghc5Bga3V3O8=", |
| | | }, |
| | | success: function (result) { |
| | | console.log(result); |
| | | }, |
| | | }); |
| | | }, |
| | | // 相机参数 |
| | | |
| | | getcamera() { |
| | | let p = sgworld.Navigate.getCameraInfo(); |
| | | console.log(p); |