猎羽广告

_tooltip.vue 522B

123456789101112131415161718192021
  1. <template>
  2. <el-tooltip :effect="effect" raw-content >
  3. <template #content>{{notes}}</template>
  4. <template v-if="slotFalg"><slot name="content"></slot></template>
  5. <i-ep-QuestionFilled v-if="!slotFalg" class="lMar5 f14 pointer" :class="colorCss"/>
  6. </el-tooltip>
  7. </template>
  8. <script lang="ts" setup>
  9. const props = withDefaults(defineProps<{
  10. notes?: string,
  11. colorCss?: string,
  12. effect?: string,
  13. slotFalg?:boolean
  14. }>(), {
  15. notes: '',
  16. colorCss: 'c-999',
  17. effect: 'light',
  18. slotFalg:false
  19. })
  20. </script>