From ff120d19df422dc6aeb7a35e144d726582aef8f8 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期三, 14 八月 2024 17:25:56 +0800 Subject: [PATCH] - --- src/pages.json | 226 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 127 insertions(+), 99 deletions(-) diff --git a/src/pages.json b/src/pages.json index 68fcef3..8762db6 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,110 +1,138 @@ { - "condition": { //妯″紡閰嶇疆锛屼粎寮�鍙戞湡闂寸敓鏁� - "current": 0, //褰撳墠婵�娲荤殑妯″紡(list 鐨勭储寮曢」) - "list": [] - }, - "easycom": { - // 娉ㄦ剰涓�瀹氳鏀惧湪custom閲岋紝鍚﹀垯鏃犳晥锛宧ttps://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閲岋紝鍚﹀垯鏃犳晥锛宧ttps://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": "鎴戠殑" - } - ] - } -} \ No newline at end of file + ], + // "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" : "鎴戠殑" + } + ] + } +} -- Gitblit v1.9.1