提交 5a508830 编写于 作者: guangjun.yang's avatar guangjun.yang

Merge branch 'dev-coursedetail-0817' of...

Merge branch 'dev-coursedetail-0817' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-professional-exam into dev-coursedetail-0817

* 'dev-coursedetail-0817' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-professional-exam:
  医生信息没有不显示
<template> <template>
<div class="course-harvest-wrapper"> <div v-if="harvest.length > 0" class="course-harvest-wrapper">
<CommonTitle title="学习收获"></CommonTitle> <CommonTitle title="学习收获"></CommonTitle>
<ul class="list-wrapper"> <ul class="list-wrapper">
<li class="item" v-for="(item, index) in harvest" :key="index"> <li class="item" v-for="(item, index) in harvest" :key="index">
......
<template> <template>
<div class="course-intro-wrapper"> <div v-if="intro" class="course-intro-wrapper">
<CommonTitle></CommonTitle> <CommonTitle></CommonTitle>
<div class="body"> <div class="body">
<p class="content" :class="{'ellipsis': isUp}">{{ intro }}</p> <p class="content" :class="{'ellipsis': isUp}">{{ intro }}</p>
......
<template> <template>
<div class="course-teacher-wrapper"> <div v-if="doctorList.length > 0" class="course-teacher-wrapper">
<div class="basic-title">讲师介绍</div> <div class="basic-title">讲师介绍</div>
<div class="leader-info" v-for="(item,index) in doctorList" :key="index"> <div class="leader-info" v-for="(item,index) in doctorList" :key="index">
<img :src="item.app_image_url" alt="头像" @error="onAvatarError" /> <img :src="item.app_image_url" alt="头像" @error="onAvatarError" />
......
...@@ -150,11 +150,11 @@ export default { ...@@ -150,11 +150,11 @@ export default {
if (token && !info.id) { if (token && !info.id) {
this.$store.dispatch('getUserInfo'); this.$store.dispatch('getUserInfo');
} }
// this.projectId = sessionStorage.getItem('projectId'); this.projectId = sessionStorage.getItem('projectId');
// if (!this.projectId) { if (!this.projectId) {
// this.$router.replace('/not-found'); this.$router.replace('/not-found');
// return; return;
// } }
this.getCourseInfo(); this.getCourseInfo();
this.getCourseQas(); this.getCourseQas();
const { height } = this.$el.querySelector('.video-box').getBoundingClientRect(); const { height } = this.$el.querySelector('.video-box').getBoundingClientRect();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册