-
Notifications
You must be signed in to change notification settings - Fork 3
/
iwe7-design-addon.service.ts
87 lines (86 loc) · 1.86 KB
/
iwe7-design-addon.service.ts
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import { Injectable } from "@angular/core";
// 应用
@Injectable()
export class Iwe7DesignAddonService {
// 我的应用
app: any = {
// 分享设置
name: "日天日地日空气",
share: {},
// 具体内容 模块列表
menu: {
show: true,
name: "导航栏",
props: {}
},
props: {
[`runner`]: {
name: "测试应用",
active: true,
share: {},
footer: {
show: true,
name: "footer",
title: "底部导航",
props: [],
router: 'runner/footer'
},
// 具体内容 页面列表
props: [
{
title: "首页",
name: "page",
active: true,
router: 'runner/index',
props: [
{
id: "1",
decode: true,
name: "text",
text: "测试label",
title: "文本",
class: {
[`iwe7-design-text`]: true
},
style: {
display: "block"
},
props: {}
}
],
share: {
title: "",
icon: "",
desc: ""
}
},
{
title: "发布",
name: "page",
active: false,
router: 'runner/post',
props: [],
share: {
title: "",
icon: "",
desc: ""
}
},
{
title: "我的",
name: "page",
active: false,
router: 'runner/home',
props: [],
share: {
title: "",
icon: "",
desc: ""
}
}
]
}
}
};
constructor() {}
}