1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
| "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
|
|