<script>
import Vue from 'vue'
import guide from '@/views/components/guide.vue'
export default Vue.extend({
  name: 'Index',
  components: {
    guide
  },
  props: {
    id: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
    }
  },
  methods: {
  }
})
</script>

<template>
  <el-popover
    popper-class="guide-popover"
    width="400"
    trigger="hover"
  >
    <guide :id="id" />
    <div slot="reference" class="guide">?</div>
  </el-popover>
</template>

<style scoped>
  .guide{
    color: gray;
    cursor: help;
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
    font-size: 13px;
    width: 16px;
    line-height: 14px;
    text-align: center;
    border: 1px solid gray;
    height: 16px;
  }
  .guide-cont{
    width: 100%;
    .title{
      color: #353535;
      font-size: 22px;
      font-weight: bold;
    }
    .text{
      margin-top: 8px;
    }
    .guide-video{
      mix-blend-mode: darken;
      width: 100%;
      aspect-ratio: 2/1;
    }
  }
</style>
