修改默认主页三会一课
This commit is contained in:
parent
b68237b89c
commit
89bbb0f7ee
@ -93,7 +93,18 @@
|
||||
<div class="layui-col-md12 layui-col-space10" id="threeMeetLessonTemplateBox"></div>
|
||||
<script type="text/html" id="threeMeetLessonTemplate">
|
||||
{{# for ( var i = 0,item; item = d[i++];){ }}
|
||||
{{# if(d.length >= 4){ }}
|
||||
<div class="layui-col-md3">
|
||||
{{# } }}
|
||||
{{# if(d.length == 3){ }}
|
||||
<div class="layui-col-md4">
|
||||
{{# } }}
|
||||
{{# if(d.length == 2){ }}
|
||||
<div class="layui-col-md6">
|
||||
{{# } }}
|
||||
{{# if(d.length <= 1){ }}
|
||||
<div class="layui-col-md12">
|
||||
{{# } }}
|
||||
<div class="layui-card" style="border-radius: 5px;">
|
||||
<div class="layui-card-header">
|
||||
{{item.categoryName}}
|
||||
|
Loading…
Reference in New Issue
Block a user