diff --git a/pages.json b/pages.json index 4474ed41c1d2735d71adb82d9b72788d3327cffb..c807f5c4a70c769cf4653795579c64d0b12b6033 100644 --- a/pages.json +++ b/pages.json @@ -400,6 +400,20 @@ "navigationBarTitleText" : "editor" } }, + { + "path" : "pages/API/open-location/open-location", + "style" : + { + "navigationBarTitleText" : "open-location" + } + }, + { + "path" : "pages/API/choose-location/choose-location", + "style" : + { + "navigationBarTitleText" : "choose-location" + } + }, // #endif { "path": "pages/component/list-view/issue-2199", diff --git a/pages/API/choose-location/choose-location.uvue b/pages/API/choose-location/choose-location.uvue new file mode 100644 index 0000000000000000000000000000000000000000..c2f931a9a73f4286f6aec31cc412ac1f0adf1781 --- /dev/null +++ b/pages/API/choose-location/choose-location.uvue @@ -0,0 +1,72 @@ + + + + diff --git a/pages/API/open-location/open-location.uvue b/pages/API/open-location/open-location.uvue new file mode 100644 index 0000000000000000000000000000000000000000..0daef1a2e04bb41811bec3407fefe64f12a2bb61 --- /dev/null +++ b/pages/API/open-location/open-location.uvue @@ -0,0 +1,75 @@ + + + + diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index 5ce38b8cb687abe56132909bfd9533e2e62f7212..99cae1423e3d0bdb39308d6b0ac9d7465b949eff 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -423,15 +423,18 @@ { name: '获取当前位置', url: 'get-location', - }, - /* { - name: "使用地图查看位置", - url: "open-location", - }, - { - name: "使用地图选择位置", - url: "choose-location", - }, + }, + // #ifdef WEB + { + name: "使用地图查看位置", + url: "open-location", + }, + { + name: "使用地图选择位置", + url: "choose-location", + }, + // #endif + /* { name: "地图搜索", url: "map-search",