# page.json首页配置
需要配置 app-plus, 做app端很重要
这里主要配置搜索框模块
{
"path": "pages/index/index",
"style": {
"app-plus":{
// 隐藏滚动条
"scrollIndicator":"none",
"titleNView": {
// 搜索框的配置
"searchInput": {
"align":"center",
"backgroundColor":"#f7f7f7",
"borderRadius":"4px",
"placeholder":"搜索",
"placeholderColor":"#ccc",
"disabled":true
},
// button按钮
"buttons":[
// 左边
{
"color":"#FF9619",
"colorPressed":"#BBBBBB",
"float":"left",
"fontSize":"22px",
"fontSrc":"/static/font/icon.ttf",
"text":"\ue609"
},
// 右边
{
"color":"#00000",
"colorPressed":"#BBBBBB",
"float":"right",
"fontSize":"22px",
"fontSrc":"/static/font/icon.ttf",
"text":"\ue653"
}
]
}
}
}
},
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
← 底部导航开发 图文, 视频列表样式(上) →