Authored by xuqi

header/footer data-structure modify

@@ -70,25 +70,28 @@ @@ -70,25 +70,28 @@
70 70
71 //header 71 //header
72 { 72 {
73 - header: {  
74 - back: true/false,  
75 - title: '',  
76 - home: '' //对应页面有就传,没有就不传 73 + pageHeader: {
  74 + //对应页面有就传,没有就不传
  75 + navBack: '',
  76 + navTitle: '',
  77 + navHome: ''
77 } 78 }
78 } 79 }
79 80
80 //footer已登录 81 //footer已登录
81 { 82 {
82 - footer: {  
83 - name: '',  
84 - url: '',  
85 - signoutUrl: '' 83 + pageFooter: {
  84 + user: {
  85 + name: '',
  86 + url: '',
  87 + signoutUrl: ''
  88 + }
86 } 89 }
87 } 90 }
88 91
89 //footer未登录 92 //footer未登录
90 { 93 {
91 - footer: { 94 + pageFooter: {
92 loginUrl: '', 95 loginUrl: '',
93 signupUrl: '' 96 signupUrl: ''
94 } 97 }