{{#unless length}}
	<div style="width:1px;height:120px;"></div>
	<div class="none_of_homework_tip" style="width: 570px;height: 490px;margin:0 auto;position:relative;">
		<p style="width:356px;height:156px;font-size: 24px;background:url(img/dlgFrame.png) no-repeat;padding: 10px;">
			哈哈！！太棒了，没有作业。
		</p>
		<img src="img/noHomeworkTip.png" style="position:absolute;top:100px;left:115px;">
	</div>
{{/unless}}
{{#each this}}
	<div class="homework_item" id={{homeworkClassId}}>
		<span class="homework_item_date">{{publishtime}}</span>
		<span class="homework_item_title">{{homeworktitle}}</span>
		{{#if state}}
			{{#if result}}
				<span class="homework_item_result" style="color:#FF4444">错误{{result}}题</span>
			{{else}}
				<span class="homework_item_result" style="color:#669900">全部正确</span>
			{{/if}}
			<span class="homework_item_action">查看详情<b>&nbsp; &gt; </b></span>
		{{else}}
			<span class="homework_item_result" style="color:#FF8800">未完成</span>
			<span class="homework_item_action homework_item_undone">写作业</span>
		{{/if}}
	</div>
{{/each}}