上传代码

This commit is contained in:
2025-08-18 09:57:10 +08:00
commit ff52db1edc
560 changed files with 102250 additions and 0 deletions

View File

@ -0,0 +1 @@
<view><button onTap="{{a}}">获取定位</button></view>

View File

@ -0,0 +1,25 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "map",
setup(__props) {
const getAddress = () => {
common_vendor.index.chooseLocation({
success: (res) => {
location.value = {
name: res.name,
address: res.address,
latitude: res.latitude,
longitude: res.longitude
};
}
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(getAddress)
};
};
}
};
my.createPage(_sfc_main);

View File

@ -0,0 +1,5 @@
{
"defaultTitle": "配送范围",
"titleBarColor": "#5e7dec",
"usingComponents": {}
}