<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTpl}" />
    <meta name="description" content="{$tkd.description|parseTpl}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno4/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno4/css/sort.css" />
</head>
<body>
<header class="channelHeader">
    <a href="javascript:history.go(-1);" class="iconback">
        <button style="background: #68aac2;border: 0;color: #fff;padding-top: 5px;font:17px/20px 宋体"><strong>返回</strong></button>
    </a>
    <strong>分类</strong>
    <a href="/" class="iconhome">
        <button style="background: #68aac2;border: 0;color: #fff;padding-top: 5px;font:17px/20px 宋体""><strong>首页</strong></button>
    </a>
</header>
<nav class="sortChannel_nav">
    <a href="{link=novel.category.index}">全部</a>
    {block method="category.list" name=categoryList pid=1 withall=0}
    {loop=categoryList}
    <a  {if $categorykey==$loop.key}class="on"{/if} href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">
        {$loop.name}
    </a>
    {/loop}
</nav>
<div class="recommend">
    <div id="main">
        {block method="pagination" name="paginate" page=$page limit=$pagesize count=$category.num maxpage=50 section=3}
        {block method="novel.list" name=list category=$category.id order=weekvisit num=$paginate.limit page=$paginate.current}
        {section loop=$list item=$loop}
        <div class="hot_sale">
            <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}">
                <img class="lazy" data-original="https://www.xs.la/BookFiles/BookImages/moqidongfang.jpg" src="{$loop.novel.cover}">
                <p class="title">
                    {$loop.novel.name}
                </p>
                <p class="author">
                    作者：{$loop.author.name}</p>
            </a>
            <p class="review">
                简介：{$loop.novel.intro|showIntroLine}
            </p>
        </div>
        {/section}
    </div>
    <p class="page">
        <a id="nextPage" href="{link=novel.category.list categoryid=$category.id key=$category.key page=$paginate.prev}">[上页]</a>
        <a id="nextPage" href="{link=novel.category.list categoryid=$category.id key=$category.key page=$paginate.next}">[下页]</a>
    </p>
    <br />
</div>
{include file="/system/footer"}
</body>
</html>
