mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
课程页面资源位空信息时的处理
This commit is contained in:
@@ -444,9 +444,11 @@ export default {
|
||||
couresreso(){
|
||||
let key = 'course';
|
||||
apiPlace.detail(key).then(res=>{
|
||||
console.log(res,'lmj')
|
||||
let Imageres = JSON.parse(res.result.content);
|
||||
this.resonimg = Imageres[0]
|
||||
//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')
|
||||
})
|
||||
},
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div style="padding:26px 40px;display:flex;overflow-x: auto;">
|
||||
|
||||
<div class="experience" style="margin-right:72px">
|
||||
<div class="exp-hear">
|
||||
<div class="exp-hear-text">
|
||||
经验值排行榜<svg-icon style="margin-left: 14px;font-size:20px;padding-top: 4px;" icon-class="doubt"></svg-icon>
|
||||
经验值排行榜
|
||||
<svg-icon style="margin-left: 14px;font-size:20px;padding-top: 4px;" icon-class="doubt"></svg-icon>
|
||||
<span class="exp-hear-textbor"></span>
|
||||
</div>
|
||||
<div class="exp-hear-xiala">
|
||||
|
||||
Reference in New Issue
Block a user