mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
资源位跳转链接
This commit is contained in:
@@ -80,9 +80,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>
|
||||
@@ -183,14 +183,16 @@ export default {
|
||||
clearInterval(this.setTime);
|
||||
},
|
||||
methods: {
|
||||
banJump() {
|
||||
if(this.resonimg.JumpUrl) {
|
||||
window.open(this.resonimg.JumpUrl);
|
||||
}
|
||||
},
|
||||
couresreso(){
|
||||
let key = 'article';
|
||||
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)
|
||||
})
|
||||
},
|
||||
handleScroll() {
|
||||
|
||||
Reference in New Issue
Block a user