<template>
  <div>
    <div class="task-list">
      <div class="task-list-left">
        <div class="task-list-left-logo">
          <div><img src="../../../../../assets/svg/title.svg" alt="" /></div>
        </div>
        <div class="task-list-left-text">
          <div class="task-list-name">【流动资金贷款】四川利泰丝路有限公司</div>
          <div class="task-list-address">甘肃利泰丝路有限公司，请于2021-11-08 前贷后检查。</div>
        </div>
      </div>
      <div @click="examination" class="task-list-right"><div>检查</div></div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component({
  name: "UpcomingPeriodicInspection",
})
export default class UpcomingPeriodicInspection extends Vue {
  examination() {
    this.$router.push({
      path: "/workbench/upcoming-tasks/periodic-inspection/periodic-inspection-handle",
    });
  }
}
</script>

<style scoped>
.task-list {
  width: 97%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 242, 242, 1);
  margin-left: 0.4%;
  padding-bottom: 2%;
  padding-top: 2.2%;
}
.task-list-left {
  width: 85%;
  display: flex;
  justify-content: flex-start;
  padding-left: 2%;
}
.task-list-left-logo {
  padding: 1.3%;
  border-radius: 7px;
  background-color: #d0f1ff;
}
.task-list-left-logo div {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../../../../../assets/svg/blue-circle.svg");
  background-repeat: no-repeat;
}
.task-list-left-logo div img {
  width: 59.1%;
}
.task-list-left-text {
  width: 84%;
  display: flex;
  flex-direction: column;
  /*border: 1px solid red;*/
  padding-left: 1%;
}
.task-list-name {
  width: 100%;
  font-size: 115%;
  color: #333333;
  font-size: 115%;
  margin-top: 0.5%;
  margin-bottom: 2%;
}
.task-list-right {
  width: 9.67%;
  display: flex;
  align-items: center;
}
.task-list-right div {
  width: 100%;
  height: 48.5%;
  font-size: 93%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50px;
  border: 1px solid rgba(215, 215, 215, 1);
}
.task-list-address {
  font-size: 115%;
  color: #999999;
  display: flex;
  align-items: flex-end;
}
.task-list-address > div:nth-child(1) {
  background-image: url("../../../../../assets/svg/position-1.svg");
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 50%;
  margin-left: 1.5%;
  margin-right: 1.5%;
}
.task-list-address > div:nth-child(1) img {
  width: 100%;
}
.task-list-address > div:nth-child(2) {
  color: #999999;
}
.task-list-address > div:nth-child(3) {
  margin-left: 1%;
  color: #999999;
}
</style>
