|
@@ -9,22 +9,22 @@
|
|
|
<div class="activity" v-for="(item,index) in lessons" @click="handleLessonClick(item.rowKey)">
|
|
|
<div>
|
|
|
<div class="img-box">
|
|
|
- <span class="state" style="background: rgb(130, 147, 166); visibility: visible;">{{item.activityStatusTip}}</span>
|
|
|
+ <span class="state" style="background: rgb(130, 147, 166); visibility: visible;">{{item.data.activityStatusTip}}</span>
|
|
|
<!--<img :src="getThumb(item.rowKey)" alt="">-->
|
|
|
<div class="lesson-image">
|
|
|
<p style="font-size:24px">高新区智慧课堂优秀课例</p>
|
|
|
- <p style="font-size:16px;margin:5px 0">六年级</p>
|
|
|
- <p style="font-size:28px;">《 速度与激情 》</p>
|
|
|
- <p style="font-size:16px;margin-top:8px;">高新区益民学校 钟源教师 执教</p>
|
|
|
- <p style="font-size:16px;margin-top:8px;">授课平台:网奕HiTeach</p>
|
|
|
+ <p style="font-size:16px;margin:5px 0">{{item.data.parentGradeName}}</p>
|
|
|
+ <p style="font-size:28px;">《 {{item.data.parentProjectName}} 》</p>
|
|
|
+ <p style="font-size:16px;margin-top:8px;">{{item.data.schoolName}} {{item.data.speaker}}教师 执教</p>
|
|
|
+ <p style="font-size:16px;margin-top:8px;">授课平台:{{item.data.parentTeachePlateName}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="infos">
|
|
|
- <p>名称:{{item.mainActivityName}}</p>
|
|
|
- <p>学校:{{item.schoolName}}</p>
|
|
|
- <p>主讲:{{item.speaker}}</p>
|
|
|
- <p>学科:{{item.categoryName}}</p>
|
|
|
- <p>时间:{{item.timeTip}}</p>
|
|
|
+ <p>名称:{{item.data.name}}</p>
|
|
|
+ <p>学校:{{item.data.schoolName}}</p>
|
|
|
+ <p>主讲:{{item.data.speaker}}</p>
|
|
|
+ <p>学科:{{item.data.parentCategoryName}}</p>
|
|
|
+ <p>时间:{{item.data.timeRangeTip}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -33,6 +33,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import lessons from '@/static/observationList.json'
|
|
|
+ import lessonDetails from '@/static/lessonDetails.json'
|
|
|
export default {
|
|
|
components: {
|
|
|
},
|
|
@@ -43,7 +44,7 @@
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
- this.lessons = lessons.list;
|
|
|
+ this.lessons = lessonDetails;
|
|
|
},
|
|
|
methods: {
|
|
|
getList(type) {
|
|
@@ -118,7 +119,7 @@
|
|
|
}
|
|
|
|
|
|
.img-box {
|
|
|
- background:#13ce66;
|
|
|
+ background:url(../../assets/image/lessonCover.png);
|
|
|
height: 210px
|
|
|
}
|
|
|
|