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){