|
|
@@ -1,28 +1,31 @@
|
|
|
<template>
|
|
|
<el-drawer append-to-body title="详情" :visible.sync="isFileInfoPanlShow" :with-header="true">
|
|
|
- <div class="top">
|
|
|
- <p class="title">{{currentSelectFile.classname}} {{currentSelectFile.title}}</p>
|
|
|
- <div class="info1">
|
|
|
- <p>发布者: {{currentSelectFile.createby}}</p>
|
|
|
- <p>发布时间: {{currentSelectFile.createdate}}</p>
|
|
|
+ <div class="drawer__panel">
|
|
|
+ <div class="top" style="border-bottom: 10px solid #FAFAFA">
|
|
|
+ <p class="title">{{currentSelectFile.classname}} {{currentSelectFile.title}}</p>
|
|
|
+ <div class="info1">
|
|
|
+ <p>发布者: {{currentSelectFile.createby}}</p>
|
|
|
+ <p>发布时间: {{currentSelectFile.createdate}}</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="descript" v-if="currentSelectFile.notes">
|
|
|
- <p class="title">课程描述</p>
|
|
|
- <p>
|
|
|
- {{currentSelectFile.notes}}
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div class="file1" v-if="currentSelectFile.attinfos.length >= 1">
|
|
|
- <p class="title">课件</p>
|
|
|
- <div class="file-box">
|
|
|
- <file-item :itemStyle="itemStyle"
|
|
|
- :fileData="currentSelectFile.attinfos | fileType"
|
|
|
- :isDownLoad="true"
|
|
|
- @updateDownLoadRecord="updateDownLoadRecord">
|
|
|
- </file-item>
|
|
|
+ <div class="descript" v-if="currentSelectFile.notes" style="border-bottom: 10px solid #FAFAFA">
|
|
|
+ <p class="title">课程描述</p>
|
|
|
+ <p>
|
|
|
+ {{currentSelectFile.notes}}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="file1" v-if="currentSelectFile.attinfos.length >= 1" >
|
|
|
+ <p class="title">课件</p>
|
|
|
+ <div class="file-box">
|
|
|
+ <file-item :itemStyle="itemStyle"
|
|
|
+ :fileData="currentSelectFile.attinfos | fileType"
|
|
|
+ :isDownLoad="true"
|
|
|
+ @updateDownLoadRecord="updateDownLoadRecord">
|
|
|
+ </file-item>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
</el-drawer>
|
|
|
</template>
|
|
|
|
|
|
@@ -99,7 +102,7 @@ export default {
|
|
|
}
|
|
|
.el-drawer__body .top {
|
|
|
border-bottom: 1px solid #dddddd;
|
|
|
- margin: 30px 0;
|
|
|
+ margin: 0px 0;
|
|
|
padding: 0 20px;
|
|
|
}
|
|
|
.el-drawer__body .title {
|