<template>
  <div class="conflictDetail">
    <div class="conflictDetail_head">
      <span></span>机动车冲突
    </div>
    <div class="content">
      <div class="detailItem">
        <span>北口左转与南口直行冲突</span
        >
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: "conflictDetail",
  data() {
    return {};
  },
  props: ["model"],
  watch: {
    model: {
      handler(val) {
      },
      deep: true, // 深度监听
      immediate: true, // 初次监听即执行
    }
  },
  mounted() {
  },
  methods: {},
  computed: {},
  beforeDestroy() {
  },
};
</script>

<style lang="less" scoped>
.conflictDetail {
  font-size: 16PX;
  position: relative;
  width: 291PX;
  height: 235PX;
  background-image: url("../../../assets/images/sc/popup_redback.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  .conflictDetail_head {
    position: absolute;
    top: -18PX;
    width: 50%;
    background-image: linear-gradient(90deg, rgba(233, 75, 76, 1) 0%, rgba(233, 75, 76, 0) 100%);
    height: 35PX;
    color: white;
    display: flex;
    align-items: center;
    font-size: 20PX;
    font-weight: 700;

    span {
      display: inline-block;
      width: 18PX;
      height: 18PX;
      margin: 0 5PX;
      line-height: 25PX;
      background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
      background-position: center;
      background-repeat: no-repeat;
    }
  }

  .content {
    height: calc(100% - 15PX);
    display: flex;
    padding: 18PX 24PX;
    flex-direction: column;

    .detailItem {
      height: 30PX;
      line-height: 30PX;
      white-space: nowrap;
      color: white;
      max-width: 200PX;
      overflow: hidden;
      text-overflow: ellipsis;

      span {
        display: inline-block;
      }

      span.left {
        text-align: left;
        padding-left: 20PX;
        background-image: url("../../../assets/images/acci/arrow-origin.png");
        background-size: auto;
        background-repeat: no-repeat;
        background-position: left;
        color: rgba(207, 238, 255, 0.9);
      }

      span.right {
        text-align: left;
        color: white;
      }
    }
  }
}
</style>
