<template>
  <div class="pre-view">
      <div class="courseware-title">{{fileUrl.name}}</div>
        <div class="courseware-icon">
          <img v-if="fileUrl.fileType === '.jpg' || fileUrl.fileType === '.png'" :src="baseUrl + fileUrl.filePath" height="421" width="700" />
          <video v-if="fileUrl.fileType === '.vae'" :src="baseUrl + fileUrl.filePath"></video>
          </div>
  </div>
</template>

<script >
export default {
  props:{
    data:{
      type: Object,
    }
  },
  data() {
    return {
     
    };
  },
  created(){
    
  }
};
</script>

<style scoped lang="scss">

</style>
