Commit 72407198 authored by 罗超's avatar 罗超

修改样式

parent 8752ffdb
......@@ -46,20 +46,23 @@
</span>
</div>
<div
style="margin-left: 15px;"
style="margin-left: 15px;width:360px;"
class="ellipsis"
v-if="scope.row.ChapterNo.indexOf('.') == -1"
>
{{ scope.row.ChapterName }}
</div>
<div
v-if="scope.row.ChapterNo.indexOf('.') != -1"
:style="{ marginLeft: 20 * (scope.row.level - 2) + 'px' }"
:style="{ marginLeft: 20 * (scope.row.ChapterNo.split('.').length+1 - 2) + 'px' }"
>
{{ scope.row.ChapterNo }}
</div>
<div
v-if="scope.row.ChapterNo.indexOf('.') != -1"
style="margin-left: 12px;"
class="ellipsis"
:style="{width:(350-(20 * (scope.row.ChapterNo.split('.').length+1 - 2)))+'px'}"
>
{{ scope.row.ChapterName }}
</div>
......
......@@ -166,7 +166,7 @@
this.getCourseInfo();
},
mounted() {
this.gotoPage('teachplan', 2);
this.gotoPage('chapter', 3);
},
methods: {
//获取课程信息
......
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