Authored by
xuqi
header/footer data-structure modify
...
|
...
|
@@ -70,25 +70,28 @@ |
|
|
|
|
|
//header
|
|
|
{
|
|
|
header: {
|
|
|
back: true/false,
|
|
|
title: '',
|
|
|
home: '' //对应页面有就传,没有就不传
|
|
|
pageHeader: {
|
|
|
//对应页面有就传,没有就不传
|
|
|
navBack: '',
|
|
|
navTitle: '',
|
|
|
navHome: ''
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//footer已登录
|
|
|
{
|
|
|
footer: {
|
|
|
pageFooter: {
|
|
|
user: {
|
|
|
name: '',
|
|
|
url: '',
|
|
|
signoutUrl: ''
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//footer未登录
|
|
|
{
|
|
|
footer: {
|
|
|
pageFooter: {
|
|
|
loginUrl: '',
|
|
|
signupUrl: ''
|
|
|
}
|
...
|
...
|
|