|
|
@@ -1,199 +1,228 @@
|
|
|
{
|
|
|
- "easycom": {
|
|
|
- "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
|
|
- },
|
|
|
- "pages": [{
|
|
|
- "path": "pages/login/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "登录"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/home/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "首页"
|
|
|
- },
|
|
|
- {
|
|
|
- "path" : "pages/home/checkIn",
|
|
|
- "style" :
|
|
|
- {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "打卡"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/contract/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "合同管理"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/contract/detail",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "合同详情"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/contract/invoice",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "新建发票"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/contract/collection",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "新建回款"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/project/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "项目管理首页"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/project/transfer",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "转移项目"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/project/details",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "项目详情"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/customer/details",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "客户详情"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/customer/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "储备客户"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/openSeaCustomer/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "公海客户"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/publicPages/follow",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "填写跟进"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/customer/transfer",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "转移客户"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/customer/add",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "客户添加"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/project/create",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "创建项目"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/project/downgrade",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "项目降级"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/project/upgrade",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "项目升级"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/message/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "信息"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/my/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "我的"
|
|
|
- },
|
|
|
- {
|
|
|
- "path": "pages/schedule/index",
|
|
|
- "style": {
|
|
|
- "navigationStyle": "custom"
|
|
|
- },
|
|
|
- "tit": "日程"
|
|
|
- }
|
|
|
- ],
|
|
|
- "tabBar": {
|
|
|
- "color": "#7A7E83",
|
|
|
- "selectedColor": "#3E7EF8",
|
|
|
- "borderStyle": "black",
|
|
|
- "backgroundColor": "#ffffff",
|
|
|
- "list": [{
|
|
|
- "pagePath": "pages/home/index",
|
|
|
- "iconPath": "static/images/tabBar/home.png",
|
|
|
- "selectedIconPath": "static/images/tabBar/home-active.png",
|
|
|
- "text": "首页"
|
|
|
- },
|
|
|
- {
|
|
|
- "pagePath": "pages/schedule/index",
|
|
|
- "iconPath": "static/images/tabBar/schedule.png",
|
|
|
- "selectedIconPath": "static/images/tabBar/schedule-active.png",
|
|
|
- "text": "日程"
|
|
|
- },
|
|
|
- {
|
|
|
- "pagePath": "pages/message/index",
|
|
|
- "iconPath": "static/images/tabBar/message.png",
|
|
|
- "selectedIconPath": "static/images/tabBar/message-active.png",
|
|
|
- "text": "消息"
|
|
|
- },
|
|
|
- {
|
|
|
- "pagePath": "pages/my/index",
|
|
|
- "iconPath": "static/images/tabBar/my.png",
|
|
|
- "selectedIconPath": "static/images/tabBar/my-active.png",
|
|
|
- "text": "我的"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "globalStyle": {
|
|
|
- "navigationBarTextStyle": "black",
|
|
|
- "navigationBarTitleText": "oms",
|
|
|
- "navigationBarBackgroundColor": "#F8F8F8",
|
|
|
- "backgroundColor": "#F8F8F8"
|
|
|
- },
|
|
|
- "uniIdRouter": {}
|
|
|
+ //在pages.json文件中新加insetLoader属性
|
|
|
+ "insetLoader": {
|
|
|
+ //配置
|
|
|
+ "config": {
|
|
|
+ //将需要引入的组件名起了个confirm的名字在下面label中使用
|
|
|
+ //右侧"<test ref='confirm' />"为需要插入的组件标签
|
|
|
+ "WaterMark": "<WaterMark ref='WaterMark' />"
|
|
|
+ },
|
|
|
+ // 全局配置
|
|
|
+ //需要挂在的组件名
|
|
|
+ "label": ["WaterMark"],
|
|
|
+ //根元素的标签类型 也就是插入到页面哪个根元素下默认为div 但是uniapp中需要写为view
|
|
|
+ "rootEle": "view"
|
|
|
+ },
|
|
|
+ "easycom": {
|
|
|
+ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
|
|
+ },
|
|
|
+ "pages": [
|
|
|
+ {
|
|
|
+ "path": "pages/home/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "首页"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/login/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "登录"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/home/checkIn",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "打卡"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/contract/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "合同管理"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/contract/detail",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "合同详情"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/contract/invoice",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "新建发票"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/contract/collection",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "新建回款"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/project/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "项目管理首页"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/project/transfer",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "转移项目"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/project/details",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "项目详情"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/customer/details",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "客户详情"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/customer/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "储备客户"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/openSeaCustomer/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "公海客户"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/distributor/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "合作伙伴"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/distributor/details",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "经销商详情"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/publicPages/follow",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "填写跟进"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/customer/transfer",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "转移客户"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/customer/add",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "客户添加"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/project/create",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "创建项目"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/project/downgrade",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "项目降级"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/project/upgrade",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "项目升级"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/message/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "信息"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/my/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "我的"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "path": "pages/schedule/index",
|
|
|
+ "style": {
|
|
|
+ "navigationStyle": "custom"
|
|
|
+ },
|
|
|
+ "tit": "日程"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "tabBar": {
|
|
|
+ "color": "#7A7E83",
|
|
|
+ "selectedColor": "#3E7EF8",
|
|
|
+ "borderStyle": "black",
|
|
|
+ "backgroundColor": "#ffffff",
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "pagePath": "pages/home/index",
|
|
|
+ "iconPath": "static/images/tabBar/home.png",
|
|
|
+ "selectedIconPath": "static/images/tabBar/home-active.png",
|
|
|
+ "text": "首页"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "pagePath": "pages/schedule/index",
|
|
|
+ "iconPath": "static/images/tabBar/schedule.png",
|
|
|
+ "selectedIconPath": "static/images/tabBar/schedule-active.png",
|
|
|
+ "text": "日程"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "pagePath": "pages/message/index",
|
|
|
+ "iconPath": "static/images/tabBar/message.png",
|
|
|
+ "selectedIconPath": "static/images/tabBar/message-active.png",
|
|
|
+ "text": "消息"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "pagePath": "pages/my/index",
|
|
|
+ "iconPath": "static/images/tabBar/my.png",
|
|
|
+ "selectedIconPath": "static/images/tabBar/my-active.png",
|
|
|
+ "text": "我的"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "globalStyle": {
|
|
|
+ "navigationBarTextStyle": "black",
|
|
|
+ "navigationBarTitleText": "oms",
|
|
|
+ "navigationBarBackgroundColor": "#F8F8F8",
|
|
|
+ "backgroundColor": "#F8F8F8"
|
|
|
+ },
|
|
|
+ "uniIdRouter": {}
|
|
|
}
|