+
liuyg
2021-12-23 d18b5a0f3653e41df8cbc30b75f4f3b14153c560
src/components/mobileLeftNav/index.vue
@@ -25,6 +25,7 @@
  getListparking, //停车场
  getListarchitecture, //全景
  getListarchitecture1, //标签
  getListroad, //道路
} from "@/api/mobile/piont/index";
export default {
  name: "mobileLeftNav",
@@ -79,16 +80,16 @@
          imgSrc: "https://map.hit.edu.cn/images/tarrow_xq.png",
          // imgSrc: "img/mobile/pink.png",
        },
        // {
        //   flag: false,
        //   label: "道路",
        //   img: "/img/leftnav/way.png",
        //   normal: "/img/leftnav/way.png",
        //   checked: "/img/leftnav/way-checked.png",
        //   layer: "wayLayer",
        //   methods: getListdoor,
        //   imgSrc: "img/mobile/green.png",
        // },
        {
          flag: false,
          label: "道路",
          img: "/img/leftnav/way.png",
          normal: "/img/leftnav/way.png",
          checked: "/img/leftnav/way-checked.png",
          layer: "wayLayer",
          methods: getListroad,
          imgSrc: "img/mobile/green.png",
        },
        {
          flag: false,
          label: "实景",
@@ -462,6 +463,20 @@
                            </div>
                        </div>
                    `;
            } else if (ourD.label == "道路") {
              // <div  class="way-title" style="border: white 1px solid; padding-left: 2px;font-size: 12px; background: #0066ff;  width: 12px;line-height: 13px; padding:2px 1px 2px 1px; color:white;">
              //    ${data[k].mechanismname}
              // </div>
              dom = `
                        <div  class="way-entitys-box">
                            <div  class="way-title" style="border: white 1px solid; padding-left: 2px;font-size: 12px; background: #0066ff;  width: 12px;line-height: 13px; padding:2px 1px 2px 1px; color:white;">
                                ${data[k].roadname}
                            </div>
                            <div  class="way-sign-box">
                                <img src="https://map.hit.edu.cn/images/roadsign3.png">
                            </div>
                        </div>
                    `;
            } else if (ourD.label == "实景") {
              // <div  class="way-title" style="border: white 1px solid; padding-left: 2px;font-size: 12px; background: #0066ff;  width: 12px;line-height: 13px; padding:2px 1px 2px 1px; color:white;">
              //    ${data[k].mechanismname}
@@ -516,7 +531,7 @@
            divIcon.on(DC.MouseEventType.CLICK, (e) => {
              // console.log(data[k]);
              let d = {
                name: data[k].mechanismname,
                name: data[k].mechanismname || data[k].roadname,
                bgImg: data[k].tpurl,
                introduce: data[k].introduce,
              };
@@ -575,7 +590,7 @@
  .m-left-coutrol {
    position: absolute;
    left: -24px;
    top: 60px;
    top: 77px;
    width: 25px;
    height: 60px;
    background-color: #fff;