-
zhangwei
2025-03-05 16213c0f85aa3ac8317797bf4a05fd12940e16d3
src/pages.json
@@ -1,138 +1,359 @@
{
    "condition" : {
        //模式配置,仅开发期间生效
        "current" : 0, //当前激活的模式(list 的索引项)
        "list" : []
    },
    "easycom" : {
        // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
        "custom" : {
            // "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
            // "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
            // "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
            "^u--(.*)" : "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
            "^up-(.*)" : "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
            "^u-([^-].*)" : "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
            "fui-(.*)" : "@/components/firstui/fui-$1/fui-$1.vue",
            "tem-(.*)" : "@/components/tem/tem-$1.vue"
        }
    },
    "pages" : [
        //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
        {
            "path" : "pages/default/index",
            "style" : {
                "navigationBarTitleText" : ""
            }
        },
        {
            "path" : "pages/index/index",
            "style" : {
                "navigationBarTitleText" : "首页"
            }
        },
        {
            "path" : "pages/mine/index",
            "style" : {
                "navigationBarTitleText" : "个人中心"
            }
        },
        {
            "path" : "pages/login/index",
            "style" : {
                "navigationBarTitleText" : "登录"
            }
        },
        {
            "path" : "pages/detail/detail",
            "style" : {
                "navigationBarTitleText" : "工作详情"
            }
        },
        {
            "path" : "pages/order/order",
            "style" : {
                "navigationBarTitleText" : "职位管理"
            }
        },
        {
            "path" : "pages/release/release",
            "style" : {
                "navigationBarTitleText" : "发布招工2/2"
            }
        },
        {
            "path" : "pages/release/index",
            "style" : {
                "navigationBarTitleText" : "发布招工"
            }
        },
        {
            "path" : "pages/wallet/index",
            "style" : {
                "navigationBarTitleText" : "钱包"
            }
        },
        {
            "path" : "pages/mine/mine",
            "style" : {
            "navigationBarTitleText" : "个人信息"
         }
        },
   "condition": {
      //模式配置,仅开发期间生效
      "current": 0, //当前激活的模式(list 的索引项)
      "list": []
   },
   "easycom": {
      // "autoscan": true,
      // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
      "custom": {
         // "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
         // "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
         // "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
         "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
         "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
         "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
         "fui-(.*)": "@/components/firstui/fui-$1/fui-$1.vue",
         // "temu-(.*)": "@/components/tem/tem-$1/tem-$1.vue",
         "tem-(.*)": "@/components/tem/tem-$1.vue"
      }
   },
   "pages": [
      //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
      {
          "path" : "pages/mine/apply",
          "style" : {
            "navigationBarTitleText" : "申请接单"
         "path": "pages/default/index",
         "style": {
            "navigationBarTitleText": ""
         }
      },
      {
         "path" : "pages/enterprise/index",
         "style" :
         {
            "navigationBarTitleText" : "企业资料"
         "path": "pages/index/index",
         "style": {
            "navigationBarTitleText": "川印集团-首页",
            "enablePullDownRefresh": true
         }
      },
      {
         "path": "pages/login/index",
         "style": {
            "navigationBarTitleText": "登录"
         }
      },
      {
         "path" : "pages/enterprise/enterprise",
         "style" :
         {
            "navigationBarTitleText" : "企业资料"
         "path": "pages/release/index",
         "style": {
            "navigationBarTitleText": "发布招工"
         }
      },
      {
         "path": "pages/mine/index",
         "style": {
            "navigationBarTitleText": "个人中心"
         }
      },
      {
         "path": "pages/mine/mine",
         "style": {
            "navigationBarTitleText": "个人信息"
         }
      },
      {
         "path": "pages/mine/apply",
         "style": {
            "navigationBarTitleText": "寻找工作"
         }
      },
      {
         "path": "pages/test/test",
         "style": {
            "navigationBarTitleText": "人脸打卡"
            // "usingComponents":{
            //    "camera-buffer-jpg":"../components/cameraBufferJpg/cameraBufferjpg"
            // }
         }
      },
      {
         "path": "pages/income/income",
         "style": {
            "navigationBarTitleText": "工资明细",
            "enablePullDownRefresh": true
         }
      },
      {
         "path": "pages/article/article",
         "style": {
            "navigationBarTitleText": "用户协议"
         }
      }
    ],
    // "subPackages": [{
    //    "root": "pages/componentsB",
    //    "pages": [{
    //       "path": "dropdown/dropdown",
    //       "style": {
    //          "navigationBarTitleText": "下拉菜单"
    //       }
    //    }]
    // }],
    "globalStyle" : {
        "navigationBarTextStyle" : "black",
        "navigationBarTitleText" : "uview-plus",
        "navigationBarBackgroundColor" : "#FFFFFF",
        "backgroundColor" : "#FFFFFF"
    },
    "tabBar" : {
        "color" : "#909399",
        "selectedColor" : "#303133",
        "backgroundColor" : "#FFFFFF",
        "borderStyle" : "black",
        "list" : [
            {
                "pagePath" : "pages/index/index",
                "iconPath" : "static/shouye.png",
                "selectedIconPath" : "static/select_shouye.png",
                "text" : "首页"
            },
            {
                "pagePath" : "pages/mine/index",
                "iconPath" : "static/mine.png",
                "selectedIconPath" : "static/select_mine.png",
                "text" : "我的"
            }
        ]
    }
}
   ],
   "subPackages": [{
         "root": "pages/checkin",
         "pages": [{
               "path": "index",
               "style": {
                  "navigationBarTitleText": "工作记录",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "checkin",
               "style": {
                  "navigationBarTitleText": "打卡"
               }
            },
            {
               "path": "workdetail",
               "style": {
                  "navigationBarTitleText": "打卡详情"
               }
            }
         ]
      },
      {
         "root": "pages/enterprise",
         "pages": [{
               "path": "index",
               "style": {
                  "navigationBarTitleText": "企业资料"
               }
            },
            {
               "path": "enterprise",
               "style": {
                  "navigationBarTitleText": "企业资料"
               }
            }
         ]
      },
      {
         "root": "pages/detail",
         "pages": [{
            "path": "detail",
            "style": {
               "navigationBarTitleText": "工作详情"
            }
         }]
      },
      {
         "root": "pages/order",
         "pages": [{
               "path": "order",
               "style": {
                  "navigationBarTitleText": "职位管理",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "detail",
               "style": {
                  "navigationBarTitleText": "投递详情"
               }
            },
            {
               "path": "worker",
               "style": {
                  "navigationBarTitleText": "工人详情"
               }
            },
            {
               "path": "myorder",
               "style": {
                  "navigationBarTitleText": "上班打卡",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "myorderdetail",
               "style": {
                  "navigationBarTitleText": "详情"
               }
            }
         ]
      },
      {
         "root": "pages/company",
         "pages": [{
               "path": "index",
               "style": {
                  "navigationBarTitleText": "工资审核",
                  "enablePullDownRefresh": true,
                  "onReachBottomDistance": 50
               }
            },
            {
               "path": "record",
               "style": {
                  "navigationBarTitleText": "工资审核详情"
               }
            },
            {
               "path": "staff",
               "style": {
                  "navigationBarTitleText": "员工管理"
               }
            }
         ]
      },
      {
         "root": "pages/wallet",
         "pages": [{
               "path": "index",
               "style": {
                  "navigationBarTitleText": "钱包"
               }
            },
            {
               "path": "recharge",
               "style": {
                  "navigationBarTitleText": "提现"
               }
            }
            // {
            //    "path": "withdrawal",
            //    "style": {
            //       "navigationBarTitleText": "充值"
            //    }
            // }
         ]
      },
      {
         "root": "pages/reimbursement",
         "pages": [{
               "path": "index",
               "style": {
                  "navigationBarTitleText": "费用报销申请"
               }
            },
            {
               "path": "examine",
               "style": {
                  "navigationBarTitleText": "请示批复",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "myreim",
               "style": {
                  "navigationBarTitleText": "我的费用报销",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "reimbursement",
               "style": {
                  "navigationBarTitleText": "费用报销"
               }
            }, {
               "path": "approve",
               "style": {
                  "navigationBarTitleText": "审批"
               }
            }, {
               "path": "payment",
               "style": {
                  "navigationBarTitleText": "付款"
               }
            }
         ]
      },
      {
         "root": "pages/worker",
         "pages": [{
               "path": "worker",
               "style": {
                  "navigationBarTitleText": "工人详情"
               }
            },
            {
               "path": "salary",
               "style": {
                  "navigationBarTitleText": "工资查询"
               }
            },
            {
               "path": "salaryDetail",
               "style": {
                  "navigationBarTitleText": "工资查询明细"
               }
            }
         ]
      },
      {
         "root": "pages/delivergoods",
         "pages": [{
               "path": "reservation",
               "style": {
                  "navigationBarTitleText": "送货受理",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "reservationWorker",
               "style": {
                  "navigationBarTitleText": "预约送货",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "query",
               "style": {
                  "navigationBarTitleText": "送货查询"
               }
            },
            {
               "path": "qdetail",
               "style": {
                  "navigationBarTitleText": "送货详情"
               }
            },
            {
               "path": "arrange",
               "style": {
                  "navigationBarTitleText": "送货安排",
                  "enablePullDownRefresh": true
               }
            },
            {
               "path": "feedback",
               "style": {
                  "navigationBarTitleText": "送货反馈",
                  "enablePullDownRefresh": true
               }
            }
         ]
      }
   ],
   "globalStyle": {
      "navigationBarTextStyle": "black",
      "navigationBarTitleText": "uview-plus",
      "navigationBarBackgroundColor": "#FFFFFF",
      "backgroundColor": "#FFFFFF"
   },
   "tabBar": {
      "color": "#909399",
      "selectedColor": "#303133",
      "backgroundColor": "#FFFFFF",
      "borderStyle": "black",
      "list": [{
            "pagePath": "pages/index/index",
            "iconPath": "static/shouye.png",
            "selectedIconPath": "static/select_shouye.png",
            "text": "首页"
         },
         {
            "pagePath": "pages/mine/index",
            "iconPath": "static/mine.png",
            "selectedIconPath": "static/select_mine.png",
            "text": "我的"
         }
      ]
   }
}