{template "header.html", "/"}

<div class="page-container">
	<div class="page-content-wrapper">
		<div class="page-content">
			<div class="container">
				<div class="page-content-inner">

					<!--循环输出顶级栏目下面的子栏目及其内容，运用到了双list循环标签因此需要定义返回值return=c（都懂得）-->
					{list action=category pid=$catid num=5 return=c}
					<div class="row">
						<div class="col-lg-12">
							<div class="portlet light">
								<div class="portlet-title">
									<div class="caption">
										<span class="caption-subject bold uppercase"><a class=" font-green" href="{dr_mobile_category_url(MOD_DIR, $c.id)}">{$c.name}</a></span>
									</div>
								</div>
								<div class="portlet-body">
									<div class="row">
										<div class="col-md-12">
											<ul class="list-unstyled">
												<!-- 调用模块的10条数据 -->
												{list action=module catid=$c.id order=updatetime num=10}
												<li style="line-height: 23px">
													<span class="badge badge-empty badge-success"></span>&nbsp;
													<a href="{dr_mobile_show_url(MOD_DIR, $t.id)}" class="title">{dr_strcut($t.title, 30)}</a>
												</li>
												{/list}
											</ul>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					{/list}


				</div>
			</div>
		</div>
	</div>
</div>



{template "footer.html", "/"}