greenPro/unpackage/dist/dev/mp-weixin/pages/component/map/map.js

44 lines
1.1 KiB
JavaScript

"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "map",
latitude: 39.909,
longitude: 116.39742,
covers: [{
id: 1,
latitude: 39.9085,
longitude: 116.39747,
iconPath: "../../../static/location.png"
}, {
id: 2,
latitude: 39.9,
longitude: 116.39,
iconPath: "../../../static/location.png"
}]
};
},
methods: {}
};
if (!Array) {
const _easycom_page_head2 = common_vendor.resolveComponent("page-head");
_easycom_page_head2();
}
const _easycom_page_head = () => "../../../components/page-head/page-head.js";
if (!Math) {
_easycom_page_head();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.p({
title: $data.title
}),
b: $data.latitude,
c: $data.longitude,
d: $data.covers
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "E:/xianyu/app/greenPro/pages/component/map/map.vue"]]);
wx.createPage(MiniProgramPage);