From f1c01e5a780b813248f7be0b98d824784e747e6c Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 22 Jul 2025 11:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=88=BF=E7=A1=AE=E8=AE=A4=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=A6=82=E6=9E=9C=E6=B2=A1=E6=9C=89=E8=BA=AB?= =?UTF-8?q?=E4=BB=BD=E8=AF=81=E4=BF=A1=E6=81=AF=E5=8E=BB=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=EF=BC=8C=E5=BB=B6=E7=A7=9F=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 8 +- pages/index/index.js | 21 +- pages/serve/serve.wxml | 4 +- subpages/OCRCard/pages/OCR/OCR.js | 18 +- subpages/OCRCard/pages/index/index.js | 6 + subpages/OCRCard/pages/index/index.wxml | 4 +- subpages/index/checkInUser/checkInUser.js | 284 ++++++++++-------- subpages/index/checkInUser/checkInUser.wxml | 2 +- subpages/index/checkOutConfirm/index/index.js | 5 - .../renewalApplication.wxml | 2 +- utils/config.js | 4 +- 11 files changed, 203 insertions(+), 155 deletions(-) diff --git a/app.json b/app.json index d029af9..2effdc0 100644 --- a/app.json +++ b/app.json @@ -82,11 +82,7 @@ "pagePath": "pages/index/index", "iconPath": "images/icon/home.png" }, - { - "text": "消息", - "pagePath": "pages/message/message", - "iconPath": "images/icon/home.png" - }, + { "text": "服务", "pagePath": "pages/serve/serve", @@ -113,4 +109,4 @@ ], "plugins": { } -} \ No newline at end of file +} diff --git a/pages/index/index.js b/pages/index/index.js index e029962..b154bb3 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -189,7 +189,7 @@ Page({ }, navigateTo(e){ if(wx.getStorageSync('token')){ - if(e.currentTarget.dataset.url && e.currentTarget.dataset.url != '/subpages/OCRCard/pages/index/index'){ + if(e.currentTarget.dataset.url && e.currentTarget.dataset.url != '/subpages/OCRCard/pages/index/index' && e.currentTarget.dataset.url != '/subpages/index/checkOutConfirm/index/index'){ if(e.currentTarget.dataset.url === '/pages/serve/serve'){ wx.switchTab({ url: '/pages/serve/serve', @@ -198,7 +198,7 @@ Page({ wx.navigateTo({ url: e.currentTarget.dataset.url, }) - }else if(e.currentTarget.dataset.url){ + }else if(e.currentTarget.dataset.url === '/subpages/OCRCard/pages/index/index'){ if(!this.data.bindPhone){ if(this.data.userInfo.idCard){ wx.navigateTo({ @@ -214,7 +214,22 @@ Page({ url: '/pages/register/register', }) } - + }else if(e.currentTarget.dataset.url === '/subpages/index/checkOutConfirm/index/index'){ + if(!this.data.bindPhone){ + if(this.data.userInfo.idCard){ + wx.navigateTo({ + url: `/subpages/index/checkOutConfirm/index/index`, + }) + }else{ + wx.navigateTo({ + url: `/subpages/OCRCard/pages/index/index?type=out`, + }) + } + }else{ + wx.navigateTo({ + url: '/pages/register/register', + }) + } } } } diff --git a/pages/serve/serve.wxml b/pages/serve/serve.wxml index 9216004..285dc44 100644 --- a/pages/serve/serve.wxml +++ b/pages/serve/serve.wxml @@ -21,10 +21,10 @@ 延租申请 - + - + diff --git a/subpages/index/checkOutConfirm/index/index.js b/subpages/index/checkOutConfirm/index/index.js index e528f68..117fe2b 100644 --- a/subpages/index/checkOutConfirm/index/index.js +++ b/subpages/index/checkOutConfirm/index/index.js @@ -131,11 +131,6 @@ console.log('area',scrollArea.node); navigationHeight: app.globalData.deviceInfo.navigationHeight, checkOutDate: `${year}-${month}-${day}` }) - - this.setData({ - - }) - }, getProcessingCheckOutInfo(){ getProcessingCheckOutInfo().then(res=>{ diff --git a/subpages/index/renewalApplication/renewalApplication.wxml b/subpages/index/renewalApplication/renewalApplication.wxml index aff743c..caafed4 100644 --- a/subpages/index/renewalApplication/renewalApplication.wxml +++ b/subpages/index/renewalApplication/renewalApplication.wxml @@ -5,7 +5,7 @@ 温馨提示: - 您需要登陆“爱山东”APP搜索“青岛免租金住房”进入青岛市免租金住宿保障平台进行延租申请。 + 您需要登录“爱山东”APP搜索“青岛免租金住房”进入青岛市免租金住宿保障平台进行延租申请。 diff --git a/utils/config.js b/utils/config.js index 02ccc2c..62064f1 100644 --- a/utils/config.js +++ b/utils/config.js @@ -13,8 +13,8 @@ module.exports = { }; function BASEURL() { - // return 'https://zsbz.qdcfy.com/mz-api' - return 'http://219.146.91.110:30801/mz-api' + return 'https://zsbz.qdcfy.com/mz-api' + // return 'http://219.146.91.110:30801/mz-api' // return 'https://epmet-test.elinkservice.cn/api/' }