diff --git a/App.vue b/App.vue
index 7d51e0e..2937a4e 100644
--- a/App.vue
+++ b/App.vue
@@ -388,20 +388,19 @@
return
}
- // 获取当前页面入口地址作为分享链接
- const currentUrl = window.location.href
- // 移除URL中的hash部分,只保留基础URL
- const baseUrl = currentUrl.split('#')[0]
- const shareImageUrl = `${window.location.origin}/h5/static/icon_logo.png`
-
- // 全局分享配置
- const shareConfig = {
- title: '胥口枢纽闸站公众号',
- desc: '主要功能为胥口闸站船只过闸预约、支付等功能',
- link: baseUrl,
- imgUrl: shareImageUrl,
- type: 'link'
- }
+ // 获取当前页面入口地址作为分享链接
+ const currentUrl = window.location.href
+ // 移除URL中的hash部分,只保留基础URL
+ const baseUrl = currentUrl.split('#')[0]
+
+ // 全局分享配置
+ const shareConfig = {
+ title: '胥口枢纽闸站公众号',
+ desc: '主要功能为胥口闸站船只过闸预约、支付等功能',
+ link: baseUrl,
+ imgUrl: window.location.origin + '/static/icon_logo.png',
+ type: 'link'
+ }
// 生成安全的分享链接
let safeShareUrl = shareConfig.link;
@@ -507,4 +506,4 @@
+
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 332c855..b2bb712 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -20,14 +20,7 @@
: "-"
}}m
-