diff --git a/code/app/home/view/default/novel/getNovelCatalog.html b/code/app/home/view/default/novel/getNovelCatalog.html index f12bc9c..191d033 100644 --- a/code/app/home/view/default/novel/getNovelCatalog.html +++ b/code/app/home/view/default/novel/getNovelCatalog.html @@ -251,15 +251,17 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene diff --git a/code/app/home/view/default/novel/getNovelChapter.html b/code/app/home/view/default/novel/getNovelChapter.html index f3a4cc0..d5447b0 100644 --- a/code/app/home/view/default/novel/getNovelChapter.html +++ b/code/app/home/view/default/novel/getNovelChapter.html @@ -221,6 +221,23 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} {/volist} + + {/block} {block name="customize"} diff --git a/code/app/home/view/default/novel/getNovelInfo.html b/code/app/home/view/default/novel/getNovelInfo.html index bc4de39..2346435 100644 --- a/code/app/home/view/default/novel/getNovelInfo.html +++ b/code/app/home/view/default/novel/getNovelInfo.html @@ -151,7 +151,7 @@ $Novel.n_id{extend name="baseH5" /} class="green">{$arrNovel.n_status}

最近更新:{$arrLatestChapter->c_name + n_py="$arrNovel.n_name_pinyin" /}'>{$arrNovel.arrLatestChapter->c_name ?? ""}

更新时间:{$arrNovel.n_update_time}

@@ -248,15 +248,17 @@ $Novel.n_id{extend name="baseH5" /} {/block} diff --git a/code/app/home/view/default/pc/getNovelCatalog.html b/code/app/home/view/default/pc/getNovelCatalog.html index d15a5b1..e07b1fe 100644 --- a/code/app/home/view/default/pc/getNovelCatalog.html +++ b/code/app/home/view/default/pc/getNovelCatalog.html @@ -220,15 +220,17 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene {/block} diff --git a/code/app/home/view/default/pc/getNovelChapter.html b/code/app/home/view/default/pc/getNovelChapter.html index 10cfecf..bab0e0d 100644 --- a/code/app/home/view/default/pc/getNovelChapter.html +++ b/code/app/home/view/default/pc/getNovelChapter.html @@ -187,6 +187,22 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} + {/block} {block name="customize"} diff --git a/code/app/home/view/default/pc/getNovelInfo.html b/code/app/home/view/default/pc/getNovelInfo.html index a06aa1b..f49f3e3 100644 --- a/code/app/home/view/default/pc/getNovelInfo.html +++ b/code/app/home/view/default/pc/getNovelInfo.html @@ -216,15 +216,17 @@ {/block} diff --git a/code/app/home/view/haoZi/baseH5.html b/code/app/home/view/haoZi/baseH5.html index f39c05d..4315bed 100644 --- a/code/app/home/view/haoZi/baseH5.html +++ b/code/app/home/view/haoZi/baseH5.html @@ -47,9 +47,9 @@
  • 分类
  • 足迹
  • - {block name="main"} {/block} diff --git a/code/app/home/view/haoZi/basePc.html b/code/app/home/view/haoZi/basePc.html index aba10f7..11df4b6 100644 --- a/code/app/home/view/haoZi/basePc.html +++ b/code/app/home/view/haoZi/basePc.html @@ -10,7 +10,8 @@ - + + {block name="head"}{/block} @@ -23,63 +24,70 @@ {block name="strPageCode"} - + {/block} - - -
    -
    - {block name="logo-html"}{/block} - -
    - - + + - +
    + + + +
    +
    + + + {block name="main"} {/block} + + + {block name="customize-footer-after"}{/block} {include file="pc/public/footer" /} @@ -87,20 +95,19 @@ {block name="customize"}{/block} + const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`; + - - + {block name="footer-js"}{/block} {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} - + {$DomainModel->d_statis|raw} diff --git a/code/app/home/view/haoZi/novel/getNovelCatalog.html b/code/app/home/view/haoZi/novel/getNovelCatalog.html index 5752a4f..c0e437c 100644 --- a/code/app/home/view/haoZi/novel/getNovelCatalog.html +++ b/code/app/home/view/haoZi/novel/getNovelCatalog.html @@ -2,6 +2,9 @@ {block name="get-data"} {novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /} +{chapter:pagerexp page="$Request.route.intPage" limit="100" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter" +cache_life="86400" button_num="5" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /} + {site:grm page_code="h5_novel_catalog " diff="$Request.url" num="120" g_key="arrGrm" /} {/block} @@ -99,68 +102,141 @@ {block name="main"} -{chapter:pagerexp page="$Request.route.intPage" limit="100" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter" -cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /} - -
    - - - -
    - {$arrGrm[0]|raw} -
    -

    {$arrNovel['n_name']}章节目录 - {$arrNovel['n_author']} - {$DomainModel->d_name} 第{$Request.route.intPage}页

    -
    - - -
    - - {include file="public/allChapterPage" start="0"/} - -
      - {volist name="resData.data" id="Chapter" key="key"} -
    • - {$arrGrm[$key]|raw} - {$Chapter.c_name} -
    • - {/volist} -
    - - - {include file="public/allChapterPage" /} -
    -
    -
    -
    - +

    {$arrNovel['n_name']}最新章节目录 - {$arrNovel['n_author']} - {$DomainModel->d_name}

    + +
    + {$arrNovel['n_name'] ?? ''}小说封面 - {$arrNovel.n_author}最新章节 +

    + {$arrNovel.n_name} +

    +

    + + {$arrNovel.n_author} +

    +

    + {$arrNovel.n_category} + {$arrNovel.n_status} +

    +

    + 最新章节:{$arrNovel.arrLatestChapter.c_name ?? ""} +

    +

    最后更新:{$arrNovel.n_update_time}

    + +
    +
    {$arrNovel.n_name} 章节列表(第2页)
    + + + {include file="public/allChapterPage" start="1"/} + +
      + {foreach $resData.data as $key=>$Chapter} +
    • + {$arrGrm[$key]|raw} + {$Chapter.c_name} +
    • + + {/foreach} +
    + {include file="public/allChapterPage" start="1"/} +
    +
    +
    + 书友点击: + {volist name='$arrNovel.arrRelateveNovel' id='Novel'} + {$Novel.n_name}    + {/volist} + +
    +
    +
    +
    + 书友推荐: + {volist name='arrNovel.n_forge_novel' id='ForgeNovel'} + {$ForgeNovel.n_forge_title}   + {/volist} +
    +
    +
    +
    + 书友收藏: + {novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {$Novel.n_name}   + {/novel:list} +
    +
    + + + +{/block} + +{block name="customize"} {/block} +{block name="footer-js"} + +{/block} diff --git a/code/app/home/view/haoZi/novel/getNovelChapter.html b/code/app/home/view/haoZi/novel/getNovelChapter.html index 8059e84..8d3fa3a 100644 --- a/code/app/home/view/haoZi/novel/getNovelChapter.html +++ b/code/app/home/view/haoZi/novel/getNovelChapter.html @@ -1,403 +1,209 @@ - - +{extend name="baseH5" /} - - {site:grm page_code="h5_novel_chapter" diff="$Request.url" num="20" g_key="arrGrm" /} +{block name="get-data"} +{site:grm page_code="h5_novel_chapter" diff="$Request.url" num="20" g_key="arrGrm" /} {novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /} {chapter:info n_id="$Request.route.intNovelId" c_sort_num="$Request.route.intChapterSort" c_page="$Request.route.intChapterPage" c_key="arrChapter" /} +{/block} - - - - - - - - - {site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"} - +{block name="title"}{site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELCHAPTER@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}{/block} - - - - - +{block name="head"} - - - - - - - - - - - - - - - - - - - - - - - - + } + +{/block} - - {$arrGrm[0]|raw} - - {$arrGrm[1]|raw} -
    - -
    - -

    下拉阅读上一章

    -
    - {$arrGrm[2]|raw} -
    - {if $arrChapter.c_sort_num == 1 } - {$arrGrm[3]|raw} - 上一章 - {elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']} - {$arrGrm[4]|raw} - 上一章 - {/if} - - {if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num} - 下一章 - {/if} - -
    -
    -
    - - -
    -
    - {$arrGrm[5]|raw} -
    - {if $arrChapter.c_sort_num == 1} - 上一章 - {elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']} - 上一章 - {/if} - - {if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num} - 下一章 - {/if} +{block name="body-class"}jjdfjkozd{/block} +{block name="body-id"}kkasdfei{/block} - -
    +{block name="logo-html"} +

    + {$DomainModel->d_name} +

    +{/block} + +{block name="nav-html"} + + +{/block} + +{block name="main"} + +

    + {$arrNovel['n_name']}最新章节 - {$arrChapter.c_name ?? ''} +

    +

    {$arrChapter.c_name ?? ''}

    +
    + {if $arrChapter.c_sort_num == 1} + 上一页 + {elseif $arrChapter['pre_chapter'] && $arrChapter['pre_chapter']['c_sort_num']} + 上页 + + {/if} + + 目录 + 存书签 + {if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num} + 下页 + + {/if} + +
    +
    + {$arrGrm[3]|raw} + + {$arrGrm[4]|raw} +
    + + + +
    +
    + 书友点击: + {volist name='$arrNovel.arrRelateveNovel' id='Novel'} + {$Novel.n_name}    + {/volist} - - - 你刚刚阅读到这里 -

    1/1

    - {$arrGrm[6]|raw} -
    -
    - - - 返回 - - -
    - - -
    -
    - 加入书架 - -
    - -
    - -
    -
    -
    - -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    - {$arrGrm[8]|raw} - +
    +
    +
    + 书友推荐: + {volist name='arrNovel.n_forge_novel' id='ForgeNovel'} + {$ForgeNovel.n_forge_title}   + {/volist}
    - {$arrGrm[7]|raw} - +
    +
    +
    + 书友收藏: + {novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {$Novel.n_name}   + {/novel:list} +
    +
    - - - - - - - - + +{/block} - {block name="footer-js"} - - {/block} +{block name="customize"} - {$arrGrm[10]|raw} - - \ No newline at end of file +{/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/novel/getNovelInfo.html b/code/app/home/view/haoZi/novel/getNovelInfo.html index 9e33315..e84a00b 100644 --- a/code/app/home/view/haoZi/novel/getNovelInfo.html +++ b/code/app/home/view/haoZi/novel/getNovelInfo.html @@ -103,158 +103,129 @@ {/block} {block name="main"} -
    - - +

    {$arrNovel['n_name']}最新章节 - {$arrNovel['n_author']} - {$DomainModel->d_name}

    + - -
    - {$arrGrm[0]|raw} -
    -
    -
    - {$arrNovel['n_name'] ?? ''}小说封面 - {$arrNovel.n_author}最新章节 - - 已完结 -
    -
    -

    {$arrNovel['n_name']}

    -

    - 分类:{$arrNovel.n_category} - 作者:{$arrNovel.n_author} - - 阅读:{$arrNovel.arrNovelClicks.total} -

    -
    -
    - {$arrGrm[1]|raw} -
    - -
    -
    - {$arrGrm[3]|raw} -
    -

    - {$arrNovel.n_description ?? ''} -

    -
    -
    -
    +
    + {$arrNovel['n_name'] ?? ''}小说封面 - {$arrNovel.n_author}最新章节 +

    + {$arrNovel.n_name} +

    +

    + + {$arrNovel.n_author} +

    +

    + {$arrNovel.n_category} + {$arrNovel.n_status} +

    +

    + 最新章节:{$arrNovel.arrLatestChapter.c_name ?? ""} +

    +

    最后更新:{$arrNovel.n_update_time}

    +
    + +
    +
    {$arrNovel.n_name}小说简介
    +
    +

    {$arrNovel.n_description ?? ''} +

    - - -
    -
    -
    -

    最新要点

    -
    - {$arrGrm[4]|raw} -
    -
    -

    - {$arrNovel.strFocus} -

    -

    相邻推荐: - {volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"} - {if $key < 100} - {$arrGrm[$key+20]|raw} - {/if} - {$ForgeNovel.n_forge_title} - {/volist} -

    -
    -
    - - -
    -
    - - -
    -
    -

    {$arrNovel.n_name}最新章节

    -
    -
    -
      - {chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"} -
    • - {if $key < 100} - {$arrGrm[$key+20]|raw} - {/if} - {$Chapter.c_name} -
    • - {/chapter:list} - -
    - -
    -
    - -
    -
    -

    同类作品

    -
    -
    - -
    +
    +
    +
    {$arrNovel.n_name}最新内容
    +
    +

    {$arrNovel.strFocus ?? ""} 。看小说就来{$DomainModel->d_name} {$DomainModel->d_domain}... +

    +
    +
    {$arrNovel.n_name} 最新章节
    +
      + {chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"} +
    • + {$arrGrm[$d_key]|raw} + {$Chapter.c_name} +
    • + {/chapter:list} + +
    +
    {$arrNovel.n_name} 章节列表(第1页/100章)
    +
      + {chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" + cache_life="86400"} +
    • + {$arrGrm[$d_key+10]|raw} + {$Chapter.c_name} +
    • + {/chapter:list} +
    +
    +
    +
    + 书友点击: + {volist name='$arrNovel.arrRelateveNovel' id='Novel'} + {$Novel.n_name}    + {/volist} + +
    +
    +
    +
    + 书友推荐: + {volist name='arrNovel.n_forge_novel' id='ForgeNovel'} + {$ForgeNovel.n_forge_title}   + {/volist} +
    +
    +
    +
    + 书友收藏: + {novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {$Novel.n_name}   + {/novel:list} +
    +
    - - + } + - +{/block} - - {$arrGrm[0]|raw} -
    -
    -
    -
    - - -
    - {$arrGrm[1]|raw} - -
    -
    -
    - 首页 - - {if $arrNovel.n_category_sex_en && $arrNovel.n_category_sex_en == 'man'} - {$arrGrm[15]|raw} - - 男生 - - {$arrGrm[14]|raw} - - {$arrNovel.n_category} - {else} - 女生 - - {$arrGrm[13]|raw} - {$arrNovel.n_category} - {/if} - - {$arrGrm[12]|raw} - +{/block} + +{block name="head-js"} + +{/block} + +{block name="body-class"}novel_info{/block} +{block name='nav-active-class'}home{/block} + +{block name="main"} + +
    +
    +
    + {$DomainModel->d_name} + >{$arrNovel.n_name} + >{$arrChapter['c_name']}
    -
    -
    -
    -
    -
    -

    - - {$arrNovel.n_name} - - {$arrChapter.c_name} -

    -
    -
    - {$arrGrm[11]|raw} - - {$arrNovel.n_name} - {$arrNovel.n_author} - 2000 - {$arrChapter.created_at ?? - ''} -
    -
    -
    -
    - {if $arrChapter && $arrChapter.c_content} - - {/if} -
    -
    -
    - -
    - -
    - {if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1} - 上一章 - {else} - {$arrGrm[10]|raw} - 上一章 +
    +

    {$arrChapter['c_name']} + {if $Request.route.intChapterPage > 0} + (第{$Request.route.intChapterPage}页) {/if} - | +

    + +
    + {if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1} + 上一页 + {/if} + + {if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num} + {$arrGrm[10]|raw} + 上一页 + {/if} + + 章节目录 + + 加入书架 + {if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num} {$arrGrm[9]|raw} - 下一章 + 下一页 {/if}
    + +
    +
    + 书友点击: + {volist name='$arrNovel.arrRelateveNovel' id='Novel'} + {$Novel.n_name}    + {/volist} + +
    +
    + {$arrGrm[3]|raw} + + {$arrGrm[4]|raw} +
    +
    + {if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1} + 上一页 + {/if} + + {if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num} + {$arrGrm[10]|raw} + 上一页 + {/if} + 章节目录 + + 加入书架 + {if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num} + {$arrGrm[9]|raw} + 下一页 + {/if}
    -
    -
    -
    -
    - {$arrGrm[8]|raw} - - 目录 - -
    -
    - - 设置 - -
    -
    - {$arrGrm[7]|raw} - - 书架 - -
    -
    - {$arrGrm[6]|raw} - - 详情 - -
    -
    - {$arrGrm[5]|raw} - - -
    - -
    -
    -
    - +{block name="customize"} -
    -
    -
    - {$arrGrm[2]|raw} - - - - - - - - - - {$arrGrm[19]|raw} - - - \ No newline at end of file +{/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/getNovelInfo.html b/code/app/home/view/haoZi/pc/getNovelInfo.html index 140093d..2c3b879 100644 --- a/code/app/home/view/haoZi/pc/getNovelInfo.html +++ b/code/app/home/view/haoZi/pc/getNovelInfo.html @@ -6,7 +6,7 @@ {else} {novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /} {/if} -{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /} +{site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /} {/block} {block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intNovelId" /}{/block} @@ -18,7 +18,8 @@ - + @@ -37,7 +38,8 @@ - + diff --git a/code/app/home/view/haoZi/user/getHistory.html b/code/app/home/view/haoZi/user/getHistory.html index ae22b0e..eadca69 100644 --- a/code/app/home/view/haoZi/user/getHistory.html +++ b/code/app/home/view/haoZi/user/getHistory.html @@ -1,4 +1,4 @@ -{extend name="baseH5User" /} +{extend name="baseH5" /} {block name="title"}我的阅读记录{/block} {block name="keywords"}我的阅读记录{/block} {block name="description"}我的阅读记录{/block} @@ -26,26 +26,18 @@ {site:grm page_code="h5_history" diff="0" num="10" g_key="arrGrm" /} {$arrGrm[0]|raw} -
    + +
    +
    《阅读记录》最多显示100条,请收藏至书架
    {$arrGrm[1]|raw} -
    - - 管理 -
    - {$arrGrm[2]|raw} -
    -
    -
      - -
    -
    - {$arrGrm[3]|raw} -
    -
    -
    - {$arrGrm[4]|raw} +
      +
    • 您还木有阅读本站小说,未产生阅读记录。
    • +
    + {$arrGrm[3]|raw}
    + + {/block} diff --git a/code/app/home/view/kuangYu/novel/getNovelChapter.html b/code/app/home/view/kuangYu/novel/getNovelChapter.html index 8059e84..551dedb 100644 --- a/code/app/home/view/kuangYu/novel/getNovelChapter.html +++ b/code/app/home/view/kuangYu/novel/getNovelChapter.html @@ -349,8 +349,11 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} 'n_name' : `{$arrNovel['n_name']}`, 'n_author' : `{$arrNovel['n_author']}`, 'n_status' : `{$arrNovel['n_status']}`, - 'c_sort_num' : `{$arrChapter.c_sort_num}`, - 'c_name' : `{$arrChapter.c_name}`, + 'n_description' : `{$arrNovel['n_description']}`, + 'n_latest_chapter_name' : `{$arrNovel['n_latest_chapter_name']}`, + 'n_update_time' : `{$arrNovel['n_update_time']}`, + 'c_sort_num' : 1, + 'c_name' : `第一章`, }; {/block} {block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/kuangYu/pc/getNovelChapter.html b/code/app/home/view/kuangYu/pc/getNovelChapter.html index 27c0a3d..e3366bb 100644 --- a/code/app/home/view/kuangYu/pc/getNovelChapter.html +++ b/code/app/home/view/kuangYu/pc/getNovelChapter.html @@ -386,8 +386,11 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} 'n_name' : `{$arrNovel['n_name']}`, 'n_author' : `{$arrNovel['n_author']}`, 'n_status' : `{$arrNovel['n_status']}`, - 'c_sort_num' : `{$arrChapter.c_sort_num}`, - 'c_name' : `{$arrChapter.c_name}`, + 'n_description' : `{$arrNovel['n_description']}`, + 'n_latest_chapter_name' : `{$arrNovel['n_latest_chapter_name']}`, + 'n_update_time' : `{$arrNovel['n_update_time']}`, + 'c_sort_num' : 1, + 'c_name' : `第一章`, }; diff --git a/code/app/home/view/shikong/novel/getNovelCatalog.html b/code/app/home/view/shikong/novel/getNovelCatalog.html index a88198b..31b5b33 100644 --- a/code/app/home/view/shikong/novel/getNovelCatalog.html +++ b/code/app/home/view/shikong/novel/getNovelCatalog.html @@ -200,15 +200,17 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene {/block} diff --git a/code/app/home/view/shikong/novel/getNovelInfo.html b/code/app/home/view/shikong/novel/getNovelInfo.html index 28aec51..77401cd 100644 --- a/code/app/home/view/shikong/novel/getNovelInfo.html +++ b/code/app/home/view/shikong/novel/getNovelInfo.html @@ -250,20 +250,20 @@ $Novel.n_id{extend name="baseH5" /}
    - - {/block} diff --git a/code/app/services/NovelService.php b/code/app/services/NovelService.php index d121546..2e25acc 100644 --- a/code/app/services/NovelService.php +++ b/code/app/services/NovelService.php @@ -135,7 +135,7 @@ class NovelService * @param integer $intPage * @return string */ - public function getNovelCategoryUrl(string $strGender, string $strCategory, string $strStatus, string $strOrder, int|string $intPage): string + public function getNovelCategoryUrl(string|NULL $strGender, string|NULL $strCategory, string|NULL $strStatus, string|NULL $strOrder, int|string|NULL $intPage): string { $strKey = 'CATEGORY_INFO_URL'; $strUrl = $this->SiteContext->DomainModel->getFomartUrl($strKey, [ diff --git a/code/public/template/haozi/book_m/css/common.css b/code/public/template/haozi/book_m/css/common.css index b91c339..dab6d25 100644 --- a/code/public/template/haozi/book_m/css/common.css +++ b/code/public/template/haozi/book_m/css/common.css @@ -27,7 +27,7 @@ body,html{margin:0;padding:0;width:100%;height:100%;background-color:#efefef} .header{top:0;right:0;left:0;z-index:9999;padding:0 5px;height:45px;background-color:darkcyan;text-align:center;} .header i{float:right;display:block;width:45px;height:45px;color:#fff;font-size:25px;line-height:48px} .header i.i_back{float:left} -.header a{display:inline-block} +.header a{display:inline-block;font-size: 1rem;} .header a.logo , .header h1.logo, .header h2.logo{float:left;height:45px;color:#fff;font-weight:600;font-size:20px;line-height:46px} .header a.logo a , .header h1.logo a, .header h2.logo a{color:#fff;} .header h1,.header p{overflow:hidden;height:45px;color:#fff;font-size:18px;line-height:46px} @@ -240,10 +240,10 @@ div.menu a+a{border-top:1px solid #ddd} .help-center{top:30%;right:35%;bottom:30%;left:35%;border:2px dashed #fff} .new{margin-top:5px;border-top:1px solid #e5e5e5;color:#666} .new a{color:#0067c8;} -.tui{margin:8px 0;border:1px solid;border-color:#fff #efefef #d3d3d3 #efefef;box-shadow:0 1px 1px #efefef} +.tui{margin:8px 0;border:1px solid;border-color:#fff #efefef #d3d3d3 #efefef;box-shadow:0 1px 1px #efefef;padding: 0 0.5rem;} .tui strong{margin-right:2px;padding:3px;background:#333;color:#fff;font-weight:400;font-size:10.5px} .lasttop,.listtop,.newtop,.quantop,.readtop{overflow:hidden;margin:1px;box-shadow:0 1px 1px #efefef} -.lasttop a,.listtop a,.newtop a,.quantop a,.readtop a{margin:0 3px;color:#101010;font-size:9.5px} +.lasttop a,.listtop a,.newtop a,.quantop a,.readtop a{margin:0 3px;color:#333;font-size:0.8rem;line-height: 1.5rem;} #navdown,#navup{clear:both;display:block;overflow:hidden;margin:0 auto;max-height:120px;text-align:center;word-wrap:break-word} #navcon{clear:both;display:block;overflow:hidden;margin:10px 0 5px 0;max-height:120px;text-align:center;word-wrap:break-word} .reg{float:right;padding-right:10px;font-size:16px;color:#fff} diff --git a/code/public/template/haozi/book_pc/css/common.css b/code/public/template/haozi/book_pc/css/common.css index 119c9f5..f479faa 100644 --- a/code/public/template/haozi/book_pc/css/common.css +++ b/code/public/template/haozi/book_pc/css/common.css @@ -4,7 +4,7 @@ ul li{list-style:none outside none} a{color:darkcyan;text-decoration:none} a:hover{text-decoration:underline;top:-1px} .clear{clear:both} -#fmimg span,.frii .int,.header_logo,.reader_mark0 a,.reader_mark1 a,.ywtop_addfavorite,.ywtop_sethome{background:url(/qs_theme/book_pc/css/all.gif) no-repeat scroll 0 0 transparent} +#fmimg span,.frii .int,.header_logo,.reader_mark0 a,.reader_mark1 a,.ywtop_addfavorite,.ywtop_sethome{ } .ywtop{overflow: hidden;background-color: #FFF;border-bottom: 1px solid darkcyan;} .ywtop_con{height:38px;background-color:#e43770} @@ -46,7 +46,7 @@ a:hover{text-decoration:underline;top:-1px} #xx_search{overflow:hidden;width:525px;margin:auto} #xx_search input.search{font:16px/22px arial;height:24px;margin-right:5px;width:390px;padding:3px} #xx_search button{background:none repeat scroll 0 0 #ddd;cursor:pointer;font-size:14px;height:32px;width:95px} -.userpanel{border:1px dotted darkcyan;color:#9e9e9e;float:right;margin-right:5px;margin-top:3px;text-align:center;width:220px;padding:5px 3px} +.userpanel{border:1px dotted darkcyan;color:#9e9e9e;float:right;margin-right:5px;margin-top:18px;text-align:center;width:220px;padding:5px 3px} .userpanel a{padding:0 5px;color:darkcyan;line-height:200%} .nav{background:none repeat scroll 0 0 darkcyan;border-bottom: 3px solid darkcyan;height:40px;overflow:hidden;width:980px;margin:10px auto auto;overflow:hidden} .nav ul li{float:left;line-height:44px} @@ -62,7 +62,7 @@ table.grid td{background-color:#fff!important;padding:4px} .girls,.girls a{color:#a12f2f;} #hotcontent{padding-top:10px} #hotcontent .l,#hotcontent .r,.novelslist,.novelslist2,#newscontent .l,#newscontent .l,#newscontent .r,.novelslist h2{background:#fcfcfc;} -#hotcontent .l{float:left;height:330px;overflow:hidden;width:695px;padding:0 0 10px} +#hotcontent .l{float:left;overflow:hidden;width:695px;padding:0 0 10px} #hotcontent .l .item{float:left;width:335px;padding:10px 0 0 10px} #hotcontent .l .item dl dt{border-bottom:1px dotted #ddd;font-size:14px;font-weight:700;height:25px;line-height:25px;overflow:hidden} #hotcontent .l .item dl dt span{color:#b3b3b3;float:right;font-weight:400} @@ -70,7 +70,7 @@ table.grid td{background-color:#fff!important;padding:4px} #hotcontent .l .item dl{float:right;width:190px;padding:0 5px 0 0} #hotcontent .l .item .image{float:left;width:120px} #hotcontent .l .item .image img{background-color:#fff;border:1px solid #ddd;padding:1px} -#hotcontent .ll{margin:0 0 10px;padding:5px;float:left;width:964px;height:320px;overflow:hidden} +#hotcontent .ll{margin:0 0 10px;padding:5px;float:left;width:964px;overflow:hidden} #hotcontent .ll .item{width:315px;float:left;padding:5px 0 0 5px} #hotcontent .ll .item .image{float:left;width:120px} #hotcontent .ll .item .image img{border:solid 1px #ddd;padding:1px;background-color:#fff} diff --git a/code/public/template/haozi/public/js/common.js b/code/public/template/haozi/public/js/common.js index 4f9b116..d8697d3 100644 --- a/code/public/template/haozi/public/js/common.js +++ b/code/public/template/haozi/public/js/common.js @@ -201,19 +201,25 @@ function displayShujia() { let strSearchUrl = formatSearchUrl(book.n_author, 1) if (isMobile()) { bookElement.innerHTML = ` -
    -
    - - - -
    -
    -

    ${book.n_name}

    -

    作者: ${book.n_author}

    -

    ${book.c_name}

    -
    -
    - +
  • + + + +

    + ${book.n_name} +

    +

    + ${book.n_author} +

    +

    + ${book.n_description}

    +

    + 最新:${book.n_latest_chapter_name} +

    +
  • + + `; } else { @@ -292,18 +298,23 @@ function displayHistory() { let strSearchUrl = formatSearchUrl(book.n_author, 1) if (isMobile()) { bookElement.innerHTML = ` -
    -
    - - - -
    -
    -

    ${book.n_name}

    -

    作者: ${book.n_author}

    -

    ${book.c_name}

    -
    -
    +
  • + + + +

    + ${book.n_name} +

    +

    + ${book.n_author} +

    +

    + ${book.n_description}

    +

    + 最新:${book.n_latest_chapter_name} +

    +
  • `;