From ef1114c22614762e54e49bc7c600d2a2cd460791 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期二, 20 八月 2024 17:20:18 +0800 Subject: [PATCH] 页面搭建 --- src/pages.json | 265 +++++++++++++++++++++++++++------------------------- 1 files changed, 137 insertions(+), 128 deletions(-) diff --git a/src/pages.json b/src/pages.json index 8762db6..f6a47d9 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,138 +1,147 @@ { - "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" : "涓汉淇℃伅" - } - }, + "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/mine/apply", - "style" : { - "navigationBarTitleText" : "鐢宠鎺ュ崟" + "path": "pages/default/index", + "style": { + "navigationBarTitleText": "" } }, { - "path" : "pages/enterprise/index", - "style" : - { - "navigationBarTitleText" : "浼佷笟璧勬枡" + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "灏忛晣涓存椂宸�-棣栭〉" } }, { - "path" : "pages/enterprise/enterprise", - "style" : - { - "navigationBarTitleText" : "浼佷笟璧勬枡" + "path": "pages/mine/index", + "style": { + "navigationBarTitleText": "涓汉涓績" + } + }, + { + "path": "pages/login/index", + "style": { + "navigationBarTitleText": "鐧诲綍" + } + }, + { + "path": "pages/order/order", + "style": { + "navigationBarTitleText": "鑱屼綅绠$悊" + } + }, + { + "path": "pages/order/detail", + "style": { + "navigationBarTitleText": "鎶曢�掕鎯�" + } + }, + { + "path": "pages/order/worker", + "style": { + "navigationBarTitleText": "宸ヤ汉璇︽儏" + } + }, + { + "path": "pages/release/index", + "style": { + "navigationBarTitleText": "鍙戝竷鎷涘伐" + } + }, + { + "path": "pages/wallet/index", + "style": { + "navigationBarTitleText": "閽卞寘" + } + }, + { + "path": "pages/mine/mine", + "style": { + "navigationBarTitleText": "涓汉淇℃伅" + } + }, + { + "path": "pages/mine/apply", + "style": { + "navigationBarTitleText": "鐢宠鎺ュ崟" + } + }, + { + "path": "pages/enterprise/index", + "style": { + "navigationBarTitleText": "浼佷笟璧勬枡" + } + }, + { + "path": "pages/enterprise/enterprise", + "style": { + "navigationBarTitleText": "浼佷笟璧勬枡" + } + }, + { + "path": "pages/checkin/index", + "style": { + "navigationBarTitleText": "鎵撳崱璁板綍" + } + }, + { + "path": "pages/checkin/record", + "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/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 -- Gitblit v1.9.1