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:
@@ -444,9 +444,11 @@ export default {
|
|||||||
couresreso(){
|
couresreso(){
|
||||||
let key = 'course';
|
let key = 'course';
|
||||||
apiPlace.detail(key).then(res=>{
|
apiPlace.detail(key).then(res=>{
|
||||||
console.log(res,'lmj')
|
//console.log(res,'lmj')
|
||||||
let Imageres = JSON.parse(res.result.content);
|
let resImgList = JSON.parse(res.result.content);
|
||||||
this.resonimg = Imageres[0]
|
if(resImgList && resImgList.length>0){
|
||||||
|
this.resonimg = resImgList[0]
|
||||||
|
}
|
||||||
// console.log(this.resonimg,'111')
|
// console.log(this.resonimg,'111')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="padding:26px 40px;display:flex;overflow-x: auto;">
|
<div style="padding:26px 40px;display:flex;overflow-x: auto;">
|
||||||
|
|
||||||
<div class="experience" style="margin-right:72px">
|
<div class="experience" style="margin-right:72px">
|
||||||
<div class="exp-hear">
|
<div class="exp-hear">
|
||||||
<div class="exp-hear-text">
|
<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>
|
<span class="exp-hear-textbor"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-hear-xiala">
|
<div class="exp-hear-xiala">
|
||||||
|
|||||||
Reference in New Issue
Block a user