mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 22:06:43 +08:00
我的收藏
This commit is contained in:
@@ -237,9 +237,10 @@ export default {
|
||||
this.loadMore();
|
||||
}
|
||||
}
|
||||
// console.log(pdfPreview.getBoundingClientRect().top,'pdfPreview.getBoundingClientRect().top');
|
||||
if(pdfPreview.getBoundingClientRect().top < 0) {
|
||||
document.querySelector('#pdfTopBox').style.cssText = `position: fixed;bottom:0;width:${contentDiv-9}px`;
|
||||
} else {
|
||||
document.querySelector('#pdfTopBox').style.cssText = "position:static";
|
||||
}
|
||||
if(pdfTopBox.getBoundingClientRect().top < 1000) {
|
||||
document.querySelector('#pdfTopBox').style.cssText = "position:static";
|
||||
@@ -351,7 +352,6 @@ export default {
|
||||
margin-top: 10px;
|
||||
font-size: 15px;
|
||||
color: #454545;
|
||||
line-height: 24px;
|
||||
word-break:break-all;
|
||||
}
|
||||
::v-deep .el-card__body{
|
||||
|
||||
Reference in New Issue
Block a user