From f4fac402d9fd11ef1d23edf520f066055ff989fb Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Wed, 3 Sep 2025 17:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=9C=B0=E5=9D=80=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +-- pages.json | 7 +++++ pages/test/test.vue | 69 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 pages/test/test.vue diff --git a/manifest.json b/manifest.json index 3caef5a..80c9bbe 100644 --- a/manifest.json +++ b/manifest.json @@ -55,7 +55,7 @@ "appid": "wx303943e10cbe2743", "permission": { "scope.userLocation": { - "desc": "您的位置信息将用于获取周边服务" + "desc": "您的位置信息将用于小程序位置接口效果展示" } }, "setting": { @@ -63,7 +63,7 @@ }, "usingComponents": true, "requiredPrivateInfos": [ - "getLocation" + "getLocation","chooseLocation" ] }, "mp-alipay": { diff --git a/pages.json b/pages.json index 0b3fc90..ec34654 100644 --- a/pages.json +++ b/pages.json @@ -110,6 +110,13 @@ "style": { "navigationBarTitleText": "订单详细" } + }, + { + "path" : "pages/test/test", + "style" : + { + "navigationBarTitleText" : "test" + } } ], "subPackages": [ diff --git a/pages/test/test.vue b/pages/test/test.vue new file mode 100644 index 0000000..9371ae7 --- /dev/null +++ b/pages/test/test.vue @@ -0,0 +1,69 @@ + + + 请选择位置 + + name:{{currentLocation.name}} + address:{{currentLocation.address}} + latitude:{{currentLocation.latitude}} + longitude:{{currentLocation.longitude}} + + + + +