From 1304629f8de979cd54c01c224f53bfdc0c55733a Mon Sep 17 00:00:00 2001
From: Tuzki <1720599558@qq.com>
Date: Mon, 21 Aug 2023 11:16:19 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=98=B5=E7=A7=B0=E6=A0=B9?=
=?UTF-8?q?=E6=8D=AE=E5=8E=9F=E5=9E=8B=E4=BF=AE=E6=94=B9=20=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=E5=A4=9A=E6=AC=A1=E8=AF=B7=E6=B1=82=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=20=E5=92=A8=E8=AF=A2=E5=88=97=E8=A1=A8=E6=97=A0=E6=B3=95?=
=?UTF-8?q?=E8=B7=B3=E8=BD=AC=E8=AF=A6=E6=83=85=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 13 +++++--
pages/personcenter/personcenter.vue | 38 +++++++++++++------
pages/traffic/outTraffic.vue | 12 +++---
.../scenic/scenicdetial/scenicdetial.vue | 4 +-
sunPackIndex/suggest/sug_list.vue | 2 +-
sunPackIndex/zixun/zixunlist/zixuntlist.vue | 2 +-
6 files changed, 46 insertions(+), 25 deletions(-)
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 }}