jiangping
2023-11-02 8e75bb4e451d6d3f33e2146335bad0f85d27d99f
bicycle/unpackage/dist/dev/mp-weixin/pages/maps/maps.js
@@ -101,7 +101,7 @@
try {
  components = {
    uPopup: function () {
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 255))
      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 265))
    },
  }
} catch (e) {
@@ -366,7 +366,7 @@
          res.data.forEach(function (item, index) {
            _this.markers.push({
              id: index,
              width: 30,
              width: 40,
              height: 40,
              distance: _this.latitude && _this.longitude ? (0, _utils.distance)(_this.latitude, _this.longitude, item.latitude, item.longitude) : '未知距离',
              latitude: item.latitude,
@@ -374,8 +374,6 @@
              title: item.name,
              iconPath: '/static/icon/ic_bike@2x.png',
              addr: item.addr,
              clusterId: 1,
              joinCluster: true,
              customCallout: {
                anchorY: 0,
                anchorX: 0,
@@ -393,11 +391,15 @@
        if (item.id === e.markerId) {
          _this2.rice = item.distance;
          item.customCallout.display = 'ALWAYS';
          item.width = 50;
          item.height = 50;
          setTimeout(function () {
            _this2.info = item;
            _this2.show = true;
          }, 300);
        } else {
          item.width = 40;
          item.height = 40;
          item.customCallout.display = 'BYCLICK';
        }
      });