Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
AppJSBridge
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
5
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李犇
9 years ago
Commit
be0f896dbd1f0ee3d59a0153bae9ca6cc1bec001
1 parent
00f62eef
增加各个header的json描述
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
97 additions
and
3 deletions
HeaderType.md
HeaderType.md
View file @
be0f896
...
...
@@ -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
...
...
Please
register
or
login
to post a comment