mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
资源位跳转链接
This commit is contained in:
@@ -272,9 +272,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>
|
||||
@@ -448,15 +448,18 @@ export default {
|
||||
window.removeEventListener("scroll", this.handleScroll);
|
||||
},
|
||||
methods: {
|
||||
banJump() {
|
||||
if(this.resonimg.JumpUrl) {
|
||||
window.open(this.resonimg.JumpUrl);
|
||||
}
|
||||
},
|
||||
couresreso(){
|
||||
let key = 'course';
|
||||
apiPlace.detail(key).then(res=>{
|
||||
//console.log(res,'lmj')
|
||||
let resImgList = JSON.parse(res.result.content);
|
||||
if(resImgList && resImgList.length>0){
|
||||
this.resonimg = resImgList[0]
|
||||
}
|
||||
// console.log(this.resonimg,'111')
|
||||
})
|
||||
},
|
||||
jumUX() {
|
||||
|
||||
Reference in New Issue
Block a user