Browse Source

分包

fenbao
wangyx 1 month ago
parent
commit
98825c7066
  1. 2
      manifest.json
  2. 78
      pages.json
  3. 8
      pages/tabBar/work/index.vue
  4. 0
      pagesA/sdPage/dfReport.vue
  5. 0
      pagesA/sdPage/sfReport.vue
  6. 0
      pagesA/xjPage/xj.vue
  7. 0
      pagesA/xjPage/xjRecord.vue

2
manifest.json

@ -50,7 +50,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wxf2be6aacdcd579c6", "appid" : "wx9623f484b2532269",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"minified" : true "minified" : true

78
pages.json

@ -2,8 +2,7 @@
"easycom": { "easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
}, },
"pages": [ "pages": [{
{
"path": "pages/tabBar/work/index", "path": "pages/tabBar/work/index",
"style": { "style": {
"navigationBarTitleText": "工作", "navigationBarTitleText": "工作",
@ -43,72 +42,71 @@
"navigationBarTitleText": "消息", "navigationBarTitleText": "消息",
"disableScroll": true "disableScroll": true
} }
}, }
{
"path": "pages/tabBar/xjPage/xj",
],
"subPackages": [{
"root": "pagesA",
"pages": [{
"path": "checkout/list/list",
"style": { "style": {
"navigationBarTitleText": "巡检上报", "navigationBarTitleText": "退房检查"
"disableScroll": true
} }
}, },
{ {
"path": "pages/tabBar/xjPage/xjRecord", "path": "checkout/detail/detail",
"style": { "style": {
"navigationBarTitleText": "巡检记录", "navigationBarTitleText": "退房检查"
"disableScroll": true,
"enablePullDownRefresh": true,
"onReachBottomDistance": 100
} }
}, },
{ {
"path": "pages/tabBar/sdPage/sfReport", "path": "release/list/list",
"style": { "style": {
"navigationBarTitleText": "水量上报", "navigationBarTitleText": "释放房源检查"
"disableScroll": true
} }
}, },
{ {
"path": "pages/tabBar/sdPage/dfReport", "path": "release/detail/detail",
"style": { "style": {
"navigationBarTitleText": "电量上报", "navigationBarTitleText": "释放房源检查"
"disableScroll": true
}
} }
], },
"subPackages": [{ {
"root": "pagesA", "path": "force/index/index",
"pages": [{
"path": "checkout/list/list",
"style": { "style": {
"navigationBarTitleText": "退房检查" "navigationBarTitleText": "强制清退"
} }
}, },
{ {
"path": "checkout/detail/detail", "path": "sdPage/sfReport",
"style": { "style": {
"navigationBarTitleText": "退房检查" "navigationBarTitleText": "水量上报",
"disableScroll": true
} }
}, },
{
"path" : "release/list/list",
"style" :
{ {
"navigationBarTitleText" : "释放房源检查" "path": "sdPage/dfReport",
"style": {
"navigationBarTitleText": "电量上报",
"disableScroll": true
} }
}, },
{ {
"path" : "release/detail/detail", "path": "xjPage/xj",
"style" : "style": {
{ "navigationBarTitleText": "巡检上报",
"navigationBarTitleText" : "释放房源检查" "disableScroll": true
} }
}, },
{ {
"path" : "force/index/index", "path": "xjPage/xjRecord",
"style" : "style": {
{ "navigationBarTitleText": "巡检记录",
"navigationBarTitleText" : "强制清退" "disableScroll": true,
"enablePullDownRefresh": true,
"onReachBottomDistance": 100
} }
} }
] ]

8
pages/tabBar/work/index.vue

@ -125,22 +125,22 @@ export default {
if (item.text === '巡检上报') { if (item.text === '巡检上报') {
// //
uni.navigateTo({ uni.navigateTo({
url: '/pages/tabBar/xjPage/xj' url: '/pagesA/xjPage/xj'
}) })
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/tabBar/xjPage/xjRecord' url: '/pagesA/xjPage/xjRecord'
}) })
} }
}, },
handelSdClick (item) { handelSdClick (item) {
if(item.text === '水量上报'){ if(item.text === '水量上报'){
uni.navigateTo({ uni.navigateTo({
url: '/pages/tabBar/sdPage/sfReport' url: '/pagesA/sdPage/sfReport'
}) })
} else if(item.text === '电量上报'){ } else if(item.text === '电量上报'){
uni.navigateTo({ uni.navigateTo({
url: '/pages/tabBar/sdPage/dfReport' url: '/pagesA/sdPage/dfReport'
}) })
} }
} }

0
pages/tabBar/sdPage/dfReport.vue → pagesA/sdPage/dfReport.vue

0
pages/tabBar/sdPage/sfReport.vue → pagesA/sdPage/sfReport.vue

0
pages/tabBar/xjPage/xj.vue → pagesA/xjPage/xj.vue

0
pages/tabBar/xjPage/xjRecord.vue → pagesA/xjPage/xjRecord.vue

Loading…
Cancel
Save