mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交
This commit is contained in:
@@ -43,12 +43,12 @@
|
|||||||
|
|
||||||
<div v-if="views" style="cursor: default;" :style="`min-width: ${nodeWidth};`" class="interact-bar-btn" :class="{cursor:!readonly}">
|
<div v-if="views" style="cursor: default;" :style="`min-width: ${nodeWidth};`" class="interact-bar-btn" :class="{cursor:!readonly}">
|
||||||
<el-tooltip effect="light" content="浏览量" placement="top">
|
<el-tooltip effect="light" content="浏览量" placement="top">
|
||||||
<svg-icon style="margin-right: 0;font-size: 16px;" icon-class="browse"></svg-icon>
|
<svg-icon style="margin-right: 0;font-size: 19px;" icon-class="browse"></svg-icon>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<span class="interact-bar-value"> {{ data.views}}</span>
|
<span class="interact-bar-value"> {{ data.views}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog title="分享" :visible.sync="shareShow" :close-on-click-modal="false" :modal-append-to-body="false" width="500px" custom-class="g-dialog">
|
<el-dialog title="分享" :visible.sync="shareShow" :close-on-click-modal="false" :append-to-body="true" width="500px" custom-class="g-dialog">
|
||||||
<div style="height: 200px;padding-right: 30px;">
|
<div style="height: 200px;padding-right: 30px;">
|
||||||
<el-form label-width="100px" @submit.native.prevent >
|
<el-form label-width="100px" @submit.native.prevent >
|
||||||
<el-form-item label="姓名或工号">
|
<el-form-item label="姓名或工号">
|
||||||
|
|||||||
@@ -52,9 +52,9 @@
|
|||||||
<div class="postfixt-bot-box" id="pdfTopBox">
|
<div class="postfixt-bot-box" id="pdfTopBox">
|
||||||
<div style="display: flex;justify-content: space-between;">
|
<div style="display: flex;justify-content: space-between;">
|
||||||
<div style="margin-left:20px">
|
<div style="margin-left:20px">
|
||||||
<div>
|
<div style="margin-top:3px">
|
||||||
<i style="font-size:20px" v-show="zoomShow" @click="zoomBox()" class="el-icon-zoom-in"></i>
|
<i style="font-size:22px;color:#a3b1cc" v-show="zoomShow" @click="zoomBox()" class="el-icon-zoom-in"></i>
|
||||||
<i style="font-size:20px" v-show="!zoomShow" @click="zoomBox()" class="el-icon-zoom-out"></i>
|
<i style="font-size:22px;color:#a3b1cc" v-show="!zoomShow" @click="zoomBox()" class="el-icon-zoom-out"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -253,7 +253,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(pdfPreview.getBoundingClientRect().top < 0) {
|
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 {
|
} else {
|
||||||
document.querySelector('#pdfTopBox').style.cssText = "position:static";
|
document.querySelector('#pdfTopBox').style.cssText = "position:static";
|
||||||
}
|
}
|
||||||
@@ -359,6 +359,7 @@ export default {
|
|||||||
// border: 1px solid #eee;
|
// border: 1px solid #eee;
|
||||||
// z-index: 999;
|
// z-index: 999;
|
||||||
.postfixt-bot-box{
|
.postfixt-bot-box{
|
||||||
|
|
||||||
// text-align: right;
|
// text-align: right;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
// border: 1px solid #eee;
|
// border: 1px solid #eee;
|
||||||
|
|||||||
@@ -587,14 +587,14 @@ export default {
|
|||||||
let ids;
|
let ids;
|
||||||
ids = list.map((item, index) => {
|
ids = list.map((item, index) => {
|
||||||
// item.authorInfo = { aid: '', name: '', orgInfo: '', avater: '' };
|
// item.authorInfo = { aid: '', name: '', orgInfo: '', avater: '' };
|
||||||
return item.cases.sysCreateAid;
|
return item.cases.authorId;
|
||||||
});
|
});
|
||||||
let noRepeatIds = [...new Set(ids)];
|
let noRepeatIds = [...new Set(ids)];
|
||||||
apiUser.getByIds(noRepeatIds).then(res => {
|
apiUser.getByIds(noRepeatIds).then(res => {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
this.caseList.list = list.map(item => {
|
this.caseList.list = list.map(item => {
|
||||||
let obj = res.result.find(author => {
|
let obj = res.result.find(author => {
|
||||||
return author.aid == item.cases.sysCreateAid;
|
return author.aid == item.cases.authorId;
|
||||||
});
|
});
|
||||||
item = Object.assign(item, obj);
|
item = Object.assign(item, obj);
|
||||||
return item;
|
return item;
|
||||||
@@ -674,7 +674,6 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
id = item.id;
|
id = item.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
apiFavorite.del(id).then(res => {
|
apiFavorite.del(id).then(res => {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
this.$message.success('取消收藏成功');
|
this.$message.success('取消收藏成功');
|
||||||
|
|||||||
Reference in New Issue
Block a user