Browse Source

优化

master
zhaoyongnian 5 years ago
parent
commit
adce345fe6
  1. 1
      pages/heart/heart.wxss
  2. 2
      subpages/heart/components/cancelSignupDialog/cancelSignupDialog.wxml
  3. 9
      subpages/heart/pages/clockIn/clockIn.js

1
pages/heart/heart.wxss

@ -2,6 +2,7 @@ page {
height: 100%;
font-size: 32rpx;
line-height: 1.6;
background: #f7f7f7;
}
.container{
width: 100vw;

2
subpages/heart/components/cancelSignupDialog/cancelSignupDialog.wxml

@ -1,4 +1,4 @@
<view class="notice-verify" wx:if="{{visible}}" catchmove="move">
<view class="notice-verify" wx:if="{{visible}}" catchmove="move" catchtouchmove='true'>
<view class="content">
<view class="close" bindtap="closeDialog">
<image src="../../images/delete.png" />

9
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);
}
})
},

Loading…
Cancel
Save