s-video-block.vue 537 B

12345678910111213141516171819202122232425262728293031
  1. <!-- 订单详情 -->
  2. <template>
  3. <su-video
  4. class="sss"
  5. :uid="guid()"
  6. :src="sheep.$url.cdn(data.videoUrl)"
  7. :poster="sheep.$url.cdn(data.src)"
  8. :height="styles.height"
  9. ></su-video>
  10. </template>
  11. <script setup>
  12. import sheep from '@/sheep';
  13. import { guid } from '@/sheep/helper';
  14. const props = defineProps({
  15. data: {
  16. type: Object,
  17. default() {},
  18. },
  19. styles: {
  20. type: Object,
  21. default() {},
  22. },
  23. });
  24. </script>
  25. <style lang="scss" scoped>
  26. .sss {
  27. z-index: -100;
  28. }
  29. </style>