<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTpl}">
    <meta name="description" content="{$tkd.description|parseTpl}">
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/ptm.min.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/skin.min.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/font-awesome.min.css" />
</head>
<body>
<header class="ptm-bar ptm-bar-nav  ptm-fix">
    <a class="ptm-pull-left" href="{$kx.config.mobileurl}">
        <span class="ptm-iconfont fa fa-home" style="font-size:22px;"></span>
    </a>
    <div class="ptm-title">小说分类</div>
    <a class="ptm-pull-right" href="{link=user.index.index}">
        <span class="ptm-iconfont  fa fa-user"></span>
    </a>
</header>
<section class="ptm-content" style="margin-top:45px;">
    <div class="ptm-tab">
        <ul class="ptm-tab-nav">
            <li><a href="{$kx.config.mobileurl}">首页</a></li>
            <li><a href="{link=novel.rank.index}">排行</a></li>
            <li class="active"><a href="{link=novel.category.index}">分类</a></li>
            <li><a href="{link=novel.over.index}">全本</a></li>
            <li><a href="{link=novel.search.index}">搜书</a></li>
        </ul>
    </div>
    <div class="categorylist clearfix" style="margin-top:5px;float: left;">
        <ul style="float: left;">
            <li class="full">
                    <div class="name" style="border-right: none;">男生小说</div>
            </li>
            {block method=category.list name=list pid=1 withall=0}
            {loop=list}
            <li>
                <a class="item" href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">
                    <div class="name">{$loop.name}</div>
                    <div class="num">{$loop.num}本</div>
                </a>
            </li>
            {/loop}
        </ul>
    </div>
    <div class="categorylist clearfix" style="margin-top:15px;float: left;">
        <ul style="float: left;">
            <li class="full">
                    <div class="name"  style="border-right: none;">女生小说</div>
            </li>
            {block method=category.list name=list pid=2 withall=0}
            {loop=list}
            <li>
                <a class="item" href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">
                    <div class="name">{$loop.name}</div>
                    <div class="num">{$loop.num}本</div>
                </a>
            </li>
            {/loop}
        </ul>
    </div>
    <div class="ptm-clear" style="margin-bottom:10px;"></div>
</section>
{include file="/system/footer"}
<script type="text/javascript">
    $(function () {
        $ptm.tab($('.ptm-tab-nav.ptm-tab-border li'), $('.ptm-tab-content-item'));
    })
</script>
</body>
</html>