diff --git a/pages.json b/pages.json index 8942869..15c6d8e 100644 --- a/pages.json +++ b/pages.json @@ -286,6 +286,13 @@ "enablePullDownRefresh": false } + }, { + "path": "pages/personcenter/EditProfile/EditProfile", + "style": { + "navigationBarTitleText": "资料编辑", + "enablePullDownRefresh": false + } + } ], //分包加载配置,此配置为小程序的分包加载机制。 @@ -474,19 +481,19 @@ "backgroundColor": "#FFFFFF" } - },{ + }, { "path": "suggest/sug_list", "style": { "navigationBarTitleText": "我的投诉", "backgroundColor": "#fff" - + } }, { "path": "suggest/sug_from", "style": { "navigationBarTitleText": "投诉填报" - + } } ] diff --git a/pages/personcenter/personcenter.vue b/pages/personcenter/personcenter.vue index 8744139..75973e2 100644 --- a/pages/personcenter/personcenter.vue +++ b/pages/personcenter/personcenter.vue @@ -27,7 +27,9 @@ - 设置头像昵称 + + + @@ -66,7 +68,7 @@ - + @@ -177,11 +179,14 @@ export default { }); return; } else { - this.type = type - this_.url = this.headimgurl - this_.username = this.nickname - // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性 - this.$refs.popup.open(type) + uni.navigateTo({ + url:'/pages/personcenter/EditProfile/EditProfile' + }) + // this.type = type + // this_.url = this.headimgurl + // this_.username = this.nickname + // // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性 + // this.$refs.popup.open(type) } }, onChooseAvatar(e) { @@ -269,12 +274,12 @@ export default { wx.getUserInfo({ provider: 'weixin', success: (res) => { - uni.setStorageSync('nickname', '已登陆'); - uni.setStorageSync('headimgurl', res.userInfo.avatarUrl); + uni.setStorageSync('nickname', '微信用户'); + uni.setStorageSync('headimgurl', 'https://www.lbgjtoa.com/upload/appImg/icon-person-01.png'); uni.setStorageSync('oauthTime', new Date().getTime()); - this_.nickname = '已登陆'; + this_.nickname = '微信用户'; this_.$forceUpdate(); - this_.headimgurl = res.userInfo.avatarUrl; + this_.headimgurl = 'https://www.lbgjtoa.com/upload/appImg/icon-person-01.png'; }, fail: function (error) { console.log('login failed ' + error); @@ -396,6 +401,7 @@ export default { that.deleteUserApp(); (this.scenicGZType = 'NO'), (this.lineGZType = 'NO'), (this.foodGZType = 'NO'), (this.methodGZType = 'NO'), uni.removeStorageSync('nickname'); uni.removeStorageSync('headimgurl'); + uni.removeStorageSync('nickname'); uni.removeStorageSync('oauthTime'); uni.removeStorageSync('openid'); uni.removeStorageSync('unionid'); @@ -531,4 +537,12 @@ export default { width: 100%; height: 100%; } +.t-setting{ + width: 50rpx; + height: 50rpx; + +} +.set-img{ + width: 100%; + height: 100% } diff --git a/pages/traffic/outTraffic.vue b/pages/traffic/outTraffic.vue index 2e06f96..401fe4c 100644 --- a/pages/traffic/outTraffic.vue +++ b/pages/traffic/outTraffic.vue @@ -1,11 +1,11 @@ diff --git a/sunPackIndex/scenic/scenicdetial/scenicdetial.vue b/sunPackIndex/scenic/scenicdetial/scenicdetial.vue index ab3625a..560433b 100644 --- a/sunPackIndex/scenic/scenicdetial/scenicdetial.vue +++ b/sunPackIndex/scenic/scenicdetial/scenicdetial.vue @@ -36,14 +36,14 @@ - + 720全景 全方位观览 - + 智慧导览 智能导航景区 diff --git a/sunPackIndex/suggest/sug_list.vue b/sunPackIndex/suggest/sug_list.vue index 9100898..300b454 100644 --- a/sunPackIndex/suggest/sug_list.vue +++ b/sunPackIndex/suggest/sug_list.vue @@ -147,7 +147,7 @@ return; } this.$util.hideLoadingByTime(); - this.getUserMsg(); + // this.getUserMsg(); }, onShow:function(){ this.getUserMsg(); diff --git a/sunPackIndex/zixun/zixunlist/zixuntlist.vue b/sunPackIndex/zixun/zixunlist/zixuntlist.vue index 4039889..23ea4e2 100644 --- a/sunPackIndex/zixun/zixunlist/zixuntlist.vue +++ b/sunPackIndex/zixun/zixunlist/zixuntlist.vue @@ -45,7 +45,7 @@ - + {{ item.title }}