<div>
    <div class="file-preview-top">
        <div class="fl file-preview-title">{{$route.query.name}}</div>
        <div class="fr">
	        <el-button type="primary" @click="downloadFile">下载资料</el-button>
	        <el-button @click="$router.back()">返回</el-button>
	    </div>
      </div>
    <iframe :src="'/KS_Inc/pdfjs/web/viewer.html?file='+$route.query.url" width="100%" height="1000px"
      frameborder="no" allowtransparency="yes"></iframe>
</div>