|
@@ -1,8 +1,41 @@
|
|
|
<template>
|
|
|
<span>
|
|
|
- <ul style="color:#c5a1a1">
|
|
|
+ <ul style="margin-top: 5px">
|
|
|
<li v-for="(file, index) in fileList" :key="index" @click="showPdf(file)">
|
|
|
{{ file.name }}
|
|
|
+ <div style="margin-bottom: 15px;">
|
|
|
+ <a>提供单位: <span id="department">xxx</span></a>
|
|
|
+ <a>提供人: <span id="author"></span>xxx</a>
|
|
|
+ <a>提交日期: <span id="submitDate">2020.02.02</span></a>
|
|
|
+ <a>格式: <span id="format"></span>pdf</a>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li v-for="(file, index) in fileList" :key="index" @click="showPdf(file)">
|
|
|
+ {{ file.name }}
|
|
|
+ <div style="margin-bottom: 15px;">
|
|
|
+ <a>提供单位: <span id="department">xxx</span></a>
|
|
|
+ <a>提供人: <span id="author"></span>xxx</a>
|
|
|
+ <a>提交日期: <span id="submitDate">2020.02.02</span></a>
|
|
|
+ <a>格式: <span id="format"></span>pdf</a>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li v-for="(file, index) in fileList" :key="index" @click="showPdf(file)">
|
|
|
+ {{ file.name }}
|
|
|
+ <div style="margin-bottom: 15px;">
|
|
|
+ <a>提供单位: <span id="department">xxx</span></a>
|
|
|
+ <a>提供人: <span id="author"></span>xxx</a>
|
|
|
+ <a>提交日期: <span id="submitDate">2020.02.02</span></a>
|
|
|
+ <a>格式: <span id="format"></span>pdf</a>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ <li v-for="(file, index) in fileList" :key="index" @click="showPdf(file)">
|
|
|
+ {{ file.name }}
|
|
|
+ <div style="margin-bottom: 15px;">
|
|
|
+ <a>提供单位: <span id="department">xxx</span></a>
|
|
|
+ <a>提供人: <span id="author"></span>xxx</a>
|
|
|
+ <a>提交日期: <span id="submitDate">2020.02.02</span></a>
|
|
|
+ <a>格式: <span id="format"></span>pdf</a>
|
|
|
+ </div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<el-dialog
|
|
@@ -12,7 +45,7 @@
|
|
|
:before-close="handleClose">
|
|
|
<ViewPdf :src="showPdfPath"/>
|
|
|
</el-dialog>
|
|
|
- </span>
|
|
|
+ </span>
|
|
|
</template>
|
|
|
<script>
|
|
|
import ViewPdf from '@/views/search/pdf/view'
|
|
@@ -26,7 +59,7 @@ export default {
|
|
|
fileList:[
|
|
|
{
|
|
|
name:'知识图谱API',
|
|
|
- path:'/search/knowledgeapi.pdf'
|
|
|
+ path:'/search/test.pdf'
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -41,4 +74,4 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</script>
|
|
|
+</script>
|