<template>
  <!-- 现场监护 -->
  <view class="custody">
    <h4>现场监护</h4>
    <view class="custody-content">
      <view class="icon-box" @tap="onJumpCustody">
        <image src="@/static/realName/attendance_statistics.png" mode="scaleToFill" />
        现场监护
      </view>
    </view>
  </view>
</template>

<script>
export default {
  methods: {
    onJumpCustody() {
      uni.navigateTo({ url: '/pages/workPlan/custody/index' })
    }
  }
}
</script>

<style lang="scss" scoped>
.custody-content {
  padding: 25rpx 5rpx;
  background-color: #fff;

  image {
    width: 58rpx;
    height: 58rpx;
    margin-bottom: 30rpx;
  }

  .icon-box {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

h4 {
  margin: 20rpx 0;
  padding-left: 15rpx;
  font-size: 36rpx;
  font-weight: normal;
}
</style>
