-
@@ -253,7 +253,7 @@ export default {
}
}
if(pdfPreview.getBoundingClientRect().top < 0) {
- document.querySelector('#pdfTopBox').style.cssText = `position: fixed;bottom:0;box-shadow: -3px 3px 10px 10px rgba(90, 119, 186, .2);width:${contentDiv-9}px;`;
+ document.querySelector('#pdfTopBox').style.cssText = `position: fixed;bottom:0;box-shadow: -3px 3px 10px 10px rgba(90, 119, 186, .1);width:${contentDiv-9}px;`;
} else {
document.querySelector('#pdfTopBox').style.cssText = "position:static";
}
@@ -359,6 +359,7 @@ export default {
// border: 1px solid #eee;
// z-index: 999;
.postfixt-bot-box{
+
// text-align: right;
background-color: #fff;
// border: 1px solid #eee;
diff --git a/src/views/user/MyFavorites.vue b/src/views/user/MyFavorites.vue
index 8b66dbbf..5ffb8f16 100644
--- a/src/views/user/MyFavorites.vue
+++ b/src/views/user/MyFavorites.vue
@@ -587,14 +587,14 @@ export default {
let ids;
ids = list.map((item, index) => {
// item.authorInfo = { aid: '', name: '', orgInfo: '', avater: '' };
- return item.cases.sysCreateAid;
+ return item.cases.authorId;
});
let noRepeatIds = [...new Set(ids)];
apiUser.getByIds(noRepeatIds).then(res => {
if (res.status == 200) {
this.caseList.list = list.map(item => {
let obj = res.result.find(author => {
- return author.aid == item.cases.sysCreateAid;
+ return author.aid == item.cases.authorId;
});
item = Object.assign(item, obj);
return item;
@@ -674,7 +674,6 @@ export default {
} else {
id = item.id;
}
-
apiFavorite.del(id).then(res => {
if (res.status == 200) {
this.$message.success('取消收藏成功');