diff --git a/manifest.config.ts b/manifest.config.ts
index c228c3e..be3df88 100644
--- a/manifest.config.ts
+++ b/manifest.config.ts
@@ -126,6 +126,7 @@ export default defineManifestConfig({
minified: true,
},
usingComponents: true,
+ requiredPrivateInfos: ['getLocation'],
permission: {
'scope.userLocation': {
desc: '需要获取位置以展示医院信息',
diff --git a/package.json b/package.json
index 95c5293..ab121c3 100644
--- a/package.json
+++ b/package.json
@@ -100,6 +100,7 @@
"js-cookie": "^3.0.5",
"pinia": "2.0.36",
"pinia-plugin-persistedstate": "3.2.1",
+ "qqmap-wx-jssdk": "^1.0.0",
"qs": "6.5.3",
"uview-ui": "2.0.38",
"vue": "^3.4.21",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index dc3f4e7..e4655f1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -88,6 +88,9 @@ importers:
pinia-plugin-persistedstate:
specifier: 3.2.1
version: 3.2.1(pinia@2.0.36(typescript@5.7.2)(vue@3.5.15(typescript@5.7.2)))
+ qqmap-wx-jssdk:
+ specifier: ^1.0.0
+ version: 1.0.0
qs:
specifier: 6.5.3
version: 6.5.3
@@ -5409,6 +5412,9 @@ packages:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
+ qqmap-wx-jssdk@1.0.0:
+ resolution: {integrity: sha512-wuaNetsA9/OKEQGgK1CNPsX6pppWpY10cQwQu1OHJplGMyMIMzK2bliMkNXjtry99qXYCsvDAWPqw2DI+/foJg==}
+
qrcode-reader@1.0.4:
resolution: {integrity: sha512-rRjALGNh9zVqvweg1j5OKIQKNsw3bLC+7qwlnead5K/9cb1cEIAGkwikt/09U0K+2IDWGD9CC6SP7tHAjUeqvQ==}
@@ -13176,6 +13182,8 @@ snapshots:
punycode@2.3.1: {}
+ qqmap-wx-jssdk@1.0.0: {}
+
qrcode-reader@1.0.4: {}
qrcode-terminal@0.12.0: {}
diff --git a/src/manifest.json b/src/manifest.json
index faeed88..5ba25d3 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -90,6 +90,9 @@
"minified": true
},
"usingComponents": true,
+ "requiredPrivateInfos": [
+ "getLocation"
+ ],
"permission": {
"scope.userLocation": {
"desc": "需要获取位置以展示医院信息"
diff --git a/src/pages/service/find.vue b/src/pages/service/find.vue
index b227fff..022a5ec 100644
--- a/src/pages/service/find.vue
+++ b/src/pages/service/find.vue
@@ -1,32 +1,17 @@
-
-
-
-
-
- {{ item.name }}
- {{ item.distance }}米
-
-
-
-
-
+
+
+
+
+
+
+
-