"use strict"; const common_vendor = require("../../common/vendor.js"); const _sfc_main = { data() { return { disable: false, show: true, title: "", address: "", longitude: "112.1783132134475", latitude: "31.0125237588488", imageSrc: "/static/logo.png", //自定义图片 marker: { id: 1, height: 30, width: 30, iconPath: "https://farm.evcc.top/Uploads/yuanboyuan/maps/location.png" }, mapKey: "b78c4241947ead5c20f5dd7849c2b5c7", //高德地图测试key //mapKey: 'ZNJBZ-E6RHJ-EV3F2-DL73K-ARTTH-3EBRZ', //腾讯地图测试key //mapKey: 'p5mGzPEt30bwv1yEkeQGsGP4Xrs9xxxx', //百度地图 mapType: "amap" // tmap bmap amap }; }, onLoad() { }, onShareAppMessage() { return { title: "欢迎来荆门市园博园游玩!", path: "/pages/index/index" }; }, onShareTimeline() { return { title: "欢迎来荆门市园博园游玩!" }; }, methods: { onClick() { this.show = true; }, confirm(e) { if (e) { this.longitude = e.longitude; this.latitude = e.latitude; this.title = e.title; this.address = e.address; } this.show = false; } } }; if (!Array) { const _easycom_atl_map2 = common_vendor.resolveComponent("atl-map"); _easycom_atl_map2(); } const _easycom_atl_map = () => "../../uni_modules/atl-map/components/atl-map/atl-map.js"; if (!Math) { _easycom_atl_map(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ a: $data.show }, $data.show ? { b: common_vendor.o($options.confirm), c: common_vendor.p({ disable: $data.disable, longitude: $data.longitude, latitude: $data.latitude, marker: $data.marker, mapKey: $data.mapKey, mapType: $data.mapType }) } : {}); } const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); _sfc_main.__runtimeHooks = 6; wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/guide/guide.js.map