From 2c67eff444ab353d6a35fd8954899aade6ef5b18 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Wed, 24 Jul 2024 16:00:36 +0800 Subject: [PATCH] gx --- src/assets/images/map/AED.png | Bin 0 -> 7527 bytes src/view/sy_details.vue | 1 + src/view/sy_map.vue | 20 ++++++++++++-------- src/view/sy_table.vue | 3 ++- 4 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 src/assets/images/map/AED.png diff --git a/src/assets/images/map/AED.png b/src/assets/images/map/AED.png new file mode 100644 index 0000000000000000000000000000000000000000..f4a5f22849e8e2246de2ba4111d20d5806c986b3 GIT binary patch literal 7527 zcmV-t9hl;YP)Py7AxT6*RCr$Poe8uYRhh?sxB6|_NM1G~n`|bmq6o?s7WdH+0Z|9kabeT}A_@#H zoIyb5pn{GI0Y)7HsDm4us59aM7`71%g2*asLNFvDFCipv>#jTRyGvJfz3T3&e%&wq z7%Qhw_3PBF<=0>T@3-8#rD&5yYaIX!60co>8NjsIOU`&>?6n?v40t5|Qc8vGaA|5w zo`lwVPvG_Lbr{gwr1R+meh1tnFQwE2P1;=ve!j;6CjtjGcB)Nlbq8?ih!p)mDOGCPUaRb=rGT~8UBHKc&j90P zty!6gReu?{LMb(rwNc*fS_W8a{g1%;z_xi$YMi%U37n~v`fe+Z+jPKM>%D+WfQ79% z;TG=mR^TM1)SsJqjHUtBT6Y5f2Anps?r7#oj^n&9|YV*;$T{#W3Z5If$&iX z*V@#BmJ|e_Txuei4Z(aUEP!B7=r|PAoR*vx@MDQS^ZLxW06WY5LDS)umcigvQ2aF% z{|rj!ha^puf?zM`dJ}XV4~5s{-%srp0{OT+mYf&xMNN|hvBrUK!{8DqJ?JbGh_jWm zGvE@RSA&q;u451A`Uv!V%vpU?crR8;eIo0gG6QZ}ho;v<|JR}an-KO@!b<}h|4gpR z1CPJ=UrM$1lBAn_3QYPGD9L_~dCA=IWdiJ6v1`Y6S{eqffEPalr8O385?HMRq=C)b zzAy)-ei?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U1GHdux`Q#COyzWTKBzOTBE`0VrfHSjpM?+=C4;e9F@M zz!79y+3+Q!DCr(ThoEB3c)pCk=J<9Npo`IsT)%l!-Eg40X46#@nDp%$s1aus%47id?XVY}1sss*#>_w@jDP=0(_whE(^&XVwERqBn0suU$*{*eZ&*t|ELwMg>I$Pzh(Gd}NEC zmG!tNn--S}Z^e;RNZl^rGBu<2Yyfo=?(VX>=|iUBJFuLZOiNQnkfRi&uVzG*<)|*# zVd}?~MNj!8*l7}l`O{D{dZ4FZ>vHnymdH#pr^7H*wDq`w5_<>dZA3ooFt=WzbTe(;Q|35}PcSQj)JIi&WTBkx!&sD~^hu_I(6*bm`vw zaNIWK!zPR+33xQ*%96b;-N(m8jJ93@ZnJQbnD_4$52N^9);e7LJR1UBzG4{)RYWG3 zl<5YhR*Z>=I=RsUPwe0m57@)59DL#t+k+)tw8(a?-HwK9KaHT;Q9q*xo|w?u>2T%P z2)T9aK03H-EJLlv1h@>^mh;7`_atOKu$A+nU1h>`a*-u_-SzS?dhm(t+g25D`sBQo3F|MvK)|CY9$-38+52uHrdV*jlhV&JnNGGxu{{N3np7FIvX%SER+EU)a6R})61>%pw%$sKkS|s$zw0US zESePzvqEjd=6dHo*8d+Dz-cFGMhUHB8Uekr;jA;zOpaA{#dVUf)vj%)BckCWN9kb2 xi;*;^^<^>gX1Ui { .module { width: 100%; height: 943px; + margin-top: 112px; display: flex; justify-content: space-between; padding: 10px 45px; diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index 6b388a4..c121212 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -129,6 +129,8 @@ import b4 from "@/assets/images/map/b4.png"; import b5 from "@/assets/images/map/b5.png"; import b6 from "@/assets/images/map/b6.png"; import xcbg from "@/assets/images/map/xcbg.png"; + +import AED from "@/assets/images/map/AED.png"; //删除 const jdm_arr = ref([]); const jdm_number_arr = ref([]); @@ -333,16 +335,18 @@ const xkzCenter = reactive([ }, ]); var map = null; - +// 鼠标点击添加点位 const BMAP = () => { // 添加鼠标点击事件监听器 map.addEventListener("click", function (e) { - console.log(e.point, 666); - // console.log(e.point.latLng.lng,e.point.latLng.lat, 666); - // var pt = e.point; // 获取点击的坐标 - map.addOverlay(marker); - var marker = new BMapGL.Marker(new BMapGL.Point(e.point.lng,e.point.lat)); // 创建点 - // var marker = new BMapGL.Marker(pt); // 创建标注 + let icons = ""; + icons = new BMapGL.Icon(AED, new BMapGL.Size(24, 62)); + var marker = new BMapGL.Marker( + new BMapGL.Point(e.latlng.lng, e.latlng.lat), + { + icon: icons, + } + ); // 创建点 map.addOverlay(marker); // 将标注添加到地图中 }); }; @@ -358,8 +362,8 @@ const initMap = () => { //渲染地块 addPolygonCounty(); //添加街道名 - addJd(); BMAP(); + addJd(); }; const loadTown = () => { for (let v of mapTown.features) { diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue index d1ca2c8..c4d2573 100644 --- a/src/view/sy_table.vue +++ b/src/view/sy_table.vue @@ -440,6 +440,7 @@ const rowState = (row) => { img { width: 24px; height: 24px; + margin-right: 8px; } .tableli { font-size: 26px; @@ -451,7 +452,7 @@ const rowState = (row) => { height: 29px; background: rgba(255, 255, 255, 0.2); border-radius: 15px; - border: 0px solid #ffffff; + border: 1px solid #ffffff6b; color: #ffffff; font-weight: 400;