|
|
|
@ -147,16 +147,17 @@
|
|
|
|
|
<div class="img-box-style">
|
|
|
|
|
<!--<img src="../../assets/images/teachingCenter/curriculum.png"-->
|
|
|
|
|
<!--style="width: 100%;height: 100%"/>-->
|
|
|
|
|
<img
|
|
|
|
|
v-if="currentBaseData.course_cover !== '[]'"
|
|
|
|
|
:src="currentBaseData.course_cover"
|
|
|
|
|
style="width: 100%;height: 100%"/>
|
|
|
|
|
<a-empty v-if="currentBaseData.course_cover === '[]'"
|
|
|
|
|
class="imgEmpty"
|
|
|
|
|
description='No Pic'
|
|
|
|
|
image="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"
|
|
|
|
|
:image-style="{height: '80px',marginTop:'50px',}"
|
|
|
|
|
/>
|
|
|
|
|
<img-preview :imgObj="currentBaseData.course_cover"/>
|
|
|
|
|
<!--<img-->
|
|
|
|
|
<!--v-if="currentBaseData.course_cover !== '[]'"-->
|
|
|
|
|
<!--:src="currentBaseData.course_cover"-->
|
|
|
|
|
<!--style="width: 100%;height: 100%"/>-->
|
|
|
|
|
<!--<a-empty v-if="currentBaseData.course_cover === '[]'"-->
|
|
|
|
|
<!--class="imgEmpty"-->
|
|
|
|
|
<!--description='No Pic'-->
|
|
|
|
|
<!--image="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"-->
|
|
|
|
|
<!--:image-style="{height: '80px',marginTop:'50px',}"-->
|
|
|
|
|
<!--/>-->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right-content-style">
|
|
|
|
@ -517,6 +518,9 @@
|
|
|
|
|
this.spinning = false
|
|
|
|
|
if (result[0].data.code === 2000) {
|
|
|
|
|
this.schoolBaseList = result[0].data.data.list
|
|
|
|
|
this.schoolBaseList.forEach(item => {
|
|
|
|
|
item.course_cover = JSON.parse(item.course_cover)[0]
|
|
|
|
|
})
|
|
|
|
|
this.currentBaseData = this.schoolBaseList[0];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|