提交 e9ba76e4 编写于 作者: 芊里

页面结构再改

上级 7d3d2dcd
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
// "navigationBarTitleText": "", // "navigationBarTitleText": "",
// "navigationBarBackgroundColor": "#FFFFFF", // "navigationBarBackgroundColor": "#FFFFFF",
}, { }, {
"path": "pages/search/search", "path": "pages/list/search/search",
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
"navigationBarTitleText": "问题反馈" "navigationBarTitleText": "问题反馈"
} }
}, { }, {
"path": "pages/about/about", "path": "pages/ucenter/about/about",
"style": { "style": {
"navigationBarTitleText": "关于" "navigationBarTitleText": "关于"
} }
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
} }
} }
}, { }, {
"path": "pages/settings/settings", "path": "pages/ucenter/settings/settings",
"style": { "style": {
"navigationBarTitleText": "设置" "navigationBarTitleText": "设置"
} }
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
} }
}, { }, {
"path": "pages/ucenter/help", "path": "pages/ucenter/help/help",
"style": { "style": {
"navigationBarTitleText": "帮助", "navigationBarTitleText": "帮助",
"enablePullDownRefresh": false "enablePullDownRefresh": false
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
searchClick() { searchClick() {
uni.hideKeyboard(); uni.hideKeyboard();
uni.navigateTo({ uni.navigateTo({
url: '/pages/search/search', url: '/pages/list/search/search',
animationType: 'fade-in' animationType: 'fade-in'
}); });
}, },
......
...@@ -218,6 +218,12 @@ ...@@ -218,6 +218,12 @@
.uni-note { .uni-note {
color: #999; color: #999;
font-size: 12px; font-size: 12px;
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex-direction: row;
align-items: center;
} }
.footer { .footer {
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
if(this.canSearch){ if(this.canSearch){
uni.navigateTo({ uni.navigateTo({
url: '/pages/search/search', url: '/pages/list/search/search',
animationType: 'fade-in' animationType: 'fade-in'
}); });
}else { }else {
......
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
loadList(text = '') { loadList(text = '') {
getApp().globalData.searchText = text; getApp().globalData.searchText = text;
uni.navigateTo({ uni.navigateTo({
url:'../list/news-list' url:'/pages/list/news-list'
}) })
}, },
backPage(){ backPage(){
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
return { return {
agreeList: [{ agreeList: [{
title: '个人资料', title: '个人资料',
to: '' to: '../edit/edit'
}, },
{ {
title: '修改密码', title: '修改密码',
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
logout: 'user/logout' logout: 'user/logout'
}), }),
changePwd(){ changePwd(){
if(this.userInfo.phone){ if(this.userInfo && this.userInfo.phone){
uni.navigateTo({ uni.navigateTo({
url:'/uni_modules/uni-login-page/pages/index/pwd-retrieve?phoneNumber='+ this.userInfo.phone +'&phoneArea=+86' url:'/uni_modules/uni-login-page/pages/index/pwd-retrieve?phoneNumber='+ this.userInfo.phone +'&phoneArea=+86'
}); });
......
...@@ -59,17 +59,17 @@ ...@@ -59,17 +59,17 @@
ucenterList: [ ucenterList: [
[{ [{
title: '阅读过的文章', title: '阅读过的文章',
to: '/pages/agree-list/agree-list' to: '/pages/ucenter/agree-list/agree-list'
}, { }, {
title: '我的积分', title: '我的积分',
to: '/pages/agree-list/agree-list' to: '/pages/ucenter/agree-list/agree-list'
}], }],
[{ [{
title: '政策与协议', title: '政策与协议',
to: '/pages/agree-list/agree-list' to: '/pages/ucenter/agree-list/agree-list'
}, { }, {
title: '关于', title: '关于',
to: '/pages/about/about' to: '/pages/ucenter/about/about'
}, },
//#ifdef APP-PLUS //#ifdef APP-PLUS
{ {
...@@ -81,10 +81,10 @@ ...@@ -81,10 +81,10 @@
], ],
[{ [{
title: '反馈', title: '反馈',
to: '/pages/uni-feedback/uni-feedback' to: '/pages/ucenter/uni-feedback/uni-feedback'
}, { }, {
title: '设置', title: '设置',
to: '/pages/settings/settings' to: '/pages/ucenter/settings/settings'
}] }]
] ]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册