<template>
  <DialogLayout :visible="true" title="试卷模式预览" :shadowBar="false" :actionBarOption="{noCencel:true,noConfirm:true}" @onCancel="$emit('onCancel')">
    <img :src="`/imgs/${['preview-full-volume','preview-question-by-question'][mode]}.png`">
  </DialogLayout>

</template>

<script>
import '@/views/assessment-evaluation/utils/gyStyle.scss'
import DialogLayout from '@/components/layout/DialogLayout.vue'
export default {
  components: { DialogLayout },
  data: () => ({
  }),
  props: {
    /**
     * 传入类型，0 整卷模式， 1 逐题模式
     */
    mode: {
      default: 0
    }
  }

}
</script>
