Commit 079bb7f4 by 陈超

T

parent d5695505
......@@ -34,7 +34,7 @@
<template #title><span :class="tab == 1">课程表</span></template>
<div class="normal_gap"></div>
<van-collapse :border="false" v-model="collapsed">
<van-collapse-item title-class="text_16_600 color_333333" title="单元 1. 行测" name="1">
<van-collapse-item v-for="(item, index) in section" :key="index" title-class="text_16_600 color_333333" :title="item.title" :name="item.id">
<div class="course_each layout_v">
<div class="layout_h" style="margin-left: 0.75rem;margin-right: 0.75rem;">
<van-icon size="16" name="__THEME__/img/locked.png" ></van-icon>
......@@ -85,6 +85,7 @@
tab: 0,
collapsed: [],
info: {},
section: []
}
},
created:function(){
......@@ -92,6 +93,9 @@
console.log(this.info)
let p = {:json_encode($video_section_data)};
console.log(p)
for(let k of p) {
this.section.push(p[k])
}
},
computed: {
isCollect: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment