<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">
            <div></div>
            <div>红色预警</div>
            <div>处理截止日期：2021-10-18</div>
          </div>
        </div>
      </div>
      <div @click="task_list_operate" class="task-list-right"><div>处理</div></div>
    </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">
            <div></div>
            <div>红色预警</div>
            <div>处理截止日期：2021-10-18</div>
          </div>
        </div>
      </div>
      <div @click="task_list_operate" class="task-list-right"><div>处理</div></div>
    </div>
  </div>
</template>

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

@Component({
  name: "UpcomingRiskWarning",
})
export default class UpcomingRiskWarning extends Vue {
  task_list_operate() {
    this.$router.push({
      path: "/workbench/upcoming-tasks/risk-warning-handle/taskList-operate",
    });
  }
}
</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;
  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 {
  display: flex;
  align-items: center;
}
.task-list-address > div:nth-child(1) {
  width: 1.83%;
  height: 48%;
  background-color: #ff0000;
  border-radius: 5px;
}
.task-list-address > div:nth-child(2) {
  margin-left: 1%;
  color: #ff0000;
  margin-right: 10%;
  font-family: "Arial Normal", "Arial";
}
.task-list-address > div:nth-child(3) {
  margin-left: 1%;
  color: #999999;
  font-family: "Arial Normal", "Arial";
}
</style>
