From 84d894d7d1c22370d9a55ecc27af016c9cf6e5b4 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 30 Dec 2025 14:03:52 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=A1=8C=E8=B5=B0=E7=BA=A2=E8=89=B2?= =?UTF-8?q?=E8=8B=8F=E5=B7=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 45 +- H5地图显示说明.md | 177 ++++ common/config.js | 6 +- common/http.interceptor.js | 88 +- common/util.js | 46 +- common/wechat-jssdk.js | 134 +++ components/tabbar/tabbar.vue | 121 +-- manifest.json | 14 +- packages/cer/cer.vue | 236 +++--- packages/detail/articleDetail.vue | 23 +- packages/detail/detail.vue | 36 +- pages.json | 88 +- pages/book/house.vue | 44 +- pages/book/index.vue | 6 +- pages/home/home.vue | 1268 ++++++++++++++++++++++++++--- pages/index/index.vue | 65 +- pages/line/line.vue | 59 +- pages/line/war.vue | 91 ++- pages/me/me.vue | 98 ++- 19 files changed, 2136 insertions(+), 509 deletions(-) create mode 100644 H5地图显示说明.md create mode 100644 common/wechat-jssdk.js diff --git a/App.vue b/App.vue index 2e953f3..64fbc5f 100644 --- a/App.vue +++ b/App.vue @@ -2,26 +2,26 @@ export default { onLaunch: function() { this.$nextTick(() => { - // uni.login({ - // provider: 'weixin', - // success: (res) => { - // console.log(res.code); - // this.$u.api.login({ - // code: res.code - // }).then(res => { - // this.$u.api.user().then(res=>{ - // this.$u.vuex('vuex_user', res) - // }) - // }) - // } + // uni.login({ + // provider: 'weixin', + // success: (res) => { + // console.log(res.code); + // this.$u.api.login({ + // code: res.code + // }).then(res => { + // this.$u.api.user().then(res=>{ + // this.$u.vuex('vuex_user', res) + // }) + // }) + // } // }); }) - }, - + }, + onShow: function() { - console.log('App Show') + console.log('App Show') }, onHide: function() { @@ -32,15 +32,20 @@ \ No newline at end of file diff --git a/manifest.json b/manifest.json index 4f21729..6288d10 100644 --- a/manifest.json +++ b/manifest.json @@ -77,15 +77,23 @@ "vueVersion" : "2", "h5" : { "router" : { - "base" : "" + "base" : "h5walksz", + "mode" : "hash" }, "devServer" : { "disableHostCheck" : true, - "https" : false + "https" : false, + "port" : 8080 }, "title" : "行走红色苏州", + "template" : "", + "publicPath" : "/h5walksz/", "sdkConfigs" : { - "maps" : {} + "maps" : { + "qqmap" : { + "key" : "B4TBZ-G6OLU-NR6VC-GOUUX-6GTHH-BAFUZ" + } + } } } } diff --git a/packages/cer/cer.vue b/packages/cer/cer.vue index c1141f1..2adf10a 100644 --- a/packages/cer/cer.vue +++ b/packages/cer/cer.vue @@ -5,8 +5,8 @@ mode= -
- +
+