From 34c45b015e264fa84a8765d44c559f1d0f1f21f8 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 1 Aug 2025 15:59:24 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 18 ++++++++---- pages/map/map.vue | 35 +++++++++++++++++++++-- subPackages/h5Web/h5Web.vue | 57 +++++++++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+), 9 deletions(-) create mode 100644 subPackages/h5Web/h5Web.vue diff --git a/pages.json b/pages.json index 8a015ad..6389e2b 100644 --- a/pages.json +++ b/pages.json @@ -264,6 +264,12 @@ "style" : { "navigationBarTitleText" : "智游常熟" } + }, + { + "path": "h5Web/h5Web", + "style": { + "navigationBarTitleText": "" + } } ] } @@ -283,12 +289,12 @@ "selectedIconPath" : "/static/images/selectHome.png", "text" : "首页" }, - // { - // "pagePath" : "pages/map/map", - // "iconPath" : "/static/images/map.png", - // "selectedIconPath" : "/static/images/selectMap.png", - // "text" : "地图" - // }, + { + "pagePath" : "pages/map/map", + "iconPath" : "/static/images/map.png", + "selectedIconPath" : "/static/images/selectMap.png", + "text" : "地图" + }, { "pagePath" : "pages/user/user", "iconPath" : "/static/images/mine.png", diff --git a/pages/map/map.vue b/pages/map/map.vue index 21ccb34..f1945c2 100644 --- a/pages/map/map.vue +++ b/pages/map/map.vue @@ -1,11 +1,40 @@ - \ No newline at end of file diff --git a/subPackages/h5Web/h5Web.vue b/subPackages/h5Web/h5Web.vue new file mode 100644 index 0000000..d2abcc9 --- /dev/null +++ b/subPackages/h5Web/h5Web.vue @@ -0,0 +1,57 @@ + + + + + \ No newline at end of file From 282588013f68628b3bce8f15b4ea026bcc33c3f6 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 1 Aug 2025 16:09:17 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=94=B5=E8=AF=9D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 6 +++--- subPackages/other/consulting.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index c80d21a..0f5dfdd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -257,7 +257,7 @@ path: '/subPackages/other/gonggtcc' }, { - title: '咨询投诉', + title: '公共咨询', img: 'https://static.ticket.sz-trip.com/changshu/images/index/2025/summer/zxts.png', path: '/subPackages/other/consulting' }, @@ -311,8 +311,8 @@ this.Post({ id: 4 },'/api/article/getArticleById').then(res => { - this.isShow = res.data.subtitle == 1 ? true : false - // this.isShow = res.data.address == 1 ? true : false + // this.isShow = res.data.subtitle == 1 ? true : false + this.isShow = res.data.address == 1 ? true : false }) }, onReady() { diff --git a/subPackages/other/consulting.vue b/subPackages/other/consulting.vue index deb9b9a..b2f132c 100644 --- a/subPackages/other/consulting.vue +++ b/subPackages/other/consulting.vue @@ -11,15 +11,15 @@ - + - {{el.name}} - {{el.tel}} + 咨询电话 + 0512-66555111 From a647f375171784c954bcc2658a971623f8c7b016 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Thu, 4 Sep 2025 17:14:04 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 4 ++-- pages/index/index.vue | 4 ++-- pages/map/map.vue | 26 +++++++++++++++----------- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/pages.json b/pages.json index 6389e2b..e7666b4 100644 --- a/pages.json +++ b/pages.json @@ -16,7 +16,7 @@ { "path" : "pages/map/map", "style" : { - "navigationBarTitleText" : "智游常熟" + "navigationBarTitleText" : "文体旅地图" } }, { @@ -293,7 +293,7 @@ "pagePath" : "pages/map/map", "iconPath" : "/static/images/map.png", "selectedIconPath" : "/static/images/selectMap.png", - "text" : "地图" + "text" : "文体旅地图" }, { "pagePath" : "pages/user/user", diff --git a/pages/index/index.vue b/pages/index/index.vue index 0f5dfdd..faeee33 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -311,8 +311,8 @@ this.Post({ id: 4 },'/api/article/getArticleById').then(res => { - // this.isShow = res.data.subtitle == 1 ? true : false - this.isShow = res.data.address == 1 ? true : false + this.isShow = res.data.subtitle == 1 ? true : false + // this.isShow = res.data.address == 1 ? true : false }) }, onReady() { diff --git a/pages/map/map.vue b/pages/map/map.vue index f1945c2..5c09847 100644 --- a/pages/map/map.vue +++ b/pages/map/map.vue @@ -12,18 +12,22 @@ } }, onShow() { + this.checkIsLoginJdsz().then(res => { + if(res) { + this.src = 'https://chang-map.js-dyyj.com?token=' + res + } + }) // 必须登录 - let userInfo = (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo'))) || this.$store.state.user.userInfo || {} - console.log(userInfo) - if(userInfo.token) { - this.src = 'http://localhost:8080/?token=' + userInfo.token - // this.src = 'https://chang-map.js-dyyj.com?token=' + userInfo.token - console.log(this.src) - }else { - uni.navigateTo({ - url: '/pages/login/login' - }) - } + // let userInfo = (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo'))) || this.$store.state.user.userInfo || {} + // console.log(userInfo) + // if(userInfo.token) { + // this.src = 'https://chang-map.js-dyyj.com?token=' + userInfo.token + // console.log(this.src) + // }else { + // uni.navigateTo({ + // url: '/pages/login/login' + // }) + // } }, methods: {