资源位跳转链接

This commit is contained in:
zhaofang
2022-11-01 13:47:56 +08:00
parent 9f60da21da
commit 8f2a9a1213
7 changed files with 50 additions and 30 deletions

View File

@@ -175,9 +175,9 @@
</li>
</ul>
</div>
<!-- <div class="course-resources"> -->
<!-- <div class="course-resources pointer"> -->
<!-- 资源位 -->
<!-- <img :src="fileBaseUrl + resonimg.image" alt=""> -->
<!-- <img @click="banJump()" :src="fileBaseUrl + resonimg.image" alt=""> -->
<!-- </div> -->
</div>
</div>
@@ -332,14 +332,16 @@ export default {
window.removeEventListener("scroll", this.handleScroll);
},
methods: {
banJump() {
if(this.resonimg.JumpUrl) {
window.open(this.resonimg.JumpUrl);
}
},
couresreso(){
let key = 'case';
apiPlace.detail(key).then(res=>{
console.log(res)
let lmj = JSON.parse(res.result.content)
// console.log(lmj)
this.resonimg = lmj[0]
console.log(this.resonimg.image)
})
},
specialized(){