上传代码
This commit is contained in:
31
uniapp04/unpackage/dist/dev/mp-weixin/pages/errands/errands.js
vendored
Normal file
31
uniapp04/unpackage/dist/dev/mp-weixin/pages/errands/errands.js
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
id: 0,
|
||||
title: "map",
|
||||
latitude: 39.909,
|
||||
longitude: 116.39742,
|
||||
covers: [{
|
||||
latitude: 39.909,
|
||||
longitude: 116.39742,
|
||||
iconPath: "../../static/ip_blue.png"
|
||||
}, {
|
||||
latitude: 39.9,
|
||||
longitude: 116.39,
|
||||
iconPath: "../../static/ip_green.png"
|
||||
}]
|
||||
};
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: $data.latitude,
|
||||
b: $data.longitude,
|
||||
c: $data.covers
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
Reference in New Issue
Block a user