From 29d5fd49ea1c4d9796ac837dcf610a35cbad11d0 Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Mon, 24 Jun 2024 17:03:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4API=E4=B8=8B=E7=9A=84map?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=87=B3component=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 - pages/API/map/map.uvue | 468 --------------------- pages/{API => component}/map/map.test.js | 2 +- pages/component/map/map.uvue | 497 +++++++++++++++++++++-- 4 files changed, 464 insertions(+), 510 deletions(-) delete mode 100644 pages/API/map/map.uvue rename pages/{API => component}/map/map.test.js (97%) diff --git a/pages.json b/pages.json index dc57f33e..508a72b7 100644 --- a/pages.json +++ b/pages.json @@ -905,13 +905,6 @@ } }, // #ifdef WEB - { - "path" : "pages/API/map/map", - "style" : - { - "navigationBarTitleText" : "map" - } - }, { "path" : "pages/API/make-phone-call/make-phone-call", "style" : diff --git a/pages/API/map/map.uvue b/pages/API/map/map.uvue deleted file mode 100644 index e2d03bba..00000000 --- a/pages/API/map/map.uvue +++ /dev/null @@ -1,468 +0,0 @@ - - - - - diff --git a/pages/API/map/map.test.js b/pages/component/map/map.test.js similarity index 97% rename from pages/API/map/map.test.js rename to pages/component/map/map.test.js index 7e97c643..1a5c8e8c 100644 --- a/pages/API/map/map.test.js +++ b/pages/component/map/map.test.js @@ -8,7 +8,7 @@ describe('web-map', () => { return } beforeAll(async () => { - page = await program.reLaunch('/pages/API/map/map') + page = await program.reLaunch('/pages/component/map/map') await page.waitFor('view'); // 等待地图加载完成 await page.waitFor(4000); diff --git a/pages/component/map/map.uvue b/pages/component/map/map.uvue index de69428c..e2d03bba 100644 --- a/pages/component/map/map.uvue +++ b/pages/component/map/map.uvue @@ -1,39 +1,468 @@ - + -- GitLab