mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 14:26: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{
|
||||
|
||||
@@ -204,6 +204,7 @@ import apiFavorite from '@/api/modules/favorites.js';
|
||||
import apiUser from '@/api/system/user.js';
|
||||
import apiCourse from "@/api/modules/coursePortal.js";
|
||||
import courseImage from '@/components/Course/courseImage.vue';
|
||||
import {cutFullName} from "@/utils/tools.js";
|
||||
export default {
|
||||
name: 'myShareIndex',
|
||||
components: { articleItems, courseItems, qaItems, courseImage,caseItems },
|
||||
@@ -441,16 +442,19 @@ export default {
|
||||
let obj={}
|
||||
if(item.objType==2){
|
||||
obj=res.result.find(author=>{
|
||||
author.orgInfo=cutFullName(author.orgInfo,1);
|
||||
return author.aid == item.sysCreateAid;
|
||||
})
|
||||
}
|
||||
if(item.objType==4){
|
||||
obj=res.result.find(author=>{
|
||||
author.orgInfo=cutFullName(author.orgInfo,1);
|
||||
return author.aid == item.question.sysCreateAid;
|
||||
})
|
||||
}
|
||||
if(item.type != 1){
|
||||
obj=res.result.find(author=>{
|
||||
author.orgInfo=cutFullName(author.orgInfo,1);
|
||||
return author.aid == item.authorId;
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user