提交 e9ba76e4 编写于 作者: 芊里

页面结构再改

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