-
zhangwei
2024-08-14 ff120d19df422dc6aeb7a35e144d726582aef8f8
src/pages.json
@@ -1,110 +1,138 @@
{
   "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"
      }
   },
   "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
    "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" : "个人信息"
         }
        },
      {
         "path" : "pages/default/index",
          "path" : "pages/mine/apply",
          "style" : {
            "navigationBarTitleText" : "申请接单"
         }
      },
      {
         "path" : "pages/enterprise/index",
         "style" : 
         {
            "navigationBarTitleText" : ""
            "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",
         "path" : "pages/enterprise/enterprise",
         "style" : 
         {
            "navigationBarTitleText" : "钱包"
            "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/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" : "我的"
            }
        ]
    }
}