<template>
  <div class="realtime-container">
    <div class="title">
      <span>实时视频</span>
      <svg-icon icon-class="realtime-close" class-name="icon-close"/>
    </div>
    <div class="video"></div>
    <div class="actions">
      <div class="action-plus">
        <svg-icon icon-class="realtime-plus" class-name="icon-plus"/>
      </div>
      <div class="action-circle">
        <svg-icon icon-class="realtime-circle" class-name="icon-circle"/>
        <div class="action-up">
          <svg-icon icon-class="realtime-up" class-name="icon-up"/>
        </div>
        <div class="action-up">
          <svg-icon icon-class="realtime-down" class-name="icon-down"/>
        </div>
        <div class="action-up">
          <svg-icon icon-class="realtime-left" class-name="icon-left"/>
        </div>
        <div class="action-up">
          <svg-icon icon-class="realtime-right" class-name="icon-right"/>
        </div>
      </div>
      <div class="action-minus">
        <svg-icon icon-class="realtime-minus" class-name="icon-minus"/>
      </div>
    </div>
  </div>
</template>

<script>
export default {
}
</script>

<style scoped>
.realtime-container {
  background: #fff;
  height: 300px;
  border-radius: 4px;
  padding: 10px 20px;
}
.title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: #1D2738;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.icon-close {
  width: 36px;
  height: 36px;
  cursor: pointer;
}
.video {
  margin-top: 10px;
  height: 168px;
  border-radius: 4px;
  background: #000000;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.icon-minus,
.icon-plus {
  width: 36px;
  height: 36px;
  cursor: pointer;
}
.action-circle {
  margin: 0 20px;
  width: 60px;
  height: 60px;
  position: relative;
}
.icon-circle {
  width: 60px;
  height: 60px;
}
.icon-up {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 10px;
  cursor: pointer;
}
.icon-down {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 10px;
  cursor: pointer;
}
.icon-left {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 10px;
  height: 14px;
  cursor: pointer;
}
.icon-right {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 10px;
  height: 14px;
  cursor: pointer;
}
</style>
