|
|
|
@ -65,7 +65,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<div class="oneTitle" @click="chooseInfo=2" style="cursor: pointer"> |
|
|
|
<div class="huiBlock"></div> |
|
|
|
<div class="huiTitle">图片视频</div> |
|
|
|
<div class="huiTitle">知识图片</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
@ -85,7 +85,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<div class="oneTitle" style="background-color: #e4e4e4;cursor: pointer"> |
|
|
|
<div class="chengBlock"></div> |
|
|
|
<div class="chengTitle">图片视频</div> |
|
|
|
<div class="chengTitle">知识图片</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
@ -106,7 +106,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<div class="oneTitle" @click="chooseInfo=2" style="cursor: pointer"> |
|
|
|
<div class="huiBlock"></div> |
|
|
|
<div class="huiTitle">图片视频</div> |
|
|
|
<div class="huiTitle">知识图片</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
@ -127,7 +127,7 @@ |
|
|
|
<!-- </div>--> |
|
|
|
<div class="oneTitle" @click="chooseInfo=2" style="cursor: pointer"> |
|
|
|
<div class="huiBlock"></div> |
|
|
|
<div class="huiTitle">图片视频</div> |
|
|
|
<div class="huiTitle">知识图片</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
@ -395,7 +395,8 @@ const graphOptions = { |
|
|
|
force_line_elastic: 0.1 // 全局设置,线条的牵引系数,默认为1, 建议合理的取值范围:0.1 -- 10 |
|
|
|
// force_node_repulsion: 1, // 全局设置,节点之间的斥力系数,默认为1,建议合理的取值范围:0.1 -- 10 |
|
|
|
// force_line_elastic: 1 // 全局设置,线条的牵引系数,默认为1, 建议合理的取值范围:0.1 -- 10 |
|
|
|
} |
|
|
|
}, |
|
|
|
backgroundColor: "#2d3562" |
|
|
|
}; |
|
|
|
export default { |
|
|
|
name: 'docInfo', |
|
|
|
@ -796,22 +797,21 @@ export default { |
|
|
|
} else { |
|
|
|
this.haveImg = true; |
|
|
|
|
|
|
|
// 处理多个视频地址 |
|
|
|
if (this.contentInfo.docVideo) { |
|
|
|
const videoPrefix = "http://localhost:10031"; |
|
|
|
this.videoUrls = this.contentInfo.docVideo.split(',').map(video => videoPrefix + video.trim()); |
|
|
|
} else { |
|
|
|
this.videoUrls = []; |
|
|
|
} |
|
|
|
|
|
|
|
// 处理图片列表 |
|
|
|
if (this.contentInfo.docImgs) { |
|
|
|
var lidt = this.contentInfo.docImgs.split(","); |
|
|
|
|
|
|
|
for(let a=0;a<lidt.length;a++){ |
|
|
|
var kkk = "http://127.0.0.1:10031"+lidt[a]; |
|
|
|
// var kkk=lidt[a]; |
|
|
|
this.imgsList.push(kkk) |
|
|
|
|
|
|
|
if(lidt[a].includes("http")){ |
|
|
|
var kkk=lidt[a]; |
|
|
|
this.imgsList.push(kkk) |
|
|
|
}else{ |
|
|
|
var kkk = "http://127.0.0.1:10031"+lidt[a]; |
|
|
|
this.imgsList.push(kkk) |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -2063,5 +2063,8 @@ margin-top: 0.2vw; |
|
|
|
.el-tree-node__expand-icon { |
|
|
|
font-size: 1.2vw !important; |
|
|
|
} |
|
|
|
.rel-graph-loading{ |
|
|
|
background-color: transparent!important; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
|