pages.json
3.47 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"pages": [
{
"path": "pages/common/login/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/common/webview/index",
"style": {
"navigationBarTitleText": "协议",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/common/selectStore/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/receptionCenter/center",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/person/myCenter",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "首页"
}
},
{
"path": "pages/person/attendance",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "个人考勤"
}
},
{
"path": "pages/equity/detail/index",
"style": {
"navigationStyle": "custom",
"popGesture": "none" // 禁用 iOS 系统侧滑返回,使用自定义检测
}
},
{
"path": "pages/common/receptionDetail/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "接待详情"
}
},
{
"path": "pages/receptionCenter/FormAdd",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "客户档案"
}
},
{
"path": "pages/receptionCenter/forms/FormDetail",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "客户档案"
}
},
{
"path": "pages/receptionCenter/forms/ReceptionRecordEdit",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "接待记录编辑"
}
},
{
"path": "pages/receptionCenter/receptionDetail",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "接待详情"
}
}
],
"easycom": {
"autoscan": true,
"custom": {
"^uni-(.*)": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.uvue",
"^home-frame$": "@/components/HomeFrame/index.uvue",
"^layout-root$": "@/components/LayoutRoot/index.uvue",
"^Layout$": "@/components/Layout/index.uvue",
"^segment-tab$": "@/pages/receptionCenter/SegmentTab.uvue",
"^reception-detail$": "@/pages/receptionCenter/receptionDetail.uvue",
"^app-navbar$": "@/components/AppNavbar/index.uvue"
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app x",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"pageOrientation": "auto",
// ✅ 性能优化:使用淡入淡出动画,减少 GPU 负载
"animationType": "fade-in",
"animationDuration": 150
},
"tabBar": {
"color": "#8a98b5",
"selectedColor": "#3773f8",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"fontSize": "11px",
"iconWidth": "24px",
"height": "50px",
// ✅ 性能优化:TabBar 切换动画
"animation": false,
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/home-active.png"
},
{
"pagePath": "pages/receptionCenter/center",
"text": "接待中心",
"iconPath": "static/images/tabbar/record.png",
"selectedIconPath": "static/images/tabbar/record-active.png"
},
{
"pagePath": "pages/person/myCenter",
"text": "我的",
"iconPath": "static/images/tabbar/study.png",
"selectedIconPath": "static/images/tabbar/study-active.png"
}
]
},
"uniIdRouter": {}
}