北京经济技术开发区经开区虚拟城市项目-【前端】-移动端Web
11
少年
2024-03-13 cc1e183f088cdb069a7b79cb480dc2efcf09baa9
src/components/poplayer/history2.vue
@@ -30,8 +30,8 @@
  data() {
    return {
      arr: [
        2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
        2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
        2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010,
        2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001,
      ],
      currentValue: 2021,
    };
@@ -39,8 +39,7 @@
  mounted() {
    store.setNavigatorShow(false);
    store.setMapToolShow(false);
    // window.mapapi.getView().setCenter(ol.proj.fromLonLat([4.606512, 2.621472]));
    window.mapapi.getView().setCenter(ol.proj.fromLonLat([116.505348, 39.795592]));
    window.mapapi.getView().setCenter(ol.proj.fromLonLat([4.606512, 2.621472]));
    addHistoryLayer(this.currentValue);
    if (_GLOBAL.GPSMarker) {
      window.mapapi.removeLayer(_GLOBAL.GPSMarker);
@@ -104,7 +103,8 @@
}
.active {
.listBox .active {
  /* background-color: #4590d7; */
  color: #127dff;
}