mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
资源位跳转链接
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user