Authored by
xuqi
header/footer data structure rebuild
...
|
...
|
@@ -68,6 +68,34 @@ |
|
|
|
|
|
### 站点头部和尾部
|
|
|
|
|
|
//header
|
|
|
{
|
|
|
header: {
|
|
|
back: true/false,
|
|
|
title: '',
|
|
|
home: '' //对应页面有就传,没有就不传
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//footer已登录
|
|
|
{
|
|
|
footer: {
|
|
|
name: '',
|
|
|
url: '',
|
|
|
signoutUrl: ''
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//footer未登录
|
|
|
{
|
|
|
footer: {
|
|
|
loginUrl: '',
|
|
|
signupUrl: ''
|
|
|
}
|
|
|
}
|
|
|
|
|
|
## 首页
|
|
|
|
|
|
{
|
|
|
headerDownload: {
|
|
|
img: '',
|
...
|
...
|
@@ -77,22 +105,6 @@ |
|
|
bgColor: '',
|
|
|
searchUrl: ''
|
|
|
},
|
|
|
footer: {
|
|
|
//--已登录--
|
|
|
user: {
|
|
|
name: '',
|
|
|
url: '',
|
|
|
signoutUrl: ''
|
|
|
}
|
|
|
//--未登录--
|
|
|
// loginUrl: '',
|
|
|
// signupUrl: ''
|
|
|
}
|
|
|
}
|
|
|
|
|
|
## 首页
|
|
|
|
|
|
{
|
|
|
content: [
|
|
|
//banner
|
|
|
{
|
...
|
...
|
|