Authored by 李犇

增加各个header的json描述

... ... @@ -24,6 +24,20 @@
left:默认action为返回,可由h5设置action
title:展示文字、action都由h5设置
```
{
"header":{
"headerid":"1",
"left":{
"action":"url"
},
"title":{
"des":"标题",
"action":"url"
}
}
}
```
![](/headerpic/app/1.png "app头部样式1")
... ... @@ -37,7 +51,23 @@
right:默认action为在线客服的url,可由h5设置action
```
{
"header":{
"headerid":"2",
"left":{
"action":"url"
},
"title":{
"des":"标题",
"action":"url"
},
"right":{
"action":"url"
}
}
}
```
![](/headerpic/app/2.png "app头部样式2")
* 头部样式3
... ... @@ -50,6 +80,23 @@
right:展示文字、action都由h5设置
```
{
"header":{
"headerid":"3",
"left":{
"action":"url"
},
"title":{
"des":"标题",
"action":"url"
},
"right":{
"des":"标题",
"action":"url"
}
}
```
![](/headerpic/app/3.png "app头部样式3")
* 头部样式4
... ... @@ -60,6 +107,21 @@
rtitle:默认展示品类;展示文字、action都由h5设置
```
{
"header":{
"headerid":"4",
"ltitle":{
"des":"品牌",
"action":"url"
},
"rtitle":{
"des":"品类",
"action":"url"
}
}
}
```
![](/headerpic/app/4.png "app头部样式4")
* 头部样式5
... ... @@ -74,7 +136,28 @@
right:展示文字、action都由h5设置
```
{
"header":{
"headerid":"5",
"left":{
"action":"url"
},
"ltitle":{
"des":"商品",
"action":"url"
},
"rtitle":{
"des":"品牌",
"action":"url"
},
"right":{
"des":"编辑",
"action":"url"
}
}
}
```
![](/headerpic/app/5.png "app头部样式5")
* 头部样式6
... ... @@ -84,5 +167,16 @@
title:默认展示“资讯”;文字、action可由h5设置
right:性别分类默认:all、men、women;点击对应性别,调用相应h5的action
```
{
"header":{
"headerid":"6",
"title":{
"des":"资讯",
"action":"url"
}
}
}
```
![](/headerpic/app/6.png "app头部样式6")
\ No newline at end of file
... ...