Commit 2d44c3d2 by xiongyuwen

no message

parent 9785353c
......@@ -189,9 +189,9 @@ export default {
right: 0;
bottom: 0;
}
.img {
object-fit: cover;
}
// .img {
// object-fit: cover;
// }
.prevent-jump {
cursor: default;
}
......
......@@ -137,7 +137,7 @@ export default {
border-radius: 5px;
width: 100%;
height: 100%;
object-fit: cover;
// object-fit: cover;
}
> .progress {
......
......@@ -57,11 +57,43 @@
/> -->
<div class="list-top-item">
<nuxt-link :to="`/thread/`" target="_blank" class="top-title">
<template> 百伦论坛知识库 </template>
<div />
</nuxt-link>
<a href="#" class="top-title">
百伦论坛知识库
<div></div
></a>
<div />
</div>
<attachment-list
:file="attachmentFile"
:is-paid="isPaid"
:price="price"
:is-paid-attachment="isPaidAttachment"
:attachment-price="attachmentPrice"
/>
<topic-reward-list
:author="thread.user || {}"
:paid-information="paidInformation"
:can-paid="forums && forums.paycenter && forums.paycenter.wxpay_close"
:can-reward="
forums &&
forums.paycenter &&
forums.paycenter.wxpay_close &&
thread.canBeReward
"
:thread-type="thread.type || 0"
:user-lists="[
thread.paidUsers || [],
thread.rewardedUsers || [],
article.likedUsers || [],
[],
]"
@payOrReward="showCheckoutCounter = true"
/>
<topic-actions
:thread-id="threadId"
:actions="actions || []"
@clickAction="postCommand"
/>
<comment v-if="renderComponent" ref="comment" :thread-id="threadId" />
</div>
</div>
......@@ -77,7 +109,9 @@ const threadInclude =
"category,threadVideo,paidUsers,question,question.beUser,question.images,onlookers";
import env from "@/utils/env";
import config from "@/config.js";
import AttachmentList from "../../components/topic/AttachmentList.vue";
export default {
components: { AttachmentList },
data() {
return {
threadId: "26",
......@@ -185,6 +219,26 @@ export default {
passwordError: false,
passwordErrorTip: "",
findPassword: false,
attachmentPrice: "0.00",
attachmentFile: {
attachment: "",
extension: "pdf",
fileName: "",
filePath: "",
fileSize: 349279,
fileType: "",
id: 93,
isApproved: 1,
isRemote: false,
order: 0,
thumbUrl: "",
type: 0,
type_id: 118,
url: "",
},
isPaid: false,
isPaidAttachment: false,
price: "0.00",
};
},
computed: {
......@@ -257,7 +311,6 @@ export default {
const fatherid = this.$route.query.fatherid;
const appointfileid = this.$route.query.appointfileid;
const firstfileid = this.$route.query.firstfileid;
if (!!appointfileid) {
fildId = firstfileid;
}
......@@ -329,6 +382,13 @@ export default {
if (data.file) {
this.showViewloading = true;
axios
.get(
`${config.WEI_PAN_URL}/weipan/GetAttchmattachmentByFileId?fileId=${data.id}`
)
.then((res) => {
this.attachmentFile = res.data.result;
});
axios
.get(`${config.WEI_PAN_URL}/weipan/GetFileInfo?fileId=${data.id}`)
.then((res) => {
// const ele = document.querySelector(".WACPageBorder");
......@@ -621,6 +681,7 @@ export default {
width: 200px;
overflow: hidden;
} */
.el-image__inner{object-fit:fill !important}
.detail-content-left-text
.el-tree--highlight-current
.el-tree-node.is-current
......@@ -639,6 +700,7 @@ export default {
}
</style>
<style lang="scss" scoped>
.el-image__inner{object-fit:fill !important}
@import "@/assets/css/variable/color.scss";
.iframe-box {
position: relative;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment