diff --git a/pages/heart/heart.wxss b/pages/heart/heart.wxss index 38d118e..662add2 100644 --- a/pages/heart/heart.wxss +++ b/pages/heart/heart.wxss @@ -2,6 +2,7 @@ page { height: 100%; font-size: 32rpx; line-height: 1.6; + background: #f7f7f7; } .container{ width: 100vw; diff --git a/subpages/heart/components/cancelSignupDialog/cancelSignupDialog.wxml b/subpages/heart/components/cancelSignupDialog/cancelSignupDialog.wxml index c4c9a05..43e503c 100644 --- a/subpages/heart/components/cancelSignupDialog/cancelSignupDialog.wxml +++ b/subpages/heart/components/cancelSignupDialog/cancelSignupDialog.wxml @@ -1,4 +1,4 @@ - + diff --git a/subpages/heart/pages/clockIn/clockIn.js b/subpages/heart/pages/clockIn/clockIn.js index 3f1b32e..e3b2c8b 100644 --- a/subpages/heart/pages/clockIn/clockIn.js +++ b/subpages/heart/pages/clockIn/clockIn.js @@ -82,6 +82,15 @@ Page({ locationLatitude: res.longitude } }) + }, + fail: (res) => { + wx.hideLoading(); + wx.showToast({ + title: '位置获取失败,请开启手机GPS定位', + icon: 'none', + duration: 3000 + }) + console.log(res); } }) },