MrShi
2023-12-25 21544c5c6d1dc913ba44edec8c001a2272233ec6
bicycle/unpackage/dist/dev/mp-weixin/pages/maps/maps.js
@@ -125,11 +125,22 @@
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  var g0 = _vm.rice > 1000 ? (_vm.rice / 1000).toFixed(1) : null
  var g1 = _vm.rice > 1000 ? (_vm.rice / 1000).toFixed(1) : null
  if (!_vm._isMounted) {
    _vm.e0 = function ($event) {
      _vm.show = false
    }
  }
  _vm.$mp.data = Object.assign(
    {},
    {
      $root: {
        g0: g0,
        g1: g1,
      },
    }
  )
}
var recyclableRender = false
var staticRenderFns = []
@@ -364,11 +375,12 @@
        if (res.code === 200) {
          _this.markers = [];
          res.data.forEach(function (item, index) {
            var num = (0, _utils.distance)(_this.latitude, _this.longitude, item.latitude, item.longitude);
            _this.markers.push({
              id: index,
              width: 40,
              height: 40,
              distance: _this.latitude && _this.longitude ? (0, _utils.distance)(_this.latitude, _this.longitude, item.latitude, item.longitude) : '未知距离',
              distance: _this.latitude && _this.longitude ? num : '未知距离',
              latitude: item.latitude,
              longitude: item.longitude,
              title: item.name,