From bdade0e20393d3507937839aeb4e65817b5d1822 Mon Sep 17 00:00:00 2001 From: Tuzki <1720599558@qq.com> Date: Fri, 18 Aug 2023 16:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 7 +++++++ pages/daolan/daolan.vue | 2 +- pages/index/index.vue | 10 ++++++++-- pages/quanjing/720All.vue | 4 ++-- sunPackIndex/suggest/sug_from.vue | 5 +++-- sunPackIndex/suggest/sug_list.vue | 3 +++ 6 files changed, 24 insertions(+), 7 deletions(-) diff --git a/App.vue b/App.vue index e48f0b6..9a203a8 100644 --- a/App.vue +++ b/App.vue @@ -63,6 +63,13 @@ const aes = require('./common/aes.js'); }, onShow: function() { console.log('App Show') + let systemInfo = uni.getSystemInfoSync(); + if (systemInfo.platform == 'ios') { + uni.setNavigationBarColor({ + frontColor: '#000000', + backgroundColor: '#F7F7F7' + }); + } }, onHide: function() { console.log('App Hide') diff --git a/pages/daolan/daolan.vue b/pages/daolan/daolan.vue index 97e3042..75c0461 100644 --- a/pages/daolan/daolan.vue +++ b/pages/daolan/daolan.vue @@ -1,5 +1,5 @@ \ No newline at end of file + diff --git a/sunPackIndex/suggest/sug_from.vue b/sunPackIndex/suggest/sug_from.vue index 9ef84b9..436e0d2 100644 --- a/sunPackIndex/suggest/sug_from.vue +++ b/sunPackIndex/suggest/sug_from.vue @@ -309,6 +309,8 @@ export default { var data = { address: e.detail.value.address, creason: e.detail.value.creason, + lng:e.detail.value.address.split(',')[0], + lat:e.detail.value.address.split(',')[1], ctype: e.detail.value.ctype, linemobile: e.detail.value.linemobile, lineuser: e.detail.value.lineuser, @@ -316,10 +318,9 @@ export default { filePath: filePath, unionid:uni.getStorageSync("unionid"), // unionid: 'unionIdewrqrfb', - lat: that.latitude, - lng: that.longitude, userkey: that.$param.userkey }; + console.log(data) this.$Request.post(this.$config.addFeedback, data).then((res) => { if (res.status == 200) { uni.showModal({ diff --git a/sunPackIndex/suggest/sug_list.vue b/sunPackIndex/suggest/sug_list.vue index 3089aee..9100898 100644 --- a/sunPackIndex/suggest/sug_list.vue +++ b/sunPackIndex/suggest/sug_list.vue @@ -149,6 +149,9 @@ this.$util.hideLoadingByTime(); this.getUserMsg(); }, + onShow:function(){ + this.getUserMsg(); + }, methods:{ onReachScroll: function(t) { if(this.loadType){