/
home-box.config.js
58 lines (57 loc) · 1.25 KB
/
home-box.config.js
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
* @author ShiChunhua
*/
application.Core.addConfig("HomeBox", {
mainBoxId: 'mainBox'
,searchBoxId: 'searchBox'
,searchTextId: 'searchText'
,defaultValue: '搜索'
,clearButtonId: 'searchClearButton'
,blockBoxId: 'blockBox'
,widgetInfo: [
/*{
image: {'background-position':'0px -166px'}
,className: 'activity'
,title: '提醒'
,id: 'activity'
,command: 'ActivityBox-ShowList'
},*/
{
image: {'background-position':'-140px -96px'}
,className: 'label'
,title: '分类'
,id: 'label'
,command: 'LabelBox-ShowList'
},
{
image: {'background-position':'-70px -166px'}
,className: 'queue'
,title: '收藏'
,id: 'favorate'
,command: 'FavorateBox-ShowList'
,message: '5'
},
{
image: {'background-position':'0px -96px'}
,className: 'now'
,title: '当前'
,text: new Date().getUTCDate()
,id: 'now'
,command: 'NowBox-ShowList'
},
{
image: {'background-position':'-70px -96px'}
,className: 'shows'
,title: '频道'
,id: 'channel'
,command: 'ChannelBox-ShowList'
},
{
image: {'background-position':'-140px -96px'}
,className: 'news'
,title: '推荐'
,id: 'news'
,command: 'NewsBox-ShowList'
}
]
});