diff --git a/pages.json b/pages.json index fb30558..c64e45b 100644 --- a/pages.json +++ b/pages.json @@ -1,50 +1,80 @@ { "easycom": { - "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" - }, - "pages": [ - { + "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" + }, + "pages": [{ "path": "pages/login/login", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/tabBar/work/index", - "style": { - "navigationBarTitleText": "工作", - "disableScroll": true - } - }, - { - "path": "pages/tabBar/mine/index", - "style": { - "navigationBarTitleText": "我的", - "disableScroll": true - } - }, - { - "path": "pages/tabBar/bsPage/bsRecord", - "style": { - "navigationBarTitleText": "报事", - "disableScroll": true - } - }, - { - "path": "pages/tabBar/bsPage/bsReport", - "style": { - "navigationBarTitleText": "上报", - "disableScroll": true - } - }, - { - "path": "pages/tabBar/msg/index", - "style": { - "navigationBarTitleText": "消息", - "disableScroll": true - } - } + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/tabBar/work/index", + "style": { + "navigationBarTitleText": "工作", + "disableScroll": true + } + }, + { + "path": "pages/tabBar/mine/index", + "style": { + "navigationBarTitleText": "我的", + "disableScroll": true + } + }, + { + "path": "pages/tabBar/bsPage/bsRecord", + "style": { + "navigationBarTitleText": "报事", + "disableScroll": true + } + }, + { + "path": "pages/tabBar/bsPage/bsReport", + "style": { + "navigationBarTitleText": "上报", + "disableScroll": true + } + }, + { + "path": "pages/tabBar/msg/index", + "style": { + "navigationBarTitleText": "消息", + "disableScroll": true + } + } ], + "subPackages": [{ + "root": "pagesA", + "pages": [{ + "path": "checkout/list/list", + "style": { + "navigationBarTitleText": "退房检查" + } + }, + { + "path": "checkout/detail/detail", + "style": { + "navigationBarTitleText": "退房检查" + } + }, + + { + "path" : "release/list/list", + "style" : + { + "navigationBarTitleText" : "释放房源检查" + } + }, + { + "path" : "release/detail/detail", + "style" : + { + "navigationBarTitleText" : "释放房源检查" + } + } + ] + }], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", @@ -52,27 +82,26 @@ "backgroundColor": "#fff" }, "uniIdRouter": {}, - "tabBar": { + "tabBar": { "color": "#8b8b8b", "selectedColor": "#08B3B3", "borderStyle": "black", "backgroundColor": "#F8F8F8", - "list": [ - { + "list": [{ "pagePath": "pages/tabBar/msg/index", - "iconPath": "static/img/消息-灰.png", + "iconPath": "static/img/消息-灰.png", "selectedIconPath": "static/img/消息.png", "text": "消息" }, - { + { "pagePath": "pages/tabBar/work/index", - "iconPath": "static/img/工作-灰.png", + "iconPath": "static/img/工作-灰.png", "selectedIconPath": "static/img/工作.png", "text": "工作" }, - { + { "pagePath": "pages/tabBar/mine/index", - "iconPath": "static/img/我的-灰.png", + "iconPath": "static/img/我的-灰.png", "selectedIconPath": "static/img/我的.png", "text": "我的" } diff --git a/pages/login/login.vue b/pages/login/login.vue index 22735bc..d64daf7 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -62,7 +62,7 @@ export default { fontSize: "18px", margin: "50px", marginTop: "200rpx", - background: "linear-gradient(90deg, #3ec6c6 0%, #4edfa7 100%)", + background: "linear-gradient(90deg, #0DC6C6 0%, #13C2C2 100%)", }, }; }, diff --git a/pages/tabBar/work/index.vue b/pages/tabBar/work/index.vue index 8989f81..21d369f 100644 --- a/pages/tabBar/work/index.vue +++ b/pages/tabBar/work/index.vue @@ -5,9 +5,9 @@ 房源 - + - 房子 + {{item.text}} @@ -89,6 +89,17 @@ export default { }, methods: { + handelFyClick(item) { + if (item.text == "退房检查") { + uni.navigateTo({ + url: '/pagesA/checkout/list/list' + }) + }else if (item.text == "释放房源检查") { + uni.navigateTo({ + url: '/pagesA/release/list/list' + }) + } + }, handleBsClick (item) { if (item.text === '处理') { // 记录 diff --git a/pagesA/checkout/detail/detail.vue b/pagesA/checkout/detail/detail.vue new file mode 100644 index 0000000..221df04 --- /dev/null +++ b/pagesA/checkout/detail/detail.vue @@ -0,0 +1,231 @@ + + + + + diff --git a/pagesA/checkout/list/list.vue b/pagesA/checkout/list/list.vue new file mode 100644 index 0000000..6114bba --- /dev/null +++ b/pagesA/checkout/list/list.vue @@ -0,0 +1,136 @@ + + + + + diff --git a/pagesA/release/detail/detail.vue b/pagesA/release/detail/detail.vue new file mode 100644 index 0000000..0cb16b2 --- /dev/null +++ b/pagesA/release/detail/detail.vue @@ -0,0 +1,263 @@ + + + + + diff --git a/pagesA/release/list/list.vue b/pagesA/release/list/list.vue new file mode 100644 index 0000000..597ff9f --- /dev/null +++ b/pagesA/release/list/list.vue @@ -0,0 +1,136 @@ + + + + +