main
tamguo 7 years ago
parent dda8c4877f
commit 17faaf8054

@ -19,7 +19,7 @@ var vm = new Vue({
findChapterList(courseId){
axios({method: 'post',url: mainHttp + 'chapter/findChapterList.html?courseId='+courseId}).then(function(response){
if(response.data.code == 0){
vm.courseList = response.data.result;
vm.chapterList = response.data.result;
}
});
}

@ -32,48 +32,14 @@
</mu-breadcrumbs>
</mu-container>
<mu-list textline="three-line">
<div>
<mu-sub-header>第一章 社会工作概述</mu-sub-header>
<div v-for="chapter in chapterList">
<mu-sub-header>{{chapter.name}}</mu-sub-header>
<mu-divider></mu-divider>
<mu-list-item avatar :ripple="true" button href="question">
<mu-list-item avatar :ripple="true" button href="question" v-for="cha in chapter.childChapterList">
<mu-list-item-content>
1.1 社区的含义、要素及功能</mu-list-item-title>
{{cha.name}}</mu-list-item-title>
<mu-list-item-sub-title>
1 社会工作的含义、目标与功能
</mu-list-item-sub-title>
</mu-list-item-content>
<mu-list-item-action>
<mu-badge content="12" circle color="secondary">
<mu-button icon>
<mu-icon value="help"></mu-icon>
</mu-button>
</mu-badge>
</mu-list-item-action>
</mu-list-item>
</div>
<div>
<mu-sub-header>第一章 社会工作概述</mu-sub-header>
<mu-divider></mu-divider>
<mu-list-item avatar :ripple="true" button href="question">
<mu-list-item-content>
1.1 社区的含义、要素及功能</mu-list-item-title>
<mu-list-item-sub-title>
1 社会工作的含义、目标与功能
</mu-list-item-sub-title>
</mu-list-item-content>
<mu-list-item-action>
<mu-badge content="12" circle color="secondary">
<mu-button icon>
<mu-icon value="help"></mu-icon>
</mu-button>
</mu-badge>
</mu-list-item-action>
</mu-list-item>
<mu-list-item avatar :ripple="true" button href="question">
<mu-list-item-content>
1.1 社区的含义、要素及功能</mu-list-item-title>
<mu-list-item-sub-title>
1 社会工作的含义、目标与功能
{{cha.name}}
</mu-list-item-sub-title>
</mu-list-item-content>
<mu-list-item-action>

Loading…
Cancel
Save