pages.json 3.47 KB
{
	"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": {}
}