qingyiay
2023-08-16 3dd852a77ff1fcb8c4c0ceb3a8df727c15ae643e
pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock.vue
@@ -3,7 +3,8 @@
   <view class="punchTheClock">
      <!-- 打卡按钮 -->
      <view class="punchTheClock_container">
         <view class="punchTheClock_btn" @click="arrive">
         <view class="punchTheClock_btn"
            @click="arrive">
            <view>
               <p>{{ coalStatus == 2 ? '已签到' : '签到/打卡' }}</p>
               <p>{{ nowTime }}</p>
@@ -35,7 +36,7 @@
         }
      };
   },
   onShow() {
      onLoad() {
      this.getSetting(); //获取授权
      this.getFuzzyLocation(); //获取位置
      this.todayDate(); //当前时间
@@ -86,8 +87,7 @@
               if (res.code == 0) {
                  this.$u.toast('签到成功');
                  setTimeout(() => {
                     uni.navigateBack(
                        {
                        uni.navigateBack({
                           delta: 1
                        },
                        500
@@ -105,12 +105,14 @@
};
</script>
<style lang="scss" scoped>
<style lang="scss"
   scoped>
.punchTheClock {
   height: 100vh;
   display: flex;
   justify-content: center;
   align-items: center;
   .punchTheClock_container {
      .punchTheClock_btn {
         width: vww(240);
@@ -122,15 +124,18 @@
         display: flex;
         justify-content: center;
         align-items: center;
         p {
            text-align: center;
         }
      }
      .punchTheClock_text {
         display: flex;
         justify-content: center;
         margin-top: vww(20);
         color: #b8b8b8;
         .text {
            margin-left: vww(5);
         }