diff --git a/code/app/home/view/haoZi/baseH5.html b/code/app/home/view/haoZi/baseH5.html new file mode 100644 index 0000000..f39c05d --- /dev/null +++ b/code/app/home/view/haoZi/baseH5.html @@ -0,0 +1,80 @@ + + + + + {block name="get-data"}{/block} + + + + + + + + {block name="title"}{/block} + + + + + + + + + + {block name="head"}{/block} + {block name="head-css"}{/block} + {block name="head-js"}{/block} + + + + +
+
+
+
+ +
+
+

+ {$DomainModel->d_name}-{$DomainModel->d_text_logo} +

+
+ + + + {block name="main"} {/block} +
+ + {include file="public/footer" /} + + {block name="customize"}{/block} + + + + + + + + {block name="footer-js"}{/block} + + + {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} + + + {$DomainModel->d_statis|raw} + + + + \ No newline at end of file diff --git a/code/app/home/view/haoZi/baseH5User.html b/code/app/home/view/haoZi/baseH5User.html new file mode 100644 index 0000000..e00a742 --- /dev/null +++ b/code/app/home/view/haoZi/baseH5User.html @@ -0,0 +1,67 @@ + + + + {block name="get-data"}{/block} + + + + + + + + {$strTitle??''} + + + + {block name="head"}{/block} + {block name="head-css"}{/block} + {block name="head-js"}{/block} + + + + +
+
+ + {block name="main"} {/block} + +
+ + + + + + {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} + + + {$DomainModel->d_statis|raw} + + + \ No newline at end of file diff --git a/code/app/home/view/haoZi/basePc.html b/code/app/home/view/haoZi/basePc.html new file mode 100644 index 0000000..aba10f7 --- /dev/null +++ b/code/app/home/view/haoZi/basePc.html @@ -0,0 +1,109 @@ + + + + + {block name="get-data"}{/block} + + + + {block name="title"}{/block} + + + + + + + {block name="head"}{/block} + {block name="head-css"}{/block} + {block name="head-js"}{/block} + + + + +{block name="strPageCode"} + +{/block} + + + + +
+
+ {block name="logo-html"}{/block} + +
+ + +
+
+
+ + + {block name="main"} {/block} + + {block name="customize-footer-after"}{/block} + + {include file="pc/public/footer" /} + + {block name="customize"}{/block} + + + + + + + + + + {block name="footer-js"}{/block} + + + {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} + + + {$DomainModel->d_statis|raw} + + + + \ No newline at end of file diff --git a/code/app/home/view/haoZi/basePcUser.html b/code/app/home/view/haoZi/basePcUser.html new file mode 100644 index 0000000..0caa451 --- /dev/null +++ b/code/app/home/view/haoZi/basePcUser.html @@ -0,0 +1,145 @@ + + + + {block name="get-data"}{/block} + + + + + + {$strTitle??''} + + + + {block name="head"}{/block} + {block name="head-css"}{/block} + {block name="head-js"}{/block} + + + + +
+
+ + + +
+
+
+ +
+
+
+ +
+
123456
+
+
    +
  • + + 经验:0 +
  • +
  • + + 积分:0 +
  • +
  • + + + 推荐票:0 +
  • +
+
+
+

+ + 关注中心 +

+ +

+ + 设置 +

+ +
+ + {block name="main"} {/block} +
+ + + + + + + + {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} + + + {$DomainModel->d_statis|raw} + + + \ No newline at end of file diff --git a/code/app/home/view/haoZi/index/index.html b/code/app/home/view/haoZi/index/index.html new file mode 100644 index 0000000..69aee72 --- /dev/null +++ b/code/app/home/view/haoZi/index/index.html @@ -0,0 +1,97 @@ +{extend name="baseH5" /} +{block name="get-data"} +{site:grm page_code="h5_index" diff="0" num="60" g_key="arrGrm" /} +{/block} +{block name="title"}{site:replace code="INDEX@INDEX@TITLE"}{/block} +{block name="keywords"}{site:replace code="INDEX@INDEX@KEYWORDS"}{/block} +{block name="description"}{site:replace code="INDEX@INDEX@DESCRIPTION"}{/block} +{block name="head"} + + + + + + + + +{/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

+ {$DomainModel->d_name}-{$DomainModel->d_text_logo} +

+{/block} + +{block name="main"} + +

{$DomainModel->d_index_description}

+ +
+

人气推荐

+ +
+
+

今日点击

+ {novel:ranklist count="1" sort_type="daily" d_key="key" d_val="Novel" cache_life="86400"} + {include file="public/topNovelList" start="9"/} + {/novel:ranklist} + + + +
+
+

书友推荐

+ {novel:list count="1" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"} + {include file="public/topNovelList" start="9"/} + {/novel:list} + +
+
+

最近入库

+ +
+
+

最近更新

+ +
+ + + +{/block} {block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/novel/getLibrary.html b/code/app/home/view/haoZi/novel/getLibrary.html index e212056..41e46af 100644 --- a/code/app/home/view/haoZi/novel/getLibrary.html +++ b/code/app/home/view/haoZi/novel/getLibrary.html @@ -6,7 +6,7 @@ n_category="$Request.route.strCategory" n_sex="$Request.route.strGender" n_status="$Request.route.strStatus" d_key="d_key" -button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /} +button_num="5" cache_life="86400" func="generateCategoryPager" export_name="resData" /} {site:grm page_code="pc_novel_library" diff="$resData.p_data.page" num="70" g_key="arrGrm" /} {/block} @@ -73,11 +73,21 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res {/block} {block name="main"} - - - -

{site:replace code="NOVEL@GETLIBRARY@DESCRIPTION"}

+ + + - -
-
- -
-
-
    - -
  • - 全部 -
  • - {if $Request.route.strGender == "all" || $Request.route.strGender == ""} - {novel:category d_key="strCategoryPinyin" d_val="strCategoryName"} -
  • - {$strCategoryName} -
  • - {/novel:category} - {/if} - - {eq name="$Request.route.strGender" value="$strNanUrl"} - {novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="man"} -
  • - {$strCategoryName} -
  • - {/novel:category} - {/eq} - - {eq name="$Request.route.strGender" value="$strNvUrl"} - {novel:category d_key="strCategoryPinyin" d_val="strCategoryName" n_sex="women"} -
  • - {$strCategoryName} -
  • - {/novel:category} - {/eq} - - -
-
-
- -
-
-
-
-
    - {volist name="$resData.data" id="Novel" key="key"} +
      + {volist name="$resData.data" id="Novel" key="key"} {include file="public/novelListH" start="0"/} - {/volist} -
    -
+ {/volist} + -
-
    - {volist name="$resData.p_data.pager" id="vo" key="k"} - {switch $vo.label} - {case value="上一页"} - {if $resData.p_data.page == 1} -
  • «
  • - {else} -
  • «
  • +
    + {volist name="$resData.p_data.pager" id="vo" key="k"} + {switch $vo.label} + {case value="上一页"} + {if $resData.p_data.page == 1} + « + {else} + « + {/if} + {/case} + {case value="下一页"} + {if $resData.p_data.page >= $resData.p_data.total} + » + {else} + » + {/if} + {/case} + {default /} + {if preg_match('/^\d+$/', $vo.label)} + {$vo.label} {/if} - {/case} - {case value="下一页"} - {if $resData.p_data.page >= $resData.p_data.total} -
  • »
  • - {else} -
  • »
  • - {/if} - {/case} - {/switch} - {/volist} -
-
+ {/switch} + {/volist} +
- -
+ {/block} {block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/novel/getNovelChapter.html b/code/app/home/view/haoZi/novel/getNovelChapter.html new file mode 100644 index 0000000..8059e84 --- /dev/null +++ b/code/app/home/view/haoZi/novel/getNovelChapter.html @@ -0,0 +1,403 @@ + + + + + {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" /} + + + + + + + + + + {site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {$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} + + + +
+ +
+
+ +

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

+
+ 你刚刚阅读到这里 +

1/1

+
+ {$arrGrm[6]|raw} +
+
+ + + 返回 + + +
+ + +
+
+ 加入书架 +
+ + +

返回首页

+
+ + + + 书籍详情 + + + + 返回我的书架 + +
+
+ +
+ +
+
+
+ +
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
+
+
+ {$arrGrm[8]|raw} + +
+ {$arrGrm[7]|raw} + + + + + + + + + + + + + {block name="footer-js"} + + {/block} + + {$arrGrm[10]|raw} + + + \ 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 new file mode 100644 index 0000000..9e33315 --- /dev/null +++ b/code/app/home/view/haoZi/novel/getNovelInfo.html @@ -0,0 +1,282 @@ +{extend name="baseH5" /} + +{block name="get-data"} +{if $Request.route.intNovelId} +{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /} +{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" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intNovelId" /}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS" diff="$Request.route.intNovelId"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}{/block} + +{block name="head"} + + + + + + + + + + + + + + + + + + + + + + + + + + +{/block} + +{block name="head-js"}{/block} + +{block name="logo-html"} + +{/block} + +{block name="main"} +
+ + + + +
+ {$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 ?? ''} +

+
+
+
+
+ + +
+
+
+

最新要点

+
+ {$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} + +
+ +
+
+ +
+
+

同类作品

+
+
+ +
+
+
+ + + +{/block} + +{block name="customize"} + + +{/block} + +{block name="footer-js"} + +{/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/novel/getNovelRank.html b/code/app/home/view/haoZi/novel/getNovelRank.html new file mode 100644 index 0000000..e6f9112 --- /dev/null +++ b/code/app/home/view/haoZi/novel/getNovelRank.html @@ -0,0 +1,85 @@ +{extend name="baseH5" /} + +{block name="get-data"} + +{site:helper func="initSexTKD" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETNOVELRANK@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELRANK@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + +{/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

+ {$DomainModel->d_name}--排行榜最新免费阅读 +

+{/block} + +{block name="strPageCode"} + +{/block} + + +{block name="main"} + + {site:grm page_code="h5_rank" diff="0" num="100" g_key="arrGrm" /} + +

{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}

+ + + + + + + + + +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/novel/getSearchNovel.html b/code/app/home/view/haoZi/novel/getSearchNovel.html new file mode 100644 index 0000000..0f81602 --- /dev/null +++ b/code/app/home/view/haoZi/novel/getSearchNovel.html @@ -0,0 +1,105 @@ +{extend name="baseH5" /} + +{block name="title"}{site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETSEARCHNOVEL@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETSEARCHNOVEL@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + + + + + + + +{/block} + +{block name="head-js"}{/block} + +{block name="logo-html"} +

+ {$DomainModel->d_name}-{$DomainModel->d_text_logo} +

+{/block} + +{block name="main"} + +{novel:pagerexp page="$Request.get.page" limit="30" +key="$Request.get.keyword" +d_key="d_key" +d_val="Novel" +p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /} + +{site:grm page_code="h5_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /} + +
+ +
+{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/getNovelChapter.html b/code/app/home/view/haoZi/pc/getNovelChapter.html new file mode 100644 index 0000000..27c0a3d --- /dev/null +++ b/code/app/home/view/haoZi/pc/getNovelChapter.html @@ -0,0 +1,423 @@ + + + + {site:grm page_code="pc_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" /} + + + + + + + {site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"} + + + + {block name="head-css"} + + {/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} + {$arrNovel.n_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} + 上一章 + {/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} + + + +
+
+
+ + +
+
+
+ {$arrGrm[2]|raw} + + + + + + + + + + {$arrGrm[19]|raw} + + + \ 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 new file mode 100644 index 0000000..140093d --- /dev/null +++ b/code/app/home/view/haoZi/pc/getNovelInfo.html @@ -0,0 +1,295 @@ +{extend name="basePc" /} + +{block name="get-data"} +{if $Request.route.intNovelId} +{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /} +{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" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intNovelId" /}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS" diff="$Request.route.intNovelId"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}{/block} + + +{block name="head"} + + + + + + + + + + + + + + + + + + + + + + + + +{/block} + +{block name="head-css"} + +{/block} + +{block name="logo-html"} +

+ + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

+{/block} + +{block name="strPageCode"} + +{/block} + +{block name="main"} + +
+ + +
+
+ +
+ +

+ 作者:{$arrNovel.n_author} + 创建日期:{$arrNovel.n_update_time} +

+
+

简介

+
+

+ {$arrNovel.n_description ?? ''}

+ 展开 + +
+
+
+

最新要点

+
+

+ {$arrNovel.strFocus}

+ 展开 + +
+
+ + +
+
+
+
+

小说信息

+

类别: + + {$arrNovel.n_category} + +

+ +

总点击量:{$arrNovel.arrNovelClicks.total}

+

月点击量:{$arrNovel.arrNovelClicks.monthly}

+

周点击量:{$arrNovel.arrNovelClicks.weekly}

+

日点击量:{$arrNovel.arrNovelClicks.daily}

+ +
+ +
+
+ +
+
+
+
+

最新章节

+
+
+ {chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"} +

+ {$arrGrm[$key]|raw} + {$Chapter.c_name} + {$Chapter.created_at ?? '1天前'} + +

+

+ {/chapter:list} +
+
+
+

相邻推荐:

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

精品推荐

+
    + {novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"} +
  • +

    + {$arrGrm[$key+10]|raw} + + {$Novel['n_name'] ?? ''} + +

    +
    + + {$Novel['n_name'] ?? ''} + +
    + {$Novel['n_author'] ?? ''} + {$Novel['n_category'] ?? ''} +

    + {$Novel['n_description'] ?? ''}

    +
    +
    +
  • + {/novel:list} +
+
+
+
+
+ +{/block} + +{block name="customize"} + +{/block} + +{block name="footer-js"} + + +{/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/getNovelRank.html b/code/app/home/view/haoZi/pc/getNovelRank.html new file mode 100644 index 0000000..4f06604 --- /dev/null +++ b/code/app/home/view/haoZi/pc/getNovelRank.html @@ -0,0 +1,219 @@ +{extend name="basePc" /} + +{block name="get-data"} +{site:helper func="initSexTKD" /} +{site:grm page_code="h5_rank" diff="0" num="100" g_key="arrGrm" /} +{/block} + + +{block name="title"}{site:replace code="NOVEL@GETNOVELRANK@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELRANK@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELRANK@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + +{/block} + +{block name="head-css"} + +{/block} +{block name="head-js"}{/block} +{block name='body-class'}body-rank-class{/block} +{block name="logo-html"} +

+ + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

+{/block} + +{block name="strPageCode"} + +{/block} + +{block name="main"} + +
+ + + + +
+
+
+

日点击榜

+
+
+
+
    + {novel:ranklist count="10" sort_type="daily" d_key="key" d_val="Novel" cache_life="1000"} + {if $key == 0} + {include file="pc/public/indexBoyRankOne" start="0"/} + {/if} + {if $key >= 1} + {include file="pc/public/indexBoyRankList" start="1"/} + {/if} + {/novel:ranklist} +
+
+ +
+
+
+
+

周点击榜

+
+
+
+
    + {novel:ranklist count="10" sort_type="weekly" d_key="key" d_val="Novel" cache_life="1000"} + {if $key == 0} + {include file="pc/public/indexBoyRankOne" start="10"/} + {/if} + {if $key >= 1} + {include file="pc/public/indexBoyRankList" start="11"/} + {/if} + {/novel:ranklist} +
+
+ +
+
+
+
+

月点击榜

+
+
+
+
    + {novel:ranklist count="10" sort_type="monthly" d_key="key" d_val="Novel" cache_life="1000"} + {if $key == 0} + {include file="pc/public/indexBoyRankOne" start="20"/} + {/if} + {if $key >= 1} + {include file="pc/public/indexBoyRankList" start="21"/} + {/if} + {/novel:ranklist} +
+
+ +
+
+
+
+

总点击榜

+
+
+
+
    + {novel:ranklist count="10" sort_type="total" d_key="key" d_val="Novel" cache_life="1000"} + {if $key == 0} + {include file="pc/public/indexBoyRankOne" start="30"/} + {/if} + {if $key >= 1} + {include file="pc/public/indexBoyRankList" start="31"/} + {/if} + {/novel:ranklist} +
+
+ +
+
+
+
+

连载榜

+
+
+
+
    + {novel:ranklist count="10" sort_type="total" n_status="lianzai" d_key="key" d_val="Novel" cache_life="1000"} + {if $key == 0} + {include file="pc/public/indexBoyRankOne" start="40"/} + {/if} + {if $key >= 1} + {include file="pc/public/indexBoyRankList" start="41"/} + {/if} + {/novel:ranklist} +
+
+ +
+
+
+
+

完结榜

+
+
+
+
    + {novel:ranklist count="10" sort_type="total" n_status="wanjie" d_key="key" d_val="Novel" cache_life="1000"} + {if $key == 0} + {include file="pc/public/indexBoyRankOne" start="50"/} + {/if} + {if $key >= 1} + {include file="pc/public/indexBoyRankList" start="51"/} + {/if} + {/novel:ranklist} +
+
+ +
+
+
+ +
+{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/getSearchNovel.html b/code/app/home/view/haoZi/pc/getSearchNovel.html new file mode 100644 index 0000000..1247aec --- /dev/null +++ b/code/app/home/view/haoZi/pc/getSearchNovel.html @@ -0,0 +1,121 @@ +{extend name="basePc" /} + +{block name="get-data"} +{novel:pagerexp page="$Request.get.page" limit="30" +key="$Request.get.keyword" +d_key="d_key" +d_val="Novel" n_num="total" +p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /} +{site:grm page_code="pc_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETSEARCHNOVEL@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETSEARCHNOVEL@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + + + + + + + +{/block} + +{block name="head-js"}{/block} + +{block name="logo-html"} +

+ + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

+{/block} + +{block name="main"} + +
+
+ +
+

{$Request.get.keyword}搜索结果 - {$DomainModel->d_name} 第{$Request.get.page}页

+
+ + 搜索“{$Request.get.keyword}”相关结果共有 {$resData.p_data.total} 部小说 +
+
+
+ +
+ {if empty($resData.data)} +

没有相关数据

+ {else} + + {/if} + +
+
    + {volist name="resData.p_data.pager" id="vo" key="k"} + {switch $vo.label} + {case value="上一页"} + {if $resData.p_data.page == 1} +
  • «
  • + {else} +
  • «
  • + {/if} + {/case} + {case value="下一页"} + {if $resData.p_data.page >= $resData.p_data.total} +
  • »
  • + {else} +
  • »
  • + {/if} + {/case} + {case value="..."} +
  • ...
  • + {/case} + {default /} + {if preg_match('/^\d+$/', $vo.label)} +
  • + {$vo.label} +
  • + {/if} + {/switch} + {/volist} +
+
+ +
+
+{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/index.html b/code/app/home/view/haoZi/pc/index.html new file mode 100644 index 0000000..5a6114a --- /dev/null +++ b/code/app/home/view/haoZi/pc/index.html @@ -0,0 +1,303 @@ +{extend name="basePc" /} + +{block name="title"}{site:replace code="INDEX@INDEX@TITLE"}{/block} +{block name="keywords"}{site:replace code="INDEX@INDEX@KEYWORDS"}{/block} +{block name="description"}{site:replace code="INDEX@INDEX@DESCRIPTION"}{/block} + +{block name="head-css"} + +{/block} +{block name="head"} + + + + + + + +{/block} +{block name="head-js"}{/block} + +{block name="strPageCode"} + +{/block} + +{block name="logo-html"} +

+ + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

+{/block} + +{block name="main"} + +{site:grm page_code="pc_index" diff="0" num="150" g_key="arrGrm" /} + +
+ +

{$DomainModel->d_index_description}

+ +
+ {novel:pagerexp page="1" limit="13" +sort_type="tuijian" +n_status="lianzai" +d_key="d_key" +button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /} + +
+
+
    + {volist name="$resData.data" id="Novel" key="key"} + {if $key < 6} {include file="pc/public/swiperListImg" start="1" /} {/if} + {/volist} +
+
+
    + {volist name="$resData.data" id="Novel" key="key"} + {if $key < 6} {include file="pc/public/swiperListText" /} {/if} {/volist} +
+
+ {volist name="$resData.data" id="Novel" key="key"} + {if $key == 1} +

+ {$arrGrm[1]|raw} + + {$Novel.n_name ?? ''} + +

+

{$Novel.n_description ?? ''}

+ {/if} + {/volist} +
+
+
+ {volist name="$resData.data" id="Novel" key="key"} + {if $key > 5 && $key < 10} {include file="pc/public/hostListImg" start="5" /} {/if} {/volist} + {volist + name="$resData.data" id="Novel" key="key" } {if $key> 9 } + {$arrGrm[$key+9]|raw} + {include file="pc/public/hostListText" start="9"/} + {/if} + {/volist} + +
+
+ +
+
+ +

完本推荐

+ +
+ +
+ + + + + +
+
+ +

男生频道

+ +
+ {novel:list count="1" n_sex="man" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsOne" start="25" /} + {/novel:list} +
+
    + {novel:list count="4" n_sex="man" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsList" start="26" /} + {/novel:list} +
+
+
+

+ 排行榜 + + + +

+
+
    + {novel:list count="10" n_sex="man" sort_type="update" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {if $d_key == 1} + {include file="pc/public/indexBoyRankOne" start="30"/} + {/if} + {if $d_key >= 2} + {include file="pc/public/indexBoyRankList" start="31"/} + {/if} + {/novel:list} +
+ 查看更多 +
+ + +
+
+ + + +
+
+ +

女生频道

+ +
+ {novel:list count="1" n_sex="women" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsOne" start="55"/} + {/novel:list} +
+
    + {novel:list count="4" n_sex="women" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsList" start="56"/} + {/novel:list} +
+
+
+

+ 排行榜 + + + +

+
+
    + {novel:list count="10" n_sex="women" sort_type="update" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {if $d_key == 1} + {include file="pc/public/indexBoyRankOne" start="59"/} + {/if} + {if $d_key >= 2} + {include file="pc/public/indexBoyRankList" start="60"/} + {/if} + {/novel:list} +
+ 查看更多 +
+ + +
+
+ +
+ +
+ +
+
+ +

作品更新

+ +
+
+
+
    +
  1. +
      +
    • 类别
    • +
    • 书名
    • +
    • 最新更新章节
    • +
    • 作者
    • +
    • 更新时间
    • +
    +
  2. + {novel:list count="30" sort_type="update" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexNewsUpdateList" start="70"/} + {/novel:list} +
+
+
+
+ +

{$DomainModel->d_description}

+
+{/block} + +{block name="customize-footer-after"} + +{/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/public/footer.html b/code/app/home/view/haoZi/pc/public/footer.html new file mode 100644 index 0000000..55728d0 --- /dev/null +++ b/code/app/home/view/haoZi/pc/public/footer.html @@ -0,0 +1,33 @@ +
+
+
+

友情链接

+ +
+
+
+

+ Copyright (C) 2008-2025 All rights reserved +
+ +

+

请所有作者发布作品时务必遵守国家互联网信息管理办法规定,我们拒绝任何色情小说,一经发现,即作删除!本站所收录作品、社区、书库评论及本站所做之广告均属其个人行为,与本站立场无关!

+

删除邮箱:{site:cfg code="YOU_XIANG" encode="false"/}

+
+
+ + 返回顶部 + \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/public/hostListImg.html b/code/app/home/view/haoZi/pc/public/hostListImg.html new file mode 100644 index 0000000..26fc40e --- /dev/null +++ b/code/app/home/view/haoZi/pc/public/hostListImg.html @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/public/hostListText.html b/code/app/home/view/haoZi/pc/public/hostListText.html new file mode 100644 index 0000000..df44eba --- /dev/null +++ b/code/app/home/view/haoZi/pc/public/hostListText.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/public/indexNewsUpdateList.html b/code/app/home/view/haoZi/pc/public/indexNewsUpdateList.html new file mode 100644 index 0000000..6980311 --- /dev/null +++ b/code/app/home/view/haoZi/pc/public/indexNewsUpdateList.html @@ -0,0 +1,20 @@ +
  • + +
  • \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/user/getBookShelf.html b/code/app/home/view/haoZi/pc/user/getBookShelf.html new file mode 100644 index 0000000..f22e114 --- /dev/null +++ b/code/app/home/view/haoZi/pc/user/getBookShelf.html @@ -0,0 +1,74 @@ +{extend name="basePcUser" /} + +{block name="title"}我的书架{/block} +{block name="keywords"}我的书架{/block} +{block name="description"}我的书架{/block} + +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + + +{block name="main"} +{site:grm page_code="pc_bookshekf" diff="0" num="10" g_key="arrGrm" /} +{$arrGrm[0]|raw} +
    + +
    + 我的书架 +
    + {$arrGrm[1]|raw} +
    + + + + + + + + + + + + + {$arrGrm[3]|raw} + +
    封面书名最新章节作者更新时间状态操作
    + {$arrGrm[4]|raw} +
    +
    +
    +
    +
    +
    +
    +
    +{$arrGrm[2]|raw} + + +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/pc/user/getHistory.html b/code/app/home/view/haoZi/pc/user/getHistory.html new file mode 100644 index 0000000..721b262 --- /dev/null +++ b/code/app/home/view/haoZi/pc/user/getHistory.html @@ -0,0 +1,70 @@ +{extend name="basePcUser" /} +{block name="title"}我的阅读记录{/block} +{block name="keywords"}我的阅读记录{/block} +{block name="description"}我的阅读记录{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + + +{block name="main"} +{site:grm page_code="pc_history" diff="0" num="10" g_key="arrGrm" /} +{$arrGrm[0]|raw} +
    +
    + 最近阅读 +
    + {$arrGrm[1]|raw} +
    + + + + + + + + + + + + + +
    封面书名阅读章节作者更新时间状态操作
    + {$arrGrm[2]|raw} +
    +
    +
    +
    +
    +
    +
    +
    +{$arrGrm[3]|raw} + + +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/public/footer.html b/code/app/home/view/haoZi/public/footer.html new file mode 100644 index 0000000..2db8088 --- /dev/null +++ b/code/app/home/view/haoZi/public/footer.html @@ -0,0 +1,30 @@ + + + + + diff --git a/code/app/home/view/haoZi/public/newsNovelList.html b/code/app/home/view/haoZi/public/newsNovelList.html new file mode 100644 index 0000000..237a138 --- /dev/null +++ b/code/app/home/view/haoZi/public/newsNovelList.html @@ -0,0 +1,7 @@ +
  • + + [{:date('m-d')}] +

    {$Novel.n_author}

    +

    {$Novel.n_name}

    +
    +
  • \ No newline at end of file diff --git a/code/app/home/view/haoZi/public/novelListH.html b/code/app/home/view/haoZi/public/novelListH.html new file mode 100644 index 0000000..e2982d4 --- /dev/null +++ b/code/app/home/view/haoZi/public/novelListH.html @@ -0,0 +1,24 @@ + +
  • + + {$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读 + +

    + {$Novel.n_name ?? ''} +

    +

    + {$Novel.n_author ?? ''} +

    +

    + {$Novel.n_description ?? ''}

    +

    + 最新:{$Novel.n_latest_chapter_name ?? ''} +

    +
  • + + + + diff --git a/code/app/home/view/haoZi/public/novelListS.html b/code/app/home/view/haoZi/public/novelListS.html new file mode 100644 index 0000000..c58fbc3 --- /dev/null +++ b/code/app/home/view/haoZi/public/novelListS.html @@ -0,0 +1,8 @@ +
  • + + {$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读 +

    {$Novel.n_name}

    {$Novel.n_author} +
    +
  • \ No newline at end of file diff --git a/code/app/home/view/haoZi/public/rankNovelList.html b/code/app/home/view/haoZi/public/rankNovelList.html new file mode 100644 index 0000000..fd51df7 --- /dev/null +++ b/code/app/home/view/haoZi/public/rankNovelList.html @@ -0,0 +1,7 @@ +
  • + + {$key+=2} +

    {$Novel.n_name}

    +

    {$Novel.n_author}

    +
    +
  • \ No newline at end of file diff --git a/code/app/home/view/haoZi/public/topNovelList.html b/code/app/home/view/haoZi/public/topNovelList.html new file mode 100644 index 0000000..9c1027b --- /dev/null +++ b/code/app/home/view/haoZi/public/topNovelList.html @@ -0,0 +1,19 @@ +
    + 1 + + {$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读 + +

    + {$Novel.n_name} +

    +

    + + {$Novel.n_author} + + {$Novel.n_category} +

    +

    {$Novel.n_description}

    +
    \ No newline at end of file diff --git a/code/app/home/view/haoZi/user/getBookShelf.html b/code/app/home/view/haoZi/user/getBookShelf.html new file mode 100644 index 0000000..ff88f1b --- /dev/null +++ b/code/app/home/view/haoZi/user/getBookShelf.html @@ -0,0 +1,59 @@ +{extend name="baseH5User" /} +{block name="title"}我的书架{/block} +{block name="keywords"}我的书架{/block} +{block name="description"}我的书架{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + +{block name="head-name"}我的书架{/block} +{block name="main"} +{site:grm page_code="h5_bookshekf" diff="0" num="10" g_key="arrGrm" /} + +{$arrGrm[0]|raw} +
    + {$arrGrm[3]|raw} +
    + + 管理 +
    + {$arrGrm[2]|raw} +
    +
    +
      + +
    +
    +
    + {$arrGrm[4]|raw} +
    +
    +
    + +{$arrGrm[1]|raw} +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/user/getHistory.html b/code/app/home/view/haoZi/user/getHistory.html new file mode 100644 index 0000000..ae22b0e --- /dev/null +++ b/code/app/home/view/haoZi/user/getHistory.html @@ -0,0 +1,62 @@ +{extend name="baseH5User" /} +{block name="title"}我的阅读记录{/block} +{block name="keywords"}我的阅读记录{/block} +{block name="description"}我的阅读记录{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + +{block name="head-name"}最近阅读{/block} +{block name="main"} + +{site:grm page_code="h5_history" diff="0" num="10" g_key="arrGrm" /} + +{$arrGrm[0]|raw} +
    + {$arrGrm[1]|raw} +
    + + 管理 +
    + {$arrGrm[2]|raw} +
    +
    +
      + +
    +
    + {$arrGrm[3]|raw} +
    +
    +
    + {$arrGrm[4]|raw} +
    + + +{$arrGrm[5]|raw} +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/haoZi/user/index.html b/code/app/home/view/haoZi/user/index.html new file mode 100644 index 0000000..c3e2f5e --- /dev/null +++ b/code/app/home/view/haoZi/user/index.html @@ -0,0 +1,74 @@ +{extend name="baseH5User" /} +{block name="title"}个人中心{/block} +{block name="keywords"}个人中心{/block} +{block name="description"}个人中心{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + +{block name="head-name"}用户中心{/block} +{block name="main"} +{site:grm page_code="userinfo" diff="0" num="10" g_key="arrGrm" /} +{$arrGrm[0]|raw} +
    + {$arrGrm[1]|raw} +
    +
    + {$arrGrm[2]|raw} + +
    + +
    + +
    + 123456 +
    +
    + {$arrGrm[3]|raw} +
    +
      +
    • 经验0
    • +
    • 积分0
    • +
    • 推荐票0
    • +
    +
    + +
    + {$arrGrm[4]|raw} + +
    + + + +
    +
    +{$arrGrm[5]|raw} +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/baseH5.html b/code/app/home/view/xiongMao/baseH5.html new file mode 100644 index 0000000..d892ee7 --- /dev/null +++ b/code/app/home/view/xiongMao/baseH5.html @@ -0,0 +1,137 @@ + + + + + {block name="get-data"}{/block} + + + + + + + + {block name="title"}{/block} + + + + + + + + + + {block name="head"}{/block} + {block name="head-css"}{/block} + {block name="head-js"}{/block} + + + + +
    + {block name="logo-html"}{/block} + + + + + + +
    + + + + + + + + {block name="main"} {site:wz wz="主内容" /}{/block} + + {include file="public/footer" /} + + {block name="customize"}{/block} + + + + + + + + + + {block name="footer-js"}{/block} + + + {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} + + + {$DomainModel->d_statis|raw} + + + + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/basePc.html b/code/app/home/view/xiongMao/basePc.html new file mode 100644 index 0000000..aba10f7 --- /dev/null +++ b/code/app/home/view/xiongMao/basePc.html @@ -0,0 +1,109 @@ + + + + + {block name="get-data"}{/block} + + + + {block name="title"}{/block} + + + + + + + {block name="head"}{/block} + {block name="head-css"}{/block} + {block name="head-js"}{/block} + + + + +{block name="strPageCode"} + +{/block} + + + + +
    +
    + {block name="logo-html"}{/block} + +
    + + +
    +
    +
    + + + {block name="main"} {/block} + + {block name="customize-footer-after"}{/block} + + {include file="pc/public/footer" /} + + {block name="customize"}{/block} + + + + + + + + + + {block name="footer-js"}{/block} + + + {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} + + + {$DomainModel->d_statis|raw} + + + + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/index/index.html b/code/app/home/view/xiongMao/index/index.html new file mode 100644 index 0000000..1215d01 --- /dev/null +++ b/code/app/home/view/xiongMao/index/index.html @@ -0,0 +1,165 @@ +{extend name="baseH5" /} +{block name="title"}{site:replace code="INDEX@INDEX@TITLE"}{/block} +{block name="keywords"}{site:replace code="INDEX@INDEX@KEYWORDS"}{/block} +{block name="description"}{site:replace code="INDEX@INDEX@DESCRIPTION"}{/block} +{block name="head"} + + + + + + + + +{/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + {$DomainModel->d_name}-{$DomainModel->d_text_logo} +

    +{/block} + +{block name="main"} + +{site:grm page_code="h5_index" diff="0" num="60" g_key="arrGrm" /} + + +
    + +
    +
    +
    +
    + +

    {$DomainModel->d_index_description}

    + + + + +
    +
    +

    热门小说

    +
    +

    {site:replace code="INDEX_POPULAR_NOVELS"}

    +
    +
      + {novel:list count="8" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"} + {include file="public/novelListS" start="0"/} + {/novel:list} +
    +
    +
    + + +
    +
    +

    最新小说

    +
    +

    {site:replace code="INDEX_NEWS_NOVELS"}

    + +
    +
      + {novel:list count="8" sort_type="news" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"} + {include file="public/novelListH" start="9"/} + {/novel:list} +
    +
    +
    + + +
    +
    +

    小说排行榜

    +
    +

    {site:replace code="INDEX_RANK_NOVELS"}

    + +
    +
      +
    1. 日排榜
    2. +
    3. 周排榜
    4. +
    5. 月排榜
    6. +
    7. 完结榜
    8. +
    +
    + +
    +
    +
      + {novel:list count="8" n_category="xuanhuan-xiuzhen" sort_type="news" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"} + {include file="public/novelListH" start="17"/} + {/novel:list} +
    +
    +
    + + + + + + +
    + + +

    {$DomainModel->d_description}

    +
    +{/block} {block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/novel/getArticleInfo.html b/code/app/home/view/xiongMao/novel/getArticleInfo.html new file mode 100644 index 0000000..649fb51 --- /dev/null +++ b/code/app/home/view/xiongMao/novel/getArticleInfo.html @@ -0,0 +1,36 @@ +{extend name="baseH5" /} +{block name="title"}{$strTitle??''}{/block} +{block name="keywords"}{$strKeywords??''}{/block} +{block name="description"}{$strDescription??''}{/block} +{block name="head"} + + + + + + + + {/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + {$DomainModel->d_name}-{$DomainModel->d_text_logo} +

    +{/block} + +{block name="main"} +
    + +article......... +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/novel/getArticleList.html b/code/app/home/view/xiongMao/novel/getArticleList.html new file mode 100644 index 0000000..a78d589 --- /dev/null +++ b/code/app/home/view/xiongMao/novel/getArticleList.html @@ -0,0 +1,64 @@ +{extend name="baseH5" /} +{block name="title"}{$strTitle??''}{/block} +{block name="keywords"}{$strKeywords??''}{/block} +{block name="description"}{$strDescription??''}{/block} +{block name="head"} + + + + + + + + {/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + {$DomainModel->d_name}-{$DomainModel->d_text_logo}/文章 +

    +{/block} + +{block name="main"} +
    + +
    +
    + +
    + +
    + +
    +
    +

    深度解说列表

    +
    +
    + +
    + +
    +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/novel/getNovelChapter.html b/code/app/home/view/xiongMao/novel/getNovelChapter.html new file mode 100644 index 0000000..8059e84 --- /dev/null +++ b/code/app/home/view/xiongMao/novel/getNovelChapter.html @@ -0,0 +1,403 @@ + + + + + {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" /} + + + + + + + + + + {site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {$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} + + + +
    + +
    +
    + +

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

    +
    + 你刚刚阅读到这里 +

    1/1

    +
    + {$arrGrm[6]|raw} +
    +
    + + + 返回 + + +
    + + +
    +
    + 加入书架 +
    + + +

    返回首页

    +
    + + + + 书籍详情 + + + + 返回我的书架 + +
    +
    + +
    + +
    +
    +
    + +
    +
      +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    +
      +
    • + + +
    • +
    • + + +
    • +
    +
    +
    + {$arrGrm[8]|raw} + +
    + {$arrGrm[7]|raw} + + + + + + + + + + + + + {block name="footer-js"} + + {/block} + + {$arrGrm[10]|raw} + + + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/novel/getNovelInfo.html b/code/app/home/view/xiongMao/novel/getNovelInfo.html new file mode 100644 index 0000000..9e33315 --- /dev/null +++ b/code/app/home/view/xiongMao/novel/getNovelInfo.html @@ -0,0 +1,282 @@ +{extend name="baseH5" /} + +{block name="get-data"} +{if $Request.route.intNovelId} +{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /} +{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" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intNovelId" /}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS" diff="$Request.route.intNovelId"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}{/block} + +{block name="head"} + + + + + + + + + + + + + + + + + + + + + + + + + + +{/block} + +{block name="head-js"}{/block} + +{block name="logo-html"} + +{/block} + +{block name="main"} +
    + + + + +
    + {$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 ?? ''} +

    +
    +
    +
    +
    + + +
    +
    +
    +

    最新要点

    +
    + {$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} + +
    + +
    +
    + +
    +
    +

    同类作品

    +
    +
    + +
    +
    +
    + + + +{/block} + +{block name="customize"} + + +{/block} + +{block name="footer-js"} + +{/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/novel/getSearchNovel.html b/code/app/home/view/xiongMao/novel/getSearchNovel.html new file mode 100644 index 0000000..0f81602 --- /dev/null +++ b/code/app/home/view/xiongMao/novel/getSearchNovel.html @@ -0,0 +1,105 @@ +{extend name="baseH5" /} + +{block name="title"}{site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETSEARCHNOVEL@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETSEARCHNOVEL@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + + + + + + + +{/block} + +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + {$DomainModel->d_name}-{$DomainModel->d_text_logo} +

    +{/block} + +{block name="main"} + +{novel:pagerexp page="$Request.get.page" limit="30" +key="$Request.get.keyword" +d_key="d_key" +d_val="Novel" +p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /} + +{site:grm page_code="h5_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /} + +
    + +
    +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/getArticleInfo.html b/code/app/home/view/xiongMao/pc/getArticleInfo.html new file mode 100644 index 0000000..2f067e4 --- /dev/null +++ b/code/app/home/view/xiongMao/pc/getArticleInfo.html @@ -0,0 +1,38 @@ +{extend name="basePc" /} +{block name="title"}{$strTitle??''}{/block} +{block name="keywords"}{$strKeywords??''}{/block} +{block name="description"}{$strDescription??''}{/block} +{block name="head"} + + + + + + + + {/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

    +{/block} + +{block name="main"} + +
    article.......
    + +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/getArticleList.html b/code/app/home/view/xiongMao/pc/getArticleList.html new file mode 100644 index 0000000..3e46d23 --- /dev/null +++ b/code/app/home/view/xiongMao/pc/getArticleList.html @@ -0,0 +1,105 @@ +{extend name="basePc" /} +{block name="title"}{$strTitle??''}{/block} +{block name="keywords"}{$strKeywords??''}{/block} +{block name="description"}{$strDescription??''}{/block} +{block name="head"} + + + + + + + + {/block} +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

    +{/block} +{block name="main"} +
    + + +
    + +
    + + + +
    +
    + + +
    + +
    +
    +
      +
    1. +
        +
      • 分类
      • +
      • 书名
      • +
      • 描述
      • +
      • 作者
      • +
      • 更新时间
      • +
      +
    2. + {foreach $arrNewsNovel as $key=>$Novel} + {include file="pc/public/articleList" /} + {/foreach} +
    +
    +
    +
    + + +
    + + +
    + +
    + +
    + +
    +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/getNovelChapter.html b/code/app/home/view/xiongMao/pc/getNovelChapter.html new file mode 100644 index 0000000..27c0a3d --- /dev/null +++ b/code/app/home/view/xiongMao/pc/getNovelChapter.html @@ -0,0 +1,423 @@ + + + + {site:grm page_code="pc_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" /} + + + + + + + {site:replace code="NOVEL@GETNOVELCHAPTER@TITLE"} + + + + {block name="head-css"} + + {/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} + {$arrNovel.n_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} + 上一章 + {/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} + + + +
    +
    +
    + + +
    +
    +
    + {$arrGrm[2]|raw} + + + + + + + + + + {$arrGrm[19]|raw} + + + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/getNovelInfo.html b/code/app/home/view/xiongMao/pc/getNovelInfo.html new file mode 100644 index 0000000..140093d --- /dev/null +++ b/code/app/home/view/xiongMao/pc/getNovelInfo.html @@ -0,0 +1,295 @@ +{extend name="basePc" /} + +{block name="get-data"} +{if $Request.route.intNovelId} +{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /} +{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" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE" diff="$Request.route.intNovelId" /}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS" diff="$Request.route.intNovelId"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION" diff="$Request.route.intNovelId"}{/block} + + +{block name="head"} + + + + + + + + + + + + + + + + + + + + + + + + +{/block} + +{block name="head-css"} + +{/block} + +{block name="logo-html"} +

    + + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

    +{/block} + +{block name="strPageCode"} + +{/block} + +{block name="main"} + +
    + + +
    +
    + +
    + +

    + 作者:{$arrNovel.n_author} + 创建日期:{$arrNovel.n_update_time} +

    +
    +

    简介

    +
    +

    + {$arrNovel.n_description ?? ''}

    + 展开 + +
    +
    +
    +

    最新要点

    +
    +

    + {$arrNovel.strFocus}

    + 展开 + +
    +
    + + +
    +
    +
    +
    +

    小说信息

    +

    类别: + + {$arrNovel.n_category} + +

    + +

    总点击量:{$arrNovel.arrNovelClicks.total}

    +

    月点击量:{$arrNovel.arrNovelClicks.monthly}

    +

    周点击量:{$arrNovel.arrNovelClicks.weekly}

    +

    日点击量:{$arrNovel.arrNovelClicks.daily}

    + +
    + +
    +
    + +
    +
    +
    +
    +

    最新章节

    +
    +
    + {chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"} +

    + {$arrGrm[$key]|raw} + {$Chapter.c_name} + {$Chapter.created_at ?? '1天前'} + +

    +

    + {/chapter:list} +
    +
    +
    +

    相邻推荐:

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

    精品推荐

    +
      + {novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"} +
    • +

      + {$arrGrm[$key+10]|raw} + + {$Novel['n_name'] ?? ''} + +

      +
      + + {$Novel['n_name'] ?? ''} + +
      + {$Novel['n_author'] ?? ''} + {$Novel['n_category'] ?? ''} +

      + {$Novel['n_description'] ?? ''}

      +
      +
      +
    • + {/novel:list} +
    +
    +
    +
    +
    + +{/block} + +{block name="customize"} + +{/block} + +{block name="footer-js"} + + +{/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/getSearchNovel.html b/code/app/home/view/xiongMao/pc/getSearchNovel.html new file mode 100644 index 0000000..1247aec --- /dev/null +++ b/code/app/home/view/xiongMao/pc/getSearchNovel.html @@ -0,0 +1,121 @@ +{extend name="basePc" /} + +{block name="get-data"} +{novel:pagerexp page="$Request.get.page" limit="30" +key="$Request.get.keyword" +d_key="d_key" +d_val="Novel" n_num="total" +p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /} +{site:grm page_code="pc_novel_search" diff="$Request.url" num="30" g_key="arrGrm" /} +{/block} + +{block name="title"}{site:replace code="NOVEL@GETSEARCHNOVEL@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETSEARCHNOVEL@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETSEARCHNOVEL@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + + + + + + + +{/block} + +{block name="head-js"}{/block} + +{block name="logo-html"} +

    + + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

    +{/block} + +{block name="main"} + +
    +
    + +
    +

    {$Request.get.keyword}搜索结果 - {$DomainModel->d_name} 第{$Request.get.page}页

    +
    + + 搜索“{$Request.get.keyword}”相关结果共有 {$resData.p_data.total} 部小说 +
    +
    +
    + +
    + {if empty($resData.data)} +

    没有相关数据

    + {else} + + {/if} + +
    +
      + {volist name="resData.p_data.pager" id="vo" key="k"} + {switch $vo.label} + {case value="上一页"} + {if $resData.p_data.page == 1} +
    • «
    • + {else} +
    • «
    • + {/if} + {/case} + {case value="下一页"} + {if $resData.p_data.page >= $resData.p_data.total} +
    • »
    • + {else} +
    • »
    • + {/if} + {/case} + {case value="..."} +
    • ...
    • + {/case} + {default /} + {if preg_match('/^\d+$/', $vo.label)} +
    • + {$vo.label} +
    • + {/if} + {/switch} + {/volist} +
    +
    + +
    +
    +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/index.html b/code/app/home/view/xiongMao/pc/index.html new file mode 100644 index 0000000..5a6114a --- /dev/null +++ b/code/app/home/view/xiongMao/pc/index.html @@ -0,0 +1,303 @@ +{extend name="basePc" /} + +{block name="title"}{site:replace code="INDEX@INDEX@TITLE"}{/block} +{block name="keywords"}{site:replace code="INDEX@INDEX@KEYWORDS"}{/block} +{block name="description"}{site:replace code="INDEX@INDEX@DESCRIPTION"}{/block} + +{block name="head-css"} + +{/block} +{block name="head"} + + + + + + + +{/block} +{block name="head-js"}{/block} + +{block name="strPageCode"} + +{/block} + +{block name="logo-html"} +

    + + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

    +{/block} + +{block name="main"} + +{site:grm page_code="pc_index" diff="0" num="150" g_key="arrGrm" /} + +
    + +

    {$DomainModel->d_index_description}

    + +
    + {novel:pagerexp page="1" limit="13" +sort_type="tuijian" +n_status="lianzai" +d_key="d_key" +button_num="10" cache_life="86400" func="generateCategoryPager" export_name="resData" /} + +
    +
    +
      + {volist name="$resData.data" id="Novel" key="key"} + {if $key < 6} {include file="pc/public/swiperListImg" start="1" /} {/if} + {/volist} +
    +
    +
      + {volist name="$resData.data" id="Novel" key="key"} + {if $key < 6} {include file="pc/public/swiperListText" /} {/if} {/volist} +
    +
    + {volist name="$resData.data" id="Novel" key="key"} + {if $key == 1} +

    + {$arrGrm[1]|raw} + + {$Novel.n_name ?? ''} + +

    +

    {$Novel.n_description ?? ''}

    + {/if} + {/volist} +
    +
    +
    + {volist name="$resData.data" id="Novel" key="key"} + {if $key > 5 && $key < 10} {include file="pc/public/hostListImg" start="5" /} {/if} {/volist} + {volist + name="$resData.data" id="Novel" key="key" } {if $key> 9 } + {$arrGrm[$key+9]|raw} + {include file="pc/public/hostListText" start="9"/} + {/if} + {/volist} + +
    +
    + +
    +
    + +

    完本推荐

    + +
    + +
    + + + + + +
    +
    + +

    男生频道

    + +
    + {novel:list count="1" n_sex="man" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsOne" start="25" /} + {/novel:list} +
    +
      + {novel:list count="4" n_sex="man" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsList" start="26" /} + {/novel:list} +
    +
    +
    +

    + 排行榜 + + + +

    +
    +
      + {novel:list count="10" n_sex="man" sort_type="update" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {if $d_key == 1} + {include file="pc/public/indexBoyRankOne" start="30"/} + {/if} + {if $d_key >= 2} + {include file="pc/public/indexBoyRankList" start="31"/} + {/if} + {/novel:list} +
    + 查看更多 +
    + + +
    +
    + + + +
    +
    + +

    女生频道

    + +
    + {novel:list count="1" n_sex="women" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsOne" start="55"/} + {/novel:list} +
    +
      + {novel:list count="4" n_sex="women" sort_type="news" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexBoyNewsList" start="56"/} + {/novel:list} +
    +
    +
    +

    + 排行榜 + + + +

    +
    +
      + {novel:list count="10" n_sex="women" sort_type="update" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {if $d_key == 1} + {include file="pc/public/indexBoyRankOne" start="59"/} + {/if} + {if $d_key >= 2} + {include file="pc/public/indexBoyRankList" start="60"/} + {/if} + {/novel:list} +
    + 查看更多 +
    + + +
    +
    + +
    + +
    + +
    +
    + +

    作品更新

    + +
    +
    +
    +
      +
    1. +
        +
      • 类别
      • +
      • 书名
      • +
      • 最新更新章节
      • +
      • 作者
      • +
      • 更新时间
      • +
      +
    2. + {novel:list count="30" sort_type="update" d_key="d_key" d_val="Novel" + p_val="page_data" cache_life="86400"} + {include file="pc/public/indexNewsUpdateList" start="70"/} + {/novel:list} +
    +
    +
    +
    + +

    {$DomainModel->d_description}

    +
    +{/block} + +{block name="customize-footer-after"} + +{/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/public/articleList.html b/code/app/home/view/xiongMao/pc/public/articleList.html new file mode 100644 index 0000000..d2fe72b --- /dev/null +++ b/code/app/home/view/xiongMao/pc/public/articleList.html @@ -0,0 +1,12 @@ +
  • + +
  • \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/public/endNovelList.html b/code/app/home/view/xiongMao/pc/public/endNovelList.html new file mode 100644 index 0000000..15fc07d --- /dev/null +++ b/code/app/home/view/xiongMao/pc/public/endNovelList.html @@ -0,0 +1,14 @@ +
  • + {$arrGrm[$key+[start]]|raw} +

    + + {$Novel->n_name ?? ''}- {$Novel.n_category ?? ''}最新章节在线免费阅读 + +

    +
    +

    {$Novel->n_name ?? ''}

    + {$Novel->n_author ?? ''} +
    +
  • \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/public/footer.html b/code/app/home/view/xiongMao/pc/public/footer.html new file mode 100644 index 0000000..55728d0 --- /dev/null +++ b/code/app/home/view/xiongMao/pc/public/footer.html @@ -0,0 +1,33 @@ +
    +
    +
    +

    友情链接

    + +
    +
    +
    +

    + Copyright (C) 2008-2025 All rights reserved +
    + +

    +

    请所有作者发布作品时务必遵守国家互联网信息管理办法规定,我们拒绝任何色情小说,一经发现,即作删除!本站所收录作品、社区、书库评论及本站所做之广告均属其个人行为,与本站立场无关!

    +

    删除邮箱:{site:cfg code="YOU_XIANG" encode="false"/}

    +
    +
    + + 返回顶部 + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/public/hostListImg.html b/code/app/home/view/xiongMao/pc/public/hostListImg.html new file mode 100644 index 0000000..26fc40e --- /dev/null +++ b/code/app/home/view/xiongMao/pc/public/hostListImg.html @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/public/hostListText.html b/code/app/home/view/xiongMao/pc/public/hostListText.html new file mode 100644 index 0000000..df44eba --- /dev/null +++ b/code/app/home/view/xiongMao/pc/public/hostListText.html @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/public/indexNewsUpdateList.html b/code/app/home/view/xiongMao/pc/public/indexNewsUpdateList.html new file mode 100644 index 0000000..6980311 --- /dev/null +++ b/code/app/home/view/xiongMao/pc/public/indexNewsUpdateList.html @@ -0,0 +1,20 @@ +
  • + +
  • \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/user/getBookShelf.html b/code/app/home/view/xiongMao/pc/user/getBookShelf.html new file mode 100644 index 0000000..f22e114 --- /dev/null +++ b/code/app/home/view/xiongMao/pc/user/getBookShelf.html @@ -0,0 +1,74 @@ +{extend name="basePcUser" /} + +{block name="title"}我的书架{/block} +{block name="keywords"}我的书架{/block} +{block name="description"}我的书架{/block} + +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + + +{block name="main"} +{site:grm page_code="pc_bookshekf" diff="0" num="10" g_key="arrGrm" /} +{$arrGrm[0]|raw} +
    + +
    + 我的书架 +
    + {$arrGrm[1]|raw} +
    + + + + + + + + + + + + + {$arrGrm[3]|raw} + +
    封面书名最新章节作者更新时间状态操作
    + {$arrGrm[4]|raw} +
    +
    +
    +
    +
    +
    +
    +
    +{$arrGrm[2]|raw} + + +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/pc/user/getHistory.html b/code/app/home/view/xiongMao/pc/user/getHistory.html new file mode 100644 index 0000000..721b262 --- /dev/null +++ b/code/app/home/view/xiongMao/pc/user/getHistory.html @@ -0,0 +1,70 @@ +{extend name="basePcUser" /} +{block name="title"}我的阅读记录{/block} +{block name="keywords"}我的阅读记录{/block} +{block name="description"}我的阅读记录{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + + +{block name="main"} +{site:grm page_code="pc_history" diff="0" num="10" g_key="arrGrm" /} +{$arrGrm[0]|raw} +
    +
    + 最近阅读 +
    + {$arrGrm[1]|raw} +
    + + + + + + + + + + + + + +
    封面书名阅读章节作者更新时间状态操作
    + {$arrGrm[2]|raw} +
    +
    +
    +
    +
    +
    +
    +
    +{$arrGrm[3]|raw} + + +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/public/articleList.html b/code/app/home/view/xiongMao/public/articleList.html new file mode 100644 index 0000000..36ed3c6 --- /dev/null +++ b/code/app/home/view/xiongMao/public/articleList.html @@ -0,0 +1,5 @@ +
  • +
    + 我真是一条龙 +
    {$key+=1} +
  • \ No newline at end of file diff --git a/code/app/home/view/xiongMao/public/footer.html b/code/app/home/view/xiongMao/public/footer.html new file mode 100644 index 0000000..456ad1f --- /dev/null +++ b/code/app/home/view/xiongMao/public/footer.html @@ -0,0 +1,33 @@ + \ No newline at end of file diff --git a/code/app/home/view/xiongMao/public/novelListH.html b/code/app/home/view/xiongMao/public/novelListH.html new file mode 100644 index 0000000..e563bfd --- /dev/null +++ b/code/app/home/view/xiongMao/public/novelListH.html @@ -0,0 +1,21 @@ +
  • + {$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读 + {$arrGrm[$key+[start]]|raw} +

    + {$Novel.n_name ?? ''} +

    +

    {$Novel.n_description ?? ''}

    +

    + + 作者:{$Novel.n_author ?? ''} + + {$Novel->n_category ?? ''} + {$Novel->n_status ?? ''} +

    +
  • + + + + diff --git a/code/app/home/view/xiongMao/user/getBookShelf.html b/code/app/home/view/xiongMao/user/getBookShelf.html new file mode 100644 index 0000000..ff88f1b --- /dev/null +++ b/code/app/home/view/xiongMao/user/getBookShelf.html @@ -0,0 +1,59 @@ +{extend name="baseH5User" /} +{block name="title"}我的书架{/block} +{block name="keywords"}我的书架{/block} +{block name="description"}我的书架{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + +{block name="head-name"}我的书架{/block} +{block name="main"} +{site:grm page_code="h5_bookshekf" diff="0" num="10" g_key="arrGrm" /} + +{$arrGrm[0]|raw} +
    + {$arrGrm[3]|raw} +
    + + 管理 +
    + {$arrGrm[2]|raw} +
    +
    +
      + +
    +
    +
    + {$arrGrm[4]|raw} +
    +
    +
    + +{$arrGrm[1]|raw} +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/user/getHistory.html b/code/app/home/view/xiongMao/user/getHistory.html new file mode 100644 index 0000000..ae22b0e --- /dev/null +++ b/code/app/home/view/xiongMao/user/getHistory.html @@ -0,0 +1,62 @@ +{extend name="baseH5User" /} +{block name="title"}我的阅读记录{/block} +{block name="keywords"}我的阅读记录{/block} +{block name="description"}我的阅读记录{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + +{block name="head-name"}最近阅读{/block} +{block name="main"} + +{site:grm page_code="h5_history" diff="0" num="10" g_key="arrGrm" /} + +{$arrGrm[0]|raw} +
    + {$arrGrm[1]|raw} +
    + + 管理 +
    + {$arrGrm[2]|raw} +
    +
    +
      + +
    +
    + {$arrGrm[3]|raw} +
    +
    +
    + {$arrGrm[4]|raw} +
    + + +{$arrGrm[5]|raw} +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/home/view/xiongMao/user/index.html b/code/app/home/view/xiongMao/user/index.html new file mode 100644 index 0000000..c3e2f5e --- /dev/null +++ b/code/app/home/view/xiongMao/user/index.html @@ -0,0 +1,74 @@ +{extend name="baseH5User" /} +{block name="title"}个人中心{/block} +{block name="keywords"}个人中心{/block} +{block name="description"}个人中心{/block} +{block name="head"} + + + + + + + +{block name="head-js"}{/block} + +{block name="head-name"}用户中心{/block} +{block name="main"} +{site:grm page_code="userinfo" diff="0" num="10" g_key="arrGrm" /} +{$arrGrm[0]|raw} +
    + {$arrGrm[1]|raw} +
    +
    + {$arrGrm[2]|raw} + +
    + +
    + +
    + 123456 +
    +
    + {$arrGrm[3]|raw} +
    +
      +
    • 经验0
    • +
    • 积分0
    • +
    • 推荐票0
    • +
    +
    + +
    + {$arrGrm[4]|raw} + +
    + + + +
    +
    +{$arrGrm[5]|raw} +{/block} + +{block name="customize"} {/block} \ No newline at end of file diff --git a/code/app/services/NovelService.php b/code/app/services/NovelService.php index 6038c9a..0fde9c0 100644 --- a/code/app/services/NovelService.php +++ b/code/app/services/NovelService.php @@ -57,12 +57,16 @@ class NovelService public function getPageUrl($strKey, array $arrArgs,): string { $strSfVal = $this->SiteContext->DomainModel->getFomartSubject($strKey, '', false); + $strSfVal = htmlspecialchars_decode($strSfVal); $arrKeys = []; $arrVals = []; foreach ($arrArgs as $strKey => $strVal) { $arrKeys[] = '{' . $strKey . '}'; $arrVals[] = $strVal; } + // var_dump($strSfVal); + // var_dump($arrKeys); + // var_dump($arrVals); return str_replace($arrKeys, $arrVals, $strSfVal); } @@ -183,6 +187,7 @@ class NovelService */ public function getNovelRankUrl($strGender, $strCategory, $strStatus, $strOrder, $intPage): string { + $strKey = 'RANK_LIST_URL'; $strUrl = $this->getPageUrl($strKey, [ 'strGender' => !empty($strGender) ? $strGender : '', diff --git a/code/public/initdata/novel/urlSubjectFomartGroup.php b/code/public/initdata/novel/urlSubjectFomartGroup.php index e3d20b1..8ab3127 100644 --- a/code/public/initdata/novel/urlSubjectFomartGroup.php +++ b/code/public/initdata/novel/urlSubjectFomartGroup.php @@ -581,28 +581,28 @@ return [ 'description' => '排行榜列表URL 模板3', 'sfg_id' => 120, 'arrSubjectFomart' => [ - '/rank/:strGender/:strCategory/:strStatus/:strOrder/page:intPage', + '/rank/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}', ] ], 'RANK_LIST_URL_T4' => [ 'description' => '排行榜列表URL 模板4', 'sfg_id' => 120, 'arrSubjectFomart' => [ - '/top/:strGender/:strCategory/:strStatus/:strOrder/page:intPage', + '/top/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}', ] ], 'RANK_LIST_URL_T5' => [ 'description' => '排行榜列表URL 模板5', 'sfg_id' => 120, 'arrSubjectFomart' => [ - '/ranks/:strGender/:strCategory/:strStatus/:strOrder/page:intPage', + '/ranks/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}', ] ], 'RANK_LIST_URL_T6' => [ 'description' => '排行榜列表URL 模板6', 'sfg_id' => 120, 'arrSubjectFomart' => [ - '/phb/:strGender/:strCategory/:strStatus/:strOrder/page:intPage', + '/phb/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}', ] ], diff --git a/code/public/template/haozi/book_m/css/common.css b/code/public/template/haozi/book_m/css/common.css index adb1079..b91c339 100644 --- a/code/public/template/haozi/book_m/css/common.css +++ b/code/public/template/haozi/book_m/css/common.css @@ -28,7 +28,8 @@ body,html{margin:0;padding:0;width:100%;height:100%;background-color:#efefef} .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.logo{float:left;height:45px;color:#fff;font-weight:600;font-size:20px;line-height:46px} +.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} .header ul{display:inline-block;overflow:hidden;margin-top:8px;border-radius:45px;background-color:#fff} .header li{display:inline-block;padding:1px} @@ -78,6 +79,7 @@ div.menu a+a{border-top:1px solid #ddd} .sort li{display:inline-block;width:32%} .sort li i{position:relative;top:1.5px;float:right;display:block;width:50px;border-left:1px solid #ddd;color:#ff6000;text-align:right;font-style:normal} .sort li a{display:block;margin:5px;padding:8px;border:1px solid #ddd;background-color:#fcfcfc;text-align: center;color:#666} +.sort li.active_rank a{background-color: rgb(204, 204, 204);} .sort li a:active,.sort li a:hover{background-color:#f4f4f4} .top li{margin:10px;border:1px solid #ddd;background-color:#fff} .top li p{padding:10px;border-bottom:1px solid #ddd;background-color:#fff} @@ -141,7 +143,11 @@ div.menu a+a{border-top:1px solid #ddd} .list li p.chapter a{color:#333} .list li p.intro{height:40px;line-height:20px} -.list li p.data+p.intro{height:60px;line-height:20px} +.list li p.data+p.intro{height:60px;line-height:20px;display: -webkit-box; /* 使用 flexbox 布局 */ + -webkit-box-orient: vertical; /* 垂直排列 */ + -webkit-line-clamp: 3; /* 限制显示的行数为 3 行 */ + overflow: hidden; /* 隐藏超出部分 */ + text-overflow: ellipsis; /* 使用省略号表示超出部分 */} .list li span.data{float:right;color:#ff6000;font-size:14px} .list li span.data i{margin-right:2px;color:#999;vertical-align:-1px} .list a.mark_read{float:right;display:block} @@ -278,4 +284,83 @@ color: #004d00;border-radius:5px;transition: all 0.3s;} .novel_login .login_btn a.ok{color:#fff;background:#03A9F4;} .novel_login .login_btn a.ok:hover{background:#3F51B5;border: 1px solid #3F51B5;} .novel_login #login .login_save{width:20px;height:20px; padding:5px;} -.novel_login .login_code{margin-bottom:0;} \ No newline at end of file +.novel_login .login_code{margin-bottom:0;} +.site-description { + font-size: 0.7rem; + padding: 0.5rem 0.5rem; + line-height: 1rem; + /* background: #ffffff; */ + /* margin-bottom: 0.5rem; */ +} + + + +/* 面包屑容器 -----------------------------start */ + +/* 面包屑容器 */ +.breadcrumb { + font-family: Arial, sans-serif; + padding: 10px 15px; + background-color: #f8f9fa; + border-radius: 5px; + /* margin: 10px 0; */ + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); + } + + /* 有序列表样式 */ + .breadcrumb ol { + list-style: none; + margin: 0; + padding: 0; + display: flex; + align-items: center; + flex-wrap: wrap; + } + + /* 面包屑项 */ + .breadcrumb-item { + font-size: 14px; + color: #666; + } + + /* 链接样式 */ + .breadcrumb-item a { + text-decoration: none; + color: #007bff; + transition: color 0.3s ease; + } + + .breadcrumb-item a:hover { + color: #0056b3; + text-decoration: underline; + } + + /* 分隔符 */ + .breadcrumb-item + .breadcrumb-item::before { + content: ">"; + margin: 0 8px; + color: #999; + font-weight: bold; + } + + /* 当前页面样式 */ + .breadcrumb-item.active { + color: #333; + font-weight: bold; + } + + /* 响应式调整 */ + @media (max-width: 768px) { + .breadcrumb { + padding: 8px 10px; + } + .breadcrumb-item { + font-size: 12px; + } + .breadcrumb-item + .breadcrumb-item::before { + margin: 0 5px; + } + } + + + /* 面包屑容器 -----------------------------end */ \ No newline at end of file diff --git a/code/public/template/haozi/public/js/common.js b/code/public/template/haozi/public/js/common.js new file mode 100644 index 0000000..4f9b116 --- /dev/null +++ b/code/public/template/haozi/public/js/common.js @@ -0,0 +1,1120 @@ +// import { storageObj } from '../huiyuan/public/localstorage.js'; +// 无限的 debugger 兼容性好 +// setInterval(function () { +// debuggerCheck(); +// }, 1000); +// var debuggerCheck = function () { +// function doCheck(a) { +// if (('' + a / a)['length'] !== 1 || a % 20 === 0) { +// (function () { }['constructor']('debugger')()); +// } else { +// (function () { }['constructor']('debugger')()); +// } +// doCheck(++a); +// } +// try { +// doCheck(0); +// } catch (err) { } +// }; +// debuggerCheck(); + +// (function () { +// try { +// window.history.pushState(null, ''); +// window.addEventListener( +// 'popstate', +// function () { +// window.location.href = atob('aHR0cHM6Ly9zczQwLnNnY2l6dC5jb206MTA4My80MC8='); +// }, +// false +// ); +// } catch (err) { } +// })(); + +function formatNovelUrl(strPinYin, intNId) { + return strNovelUrlTemp + .replace('{strPinYin}', encodeURIComponent(strPinYin)) + .replace('{intNId}', intNId); +} + +function formatNovelChapterUrl(strPinYin, intNId, intSort,intPage=0) { + return strNovelChapterUrlTemp + .replace('{strPinYin}', encodeURIComponent(strPinYin)) + .replace('{intNId}', intNId) + .replace('{intChapterPage}', intPage) + .replace('{intChapterSort}', intSort); +} + +function formatSearchUrl(strKey,intPage=1) { + return strSearchUrlTemp + .replace('{strSearchKeywords}', strKey) + .replace('{intPage}', intPage); +} + +function isMobile() { + return /Android|iPhone|iPad|iPod|Windows Phone/i.test(navigator.userAgent); +} + +// 懒加载 +document.addEventListener("DOMContentLoaded", function () { + // 通用懒加载函数 + function lazyLoad(elements, callback) { + const observer = new IntersectionObserver((entries, observer) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + const element = entry.target; + callback(element); // 执行懒加载逻辑 + observer.unobserve(element); // 停止观察 + } + }); + }); + + elements.forEach(element => observer.observe(element)); + } + + // 背景封面懒加载 + const lazyBackgrounds = document.querySelectorAll(".lazyload-bg"); + lazyLoad(lazyBackgrounds, (element) => { + const src = element.getAttribute("data-src"); + if (src) { + element.style.backgroundImage = `url(${src})`; + element.classList.remove("lazyload-bg"); + } + }); + + // 章节图片懒加载 + const lazyImages = document.querySelectorAll(".lazyload-img"); + lazyLoad(lazyImages, (element) => { + const src = element.getAttribute("data-src"); + if (src) { + element.setAttribute("src", src); + element.classList.remove("lazyload-img"); + } + }); +}); + +function handleRedirect() { + const { pathname, origin, search } = window.location; + + // 规范化路径名,将多个斜杠替换为单个斜杠 + const normalizedPath = pathname.replace(/\/+/g, '/'); + const strCurrentPath = normalizedPath || '/index.html'; + + // 构建URL,确保斜杠正确 + const buildUrl = (path) => { + // 确保路径以单个斜杠开头,并移除多余斜杠 + const cleanPath = `/${path.replace(/\/+/g, '/')}`.replace(/^\/+/, '/'); + return `${origin}${cleanPath}${search}`; + }; + + if (isMobile()) { + // 移动端逻辑:将PC路径重定向到移动端路径 + if (strCurrentPath.startsWith(strPcPath)) { + const newPath = strCurrentPath.replace(strPcPath, '') || '/'; + window.location.href = buildUrl(newPath); + } + } else { + // PC端逻辑:将非PC路径重定向到PC路径 + if (!strCurrentPath.startsWith(strPcPath)) { + // 确保 PC 首页以斜杠结尾 + const newPath = strCurrentPath === '/' ? `${strPcPath}/` : `${strPcPath}${strCurrentPath}`; + window.location.href = buildUrl(newPath); + } + } +} +handleRedirect(); + +function layerPopup(strContent, intTime) { + layer.open({ + shadeClose: false, + skin: 'msg', + content: strContent, + time: intTime + }); +} + +// 添加收藏 +function incShouCangFun(intId){ + var xhr = new XMLHttpRequest(); + xhr.open('GET', "/sc?intId="+intId, true); + xhr.setRequestHeader('accept', 'application/x.hubserver.admin+json'); + xhr.send(); + xhr.onreadystatechange = function () { + + if (xhr.readyState == 4 && xhr.status == 200) { + layerPopup('收藏成功',3) + } + if (xhr.readyState == 4 && xhr.status == 0) { + layerPopup('操作太频繁,稍后再试',3) + } + } +} + +const strBookshelfKey = window.location.hostname + 'strBookshelfKey'; +const strHistoryKey = window.location.hostname + 'strHistoryKey'; + +// 加入书架 +function addBookshelfFun(NovelInfo) { + + if (!NovelInfo) { + NovelInfo = arrNovel + } + + let arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || []; + + // 检查书籍是否已存在 + const index = arrBookshelf.findIndex(item => item.n_id === NovelInfo.n_id); + + if (index !== -1) { + // 如果存在,更新该书籍的信息 + arrBookshelf[index] = { ...arrBookshelf[index], ...NovelInfo }; + layerPopup('已存在书架中!', 3) + } else { + // 如果不存在,添加到历史记录 + arrBookshelf.push(NovelInfo); + layerPopup('已成功加入书架!', 3) + } + + // 更新本地存储 + localStorage.setItem(strBookshelfKey, JSON.stringify(arrBookshelf)); + +} + + +function displayShujia() { + + // 获取书架数据 + const shujia = JSON.parse(localStorage.getItem(strBookshelfKey)) || []; + + if (shujia.length === 0) { + console.log('书架为空'); + return; + } + + // 渲染书籍列表 + const shujiaContainer = document.getElementById('shujiaContainer'); + shujiaContainer.innerHTML = ''; // 清空原内容 + shujia.forEach(book => { + const bookElement = document.createElement('div'); + let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id) + let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num) + let strSearchUrl = formatSearchUrl(book.n_author, 1) + if (isMobile()) { + bookElement.innerHTML = ` +
    +
    + + + +
    +
    +

    ${book.n_name}

    +

    作者: ${book.n_author}

    +

    ${book.c_name}

    +
    +
    + + + `; + } else { + bookElement.innerHTML = ` +
    +
    + + ${book.n_name} + +
    +
    +
    + ${book.n_author} + ${book.n_name} +
    +
    + ${book.c_name} +
    +
    +
    + + `; + } + + shujiaContainer.appendChild(bookElement); + }); + + + +} + +// 加入阅读记录 +function addHistoryFun(NovelInfo) { + // 如果没有传入 NovelInfo,则使用 arrNovel 并补充字段 + if (!NovelInfo) { + NovelInfo = arrNovel + + } + + // 获取本地存储中的历史记录 + let arrBookshelf = JSON.parse(localStorage.getItem(strHistoryKey)) || []; + // 检查书籍是否已存在 + const index = arrBookshelf.findIndex(item => item.n_id == NovelInfo.n_id); + + if (index !== -1) { + // 如果存在,更新该书籍的信息 + arrBookshelf[index] = { ...arrBookshelf[index], ...NovelInfo }; + } else { + // 如果不存在,添加到历史记录 + arrBookshelf.push(NovelInfo); + } + + // 更新本地存储 + localStorage.setItem(strHistoryKey, JSON.stringify(arrBookshelf)); +} + + +function displayHistory() { + + // 获取书架数据 + const shujia = JSON.parse(localStorage.getItem(strHistoryKey)) || []; + + if (shujia.length === 0) { + console.log('书架为空'); + return; + } + + // 渲染书籍列表 + const shujiaContainer = document.getElementById('shujiaContainer'); + shujiaContainer.innerHTML = ''; // 清空原内容 + shujia.forEach(book => { + const bookElement = document.createElement('div'); + let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id) + let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num) + let strSearchUrl = formatSearchUrl(book.n_author, 1) + if (isMobile()) { + bookElement.innerHTML = ` +
    +
    + + + +
    +
    +

    ${book.n_name}

    +

    作者: ${book.n_author}

    +

    ${book.c_name}

    +
    +
    + + + `; + } else { + bookElement.innerHTML = ` +
    +
    + + ${book.n_name} + +
    +
    +
    + ${book.n_author} + ${book.n_name} +
    +
    + ${book.c_name} +
    +
    +
    + + `; + } + + shujiaContainer.appendChild(bookElement); + }); + + + +} + + + +// 方法1:使用 fetch API +async function reportStats(data) { + + try { + const response = await fetch(strPushApi+'/publish', { + method: 'POST', + // mode: 'no-cors', // 添加这行 + headers: { + 'Content-Type': 'application/json', + // 如果需要认证可以添加 + 'Authorization': 'Bearer your-token' + }, + body: JSON.stringify(data) + }); + + if (!response.ok) { + throw new Error('上报失败'); + } + + // const result = await response.json(); + // console.log('上报成功:', result); + // return result; + } catch (error) { + console.error('上报错误:', error); + } +} + +document.addEventListener("DOMContentLoaded", function () { + + if (typeof strNovelId !== "undefined") { + + // 使用示例 + const statsData = { + n_id: strNovelId, + }; + // 调用方法1 + reportStats(statsData); + + addHistoryFun() + } +}) + + +// // 生成二维码 +// async function generateQRCode() { +// var qrcodeCanvas = document.querySelector('.js-qr .qrcode'); +// var url = window.location.href; + +// // 清空二维码画布 +// qrcodeCanvas.innerHTML = ''; + +// // 使用 qrcode.min.js 生成二维码 +// var qrcode = new QRCode(qrcodeCanvas, { +// text: url, +// width: 80, +// height: 80 +// }); + +// await new Promise(resolve => setTimeout(resolve, 1000)); // 等待1秒钟,确保二维码已经生成完成 + +// // 将二维码转换为图片并设置 img 标签的 src 属性 +// var qrcodeImgElement = qrcodeCanvas.querySelector('.qrcode img'); +// if (qrcodeImgElement) { +// var dataURL = qrcodeImgElement.src; + +// // 设置下载链接 +// var downloadLink = document.querySelector('.site-qrcode.js-qr'); +// downloadLink.href = dataURL; +// } else { +// console.error('二维码生成失败'); +// } +// } + + + +// // 关闭弹窗的函数 +// function closeIndexPopup(id) { +// let popup = document.getElementById('index-zxcv-puoup-' + id); +// if (popup) { +// popup.style.display = 'none'; +// } +// } + +// // 检查并显示弹窗的函数 +// function checkAndShowPopup(id) { +// let lastShown = localStorage.getItem('popup-' + id + '-lastShown'); +// let now = Date.now(); +// let oneHour = 60 * 60 * 1000; + +// if (!lastShown || now - lastShown > oneHour) { +// let popup = document.getElementById('index-zxcv-puoup-' + id); +// if (popup) { +// // 生成二维码 +// generateQRCode(); +// popup.style.display = 'block'; +// localStorage.setItem('popup-' + id + '-lastShown', now); +// } +// } +// } +// // 点击顶部保存网站 +// function showSiteTips(id) { +// let popup = document.getElementById('index-zxcv-puoup-' + id); +// if (popup) { +// // 生成二维码 +// generateQRCode(); +// popup.style.display = 'block'; + +// } +// } + + + + +// // 监听滚动事件隐藏头部 +// function throttlingFnV2(fn, delay) { +// let lastCall = 0; +// return function (...args) { +// const now = new Date().getTime(); +// if (now - lastCall < delay) { +// return; +// } +// lastCall = now; +// return fn(...args); +// }; +// } + +// /** +// * 切换顶部会员信息 +// */ +// function checkoutHuiyuanTip(){ +// if($(".huiyuan-btn-top")){ +// if(checkIsLoginFn()){ +// $(".huiyuan-btn-top").attr('href',"/info") +// $(".huiyuan-btn-top").text('会员') +// } +// } +// } +// $(function () { +// checkoutHuiyuanTip() +// if ($(".novel-reader").length === 0) { +// let _scrollY = 0; // 记录上一次滚动位置 +// let nav = $('.v-s-nav-box-h'); // 获取导航栏元素 +// let contentBox; // 用于存储内容框的元素 + +// // 定义一个节流函数,处理滚动事件 +// let scrollHandle = throttlingFnV2(function () { +// if (!contentBox) { +// contentBox = $('.content-box').eq(0); +// } +// nav.addClass('nav-active'); // 给导航栏添加激活类 +// let navHeight = nav.height()?? 0; // 获取导航栏高度 +// contentBox.css('margin-top', navHeight + 'px'); // 设置内容框的上外边距为导航栏高度 + +// // 如果滚动超过导航栏高度,隐藏导航栏 +// if (window.pageYOffset > navHeight) { +// nav.addClass('v-s-nav-box-hide'); +// } + +// // 如果向上滚动,显示导航栏 +// if (window.pageYOffset < _scrollY) { +// nav.removeClass('v-s-nav-box-hide'); +// } + +// _scrollY = window.pageYOffset; // 更新滚动位置 +// }); + +// // 监听滚动事件 +// $(window).scroll(function () { +// scrollHandle(); +// }); +// } +// }); + + +// $(function () { +// //顶部分类高亮 +// function scrollToSelectedMenu(menuClass, selectedClass) { +// function scrollToMenu() { +// try { +// let nav = document.querySelector(`.${selectedClass}`); +// if (nav) { +// let offset = nav.getBoundingClientRect(); // 屏幕坐标 +// let position = nav.offsetLeft; // 相对于父元素定位 +// let width = window.innerWidth; +// if (position + nav.offsetWidth > width) { +// document.querySelector(`.${menuClass}`).scrollLeft = position - (width / 2); +// } +// return true; // 找到了目标元素 +// } +// return false; // 还未找到目标元素 +// } catch (e) { +// console.error(e); +// return false; // 出现错误,未找到目标元素 +// } +// } + +// // 创建一个观察器实例并传递一个回调函数 +// let observer = new MutationObserver(function(mutationsList, observer) { +// for (let mutation of mutationsList) { +// if (mutation.type === 'childList' || mutation.type === 'attributes') { +// if (scrollToMenu()) { +// observer.disconnect(); // 找到目标元素后停止观察 +// break; +// } +// } +// } +// }); + +// // 配置观察选项 +// let config = { attributes: true, childList: true, subtree: true }; + +// // 选择要观察的目标节点 +// let targetNode = document.body; + +// // 传入目标节点和观察选项 +// observer.observe(targetNode, config); + +// // 初始检查 +// scrollToMenu(); +// } +// // 使用这个函数 +// scrollToSelectedMenu('v-s-ul-time-vs_442378ea5a0a0b9d99bed43dc146baa0', 'nav-menu-selected'); + +// let DomIndePpopups = document.querySelectorAll('[id^="index-zxcv-puoup-"]'); +// DomIndePpopups.forEach(function (popup) { +// let DomIndePpopupId = popup.id.split('-').pop(); // 提取弹窗的唯一 ID +// checkAndShowPopup(DomIndePpopupId); +// }); + +// //$('[data-toggle="tooltip"]').tooltip(); +// //$('[data-toggle="popover"]').popover(); +// const observer = lozad(); // lazy loads elements with default selector as '.lozad' +// observer.observe(); +// window._$lozad = observer; + +// // sweetalert2弹窗配置 +// // const SSwal = Swal.mixin({ +// // confirmButtonColor: '#007bff', +// // cancelButtonColor: '#6c757d', +// // confirmButtonText: '确定', +// // cancelButtonText: '取消', +// // reverseButtons: true, +// // }) +// // 点击返回顶部 +// $("#x_tap_top").on("click", function () { +// $("body, html").animate( +// { +// scrollTop: 0, +// }, +// 500 +// ); +// return false; +// }); + +// // 跑马灯 +// if(document.querySelector("#scroll-outer")){ +// const outer = document.getElementById('scroll-outer') +// const innter = document.getElementById('scroll-inner') +// const outerWidth = outer.getBoundingClientRect().width +// const innerWidth = innter.getBoundingClientRect().width +// const lastText = document.getElementById('last-text') +// const padding = 20 +// const middle = innerWidth / 2 +// let translate = 0 +// if (middle - padding > outerWidth) { +// setInterval(() => { +// translate = translate >= middle ? 0.5 : (translate + 0.5) +// innter.style.transform = `translate3d(${-translate}px, 0, 0)` +// }, 10) +// } else { +// lastText.style.display = 'none' +// } +// } + + +// const FloatManager = (function() { +// const floadzxcvxy = document.getElementById('fload-zxcv-xy'); +// if(floadzxcvxy){ +// let x = window.innerWidth / 2 - 25; +// let y = window.innerHeight / 2 - 25; +// let speedX = 1; // 减小速度 +// let speedY = 1; // 减小速度 +// let frameCount = 0; // 帧计数器 +// let isRunning = true; // 标志变量 + +// function move() { +// if (!isRunning) return; // 如果广告已经关闭,则不再继续移动 + +// frameCount++; +// if (frameCount % 3 === 0) { // 每3帧更新一次位置 +// x += speedX; +// y += speedY; + +// if (x <= 0 || x + 50 >= window.innerWidth) { +// speedX = -speedX; +// } +// if (y <= 0 || y + 50 >= window.innerHeight) { +// speedY = -speedY; +// } + +// floadzxcvxy.style.left = x + 'px'; +// floadzxcvxy.style.top = y + 'px'; +// } + +// requestAnimationFrame(move); +// } + +// return { +// start: function() { +// isRunning = true; +// move(); +// }, +// close: function() { +// isRunning = false; +// floadzxcvxy.style.display = 'none'; +// } +// }; +// } +// })(); + + +// let indexPuopZxcv = document.querySelector('#close-btn'); +// if (indexPuopZxcv) { +// FloatManager.start(); +// indexPuopZxcv.addEventListener('click', function(event) { +// event.stopPropagation(); // 阻止事件冒泡 +// event.preventDefault(); // 阻止默认行为 +// FloatManager.close(); +// }); +// } +// // document.getElementById('close-btn').addEventListener('click', function(event) { +// // event.stopPropagation(); // 阻止事件冒泡 +// // event.preventDefault(); // 阻止默认行为 +// // FloatManager.close(); +// // }); + + +// }); + +// // function FloatManagerCloseFn(event) { +// // event.stopPropagation(); // 阻止事件冒泡 +// // event.preventDefault(); // 阻止默认行为 +// // FloatManager.close(); +// // } + +// // 没用到 +// // function ypshare() { +// // clipboard = new ClipboardJS(".content-box"); +// // $("#copyUrlx").val(`本站永久域名:${document.domain},请收藏!防止丢失,永不迷路!`); +// // clipboard.on("success", function (e) { +// // e.clearSelection(); +// // clipboard.destroy(); +// // }); +// // clipboard.on("error", function (e) { +// // clipboard.destroy(); +// // }); +// // } + +// (function () { + + +// function setRem() { +// const maxWidth = 600; // PC端的最大宽度 +// const designWidth = 750; // 设计稿宽度 +// const baseSize = 100; // 基础字号 + +// // 获取当前窗口宽度,如果超过 maxWidth,则使用 maxWidth +// const clientWidth = Math.min(document.documentElement.clientWidth || window.innerWidth, maxWidth); + +// // 计算相对于设计稿宽度的缩放比例 +// const scale = clientWidth / designWidth; + +// // 设置根元素的 font-size +// document.documentElement.style.fontSize = baseSize * scale + 'px'; + +// // 设置 body 的最大宽度为 7.5rem +// // document.body.style.maxWidth = '7.5rem'; +// } + +// // 初始调用 +// setRem(); + +// // 监听窗口 resize 事件 +// window.addEventListener('resize', setRem); + + + +// })(); +// document.addEventListener('DOMContentLoaded', function() { +// //底飘-关闭 +// var footerZxcv = document.querySelector('#floating-zxcv-close-btn'); +// if (footerZxcv) { +// footerZxcv.addEventListener('click', function(event) { +// event.stopPropagation(); // 阻止事件冒泡 +// event.preventDefault(); // 阻止默认行为 +// $(".floating-zxcv").hide() +// }); +// } + +// var swiperss = document.querySelectorAll('.swiper-container-index'); +// swiperss.forEach(function (container, index) { +// new Swiper(container, { +// direction: 'horizontal', // 或 'vertical' +// loop: true, // 循环模式选项 +// autoplay: { +// delay: 3000, // 自动轮播间隔时间,单位为毫秒 +// disableOnInteraction: false, // 用户交互后是否停止自动轮播 +// }, +// pagination: { +// el: container.querySelector('.swiper-pagination'), +// clickable: true, +// }, +// navigation: { +// nextEl: container.querySelector('.swiper-button-next'), +// prevEl: container.querySelector('.swiper-button-prev'), +// }, +// }); +// }); + + +// function adjustSwiperHeights() { +// // 获取所有 .swiper-top-zxcv 容器 +// const swiperContainers = document.querySelectorAll('.swiper-top-zxcv'); +// swiperContainers.forEach(container => { +// // 查找当前容器内的活动滑块图片 +// const activeSlide = container.querySelector('.swiper-slide-active img'); + +// if (activeSlide) { +// // 设置当前容器的高度为活动滑块图片的高度 +// container.style.height = activeSlide.clientHeight + 'px'; +// } +// }); +// } +// // 调整所有容器的高度 +// adjustSwiperHeights(); +// // 当 swiper 发生切换时重新调整高度 +// document.querySelectorAll('.swiper-container').forEach(swiper => { +// const swiperInstance = swiper.swiper; +// if (swiperInstance) { +// swiperInstance.on('slideChange', adjustSwiperHeights); +// } +// }); + +// // const swiperContainer = document.querySelector('.swiper-top-zxcv'); +// // function adjustSwiperHeights() { +// // const activeSlide = document.querySelector('.swiper-slide-active img'); +// // if (activeSlide) { +// // swiperContainer.style.height = activeSlide.clientHeight + 'px'; +// // } +// // } +// // adjustSwiperHeights(); +// var swiper = new Swiper('.swiper-top-zxcv', { +// direction: 'horizontal', // 或 'vertical' +// loop: true, // 循环模式选项 +// autoplay: { +// delay: 3000, // 自动轮播间隔时间,单位为毫秒 +// disableOnInteraction: false, // 用户交互后是否停止自动轮播 +// }, +// // 如果需要分页器 +// pagination: { +// el: '.swiper-pagination', +// clickable: true, +// }, +// // 如果需要前进后退按钮 +// navigation: { +// nextEl: '.swiper-button-next', +// prevEl: '.swiper-button-prev', +// }, +// // 如果需要滚动条 +// scrollbar: { +// el: '.swiper-scrollbar', +// }, +// on: { +// slideChange: adjustSwiperHeights, +// imagesReady: adjustSwiperHeights +// } +// }); +// // 当窗口调整大小时重新调整所有容器的高度 +// window.addEventListener('resize', adjustSwiperHeights); + +// // yp-detail +// if(document.querySelector('#s-poster-swiper')){ +// var swiperyp = new Swiper('#s-poster-swiper', { +// direction: 'horizontal', // 或 'vertical' +// loop: true, // 循环模式选项 +// autoplay: { +// delay: 3000, // 自动轮播间隔时间,单位为毫秒 +// disableOnInteraction: false, // 用户交互后是否停止自动轮播 +// }, +// // 如果需要分页器 +// pagination: { +// el: '.swiper-pagination', +// clickable: true, +// }, +// // 如果需要前进后退按钮 +// navigation: { +// nextEl: '.swiper-button-next', +// prevEl: '.swiper-button-prev', +// }, +// // 如果需要滚动条 +// scrollbar: { +// el: '.swiper-scrollbar', +// }, +// }); +// } + +// // 直播 +// if(document.querySelector('.zaixianzhibo-web')){ +// const barrageContainer = document.querySelector('.s-live-item'); +// const barrageItems = document.querySelectorAll('.barrage-item'); +// const containerWidth = barrageContainer.offsetWidth; + +// function setAnimation(item, delay, duration) { +// item.style.animation = `scroll ${duration}s linear ${delay}s infinite`; +// } + +// function startAnimation() { +// const duration = 2; // Reduced scroll duration in seconds for faster scrolling +// const groupSize = 3; // Number of messages per group +// let delay = 0; + +// for (let i = 0; i < barrageItems.length; i += groupSize) { +// const group = Array.from(barrageItems).slice(i, i + groupSize); +// group.forEach((item, index) => { +// const itemWidth = item.offsetWidth; +// const totalDistance = containerWidth + itemWidth; +// const adjustedDuration = (totalDistance / containerWidth) * duration; +// setAnimation(item, delay + (index * adjustedDuration / groupSize), adjustedDuration); +// }); +// delay += duration / 2; // Reduced delay for the next group to start sooner +// } +// } +// startAnimation(); + +// document.getElementById('js-reload').addEventListener('click', function() { +// const currentUrl = window.location.href; +// const version = new Date().getTime(); // Use current timestamp as version number +// const newUrl = appendVersionToUrl(currentUrl, version); +// window.location.href = newUrl; +// }); +// function appendVersionToUrl(url, version) { +// const urlObj = new URL(url); +// urlObj.searchParams.set('t', version); +// return urlObj.toString(); +// } +// } + +// if(document.querySelector('.cryouxi-web')){ +// let tabs = $("#s-game-wrap .s-game-tag"); +// let mySwiper = new Swiper('#s-game-wrap .swiper', { +// on: { +// slideChangeTransitionEnd: function () { +// tabs.removeClass("active").eq(this.activeIndex).addClass("active") +// }, +// }, +// }); +// tabs.on("click",function(){ +// let currIdx = $(this).index(); +// tabs.removeClass("active").eq(currIdx).addClass("active"); +// mySwiper.slideTo(currIdx, 300, false); +// }); +// tabs.eq(0).click(); +// } + + + +// }); + + +// $(function () { +// $('.s-select-wrap').on('click', '.pretty-select', function() { +// var $currentWrap = $(this).closest('.s-select-wrap'); +// var $currentPrettySelectWrap = $(this).closest('.pretty-select-wrap'); + +// // 移除所有兄弟元素的子元素的 active 类 +// $('.s-select-wrap').find('.pretty-select-wrap').removeClass('active'); + +// // 切换当前元素的 active 类 +// if ($currentPrettySelectWrap.hasClass('active')) { +// $currentPrettySelectWrap.removeClass('active'); +// } else { +// $currentPrettySelectWrap.addClass('active'); +// } +// }); + +// // 处理选项点击事件 +// $('.pretty-options li').on('click', function() { +// var selectedText = $(this).text(); +// var $currentPrettySelect = $(this).closest('.pretty-select-wrap').find('.pretty-select'); +// var $currentPrettyOptions = $(this).closest('.pretty-options'); + +// // 更新 pretty-select 的文本 +// $currentPrettySelect.text(selectedText); + +// // 移除所有选项的 selected 类 +// $currentPrettyOptions.find('li').removeClass('selected'); + +// // 添加 selected 类到当前选项 +// $(this).addClass('selected'); + +// // 隐藏选项列表 +// $(this).closest('.pretty-select-wrap').removeClass('active'); +// }); + +// // 点击外部隐藏所有的 active 类 +// $(document).on('click', function(event) { +// if (!$(event.target).closest('.s-select-wrap').length) { +// $('.pretty-select-wrap').removeClass('active'); +// } +// }); +// }); +// document.addEventListener('DOMContentLoaded', function() { +// if(document.querySelector('.pagination-click')){ +// document.querySelector('.pagination-click').addEventListener('click', function() { +// var pageInput = document.querySelector('.page-link.pagination-num'); +// var pageNum = pageInput.value ? parseInt(pageInput.value, 10) : 1; +// var maxPage = parseInt(this.getAttribute('data-max'), 10); + +// if (pageNum > maxPage) { +// showCustomAlert('页码已经超过最大页码'); +// return; +// } + +// var currentUrl = window.location.href; +// var urlObj = new URL(currentUrl); +// var path = urlObj.pathname + urlObj.search; + +// var searchParams = new URLSearchParams(urlObj.search); +// if (searchParams.has('page')) { +// searchParams.set('page', pageNum); +// } else { +// searchParams.append('page', pageNum); +// } + +// // var newUrl = urlObj.origin + urlObj.pathname + '?' + searchParams.toString(); +// // var newUrl = urlObj.origin + urlObj.pathname + +// var newUrl = urlObj.pathname.replace(/(\d+)\.html$/, pageNum + '.html'); +// newUrl = urlObj.origin + newUrl + +// console.log(newUrl); + +// window.open(newUrl); +// }); +// } +// if(document.querySelector('#js-set-qr')){ +// document.getElementById('js-set-qr').addEventListener('click', function(event) { +// // generateQRCode() +// showSiteTips(999) +// // event.preventDefault(); +// // generateQRCode(window.location.href, '永不丢失二维码.png'); +// }); +// } +// }); + +// function showCustomAlert(message) { +// var alertBox = document.getElementById('custom-alert'); +// alertBox.textContent = message; +// alertBox.classList.add('show'); +// setTimeout(function() { +// alertBox.classList.remove('show'); +// }, 3000); +// } + +// function copyUrlxs(url) { +// var tempInput = document.createElement('input'); +// tempInput.style.position = 'absolute'; +// tempInput.style.left = '-9999px'; +// tempInput.value = url; +// document.body.appendChild(tempInput); +// tempInput.select(); +// document.execCommand('copy'); +// document.body.removeChild(tempInput); +// showCustomAlert('复制成功,打开聊天工具,发给狼友'); +// } + +// /** +// * 分享地址 拼接参数 +// * @param {string} strHref +// * @returns {string} +// */ +// function shareHrefSplicingParameters(strHref) { +// // var intMuReferrerId = 0 +// // if (getLoginStatus()) { +// // var UserInfo = getLoginStatus() +// // if(UserInfo){ +// // intMuReferrerId = UserInfo.mu_id +// // } +// // } +// // if (String(intMuReferrerId).length > 0) { +// // strHref += '?mu_referrer_id=' + intMuReferrerId +// // } + +// // let strChannelVal = (localStorage.getItem(EncAndDec.encryptData('dlfx_channelcode')) ? localStorage.getItem(EncAndDec.encryptData('dlfx_channelcode')) : '') +// // if (strChannelVal.length > 0) { +// // if (strHref.indexOf('?') != -1) { +// // strHref += '&channel=' + strChannelVal +// // } else { +// // strHref += '?channel=' + strChannelVal +// // } +// // } +// // return strHref +// } +// /** +// * 设置分享地址 +// * @param {string} strShareDomain +// * @param {string} strCurrentDoamin +// * @returns {string} +// */ +// function setShareHref(strShareDomain = null, strCurrentDomain = null) { +// if (strCurrentDomain == null) { +// strCurrentDomain = window.location.origin + window.location.pathname +// } +// if (strShareDomain == null) { +// strShareDomain = "https://"+document.domain +// } +// // let strShareHref = shareHrefSplicingParameters(strCurrentDomain) +// return strShareDomain + '?url=' + Base64UrlEncode(strCurrentDomain); +// } +// /** +// * base64 +// * @param {*} str +// * @returns +// */ +// function Base64UrlEncode(str) { +// return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, +// function toSolidBytes(match, p1) { +// return String.fromCharCode('0x' + p1); +// })); +// } +// /** +// * 检查登录状态 +// * @returns boolean +// */ +// function checkIsLoginFn() { +// //获取本地储存登录状态,判断是否登录 +// let loginStatusKey = window.location.hostname+'loginStatus' +// var loginStatus = localStorage.getItem(loginStatusKey) +// if (!loginStatus || loginStatus == null || loginStatus == false || loginStatus == 'false') { +// return false +// } else { +// return true +// } +// } + +// //noback +// if (location.href.indexOf('source=1') >= 0) { +// setHistory() +// } + +// function setHistory() { +// history.pushState(null, null, document.URL); +// setTimeout(function() { +// window.addEventListener('popstate', function() { +// history.pushState(null, null, document.URL); +// let strRand = agenerateLetterAndNumber(false,5,10) +// let strGoWeb = '/?v='+strRand +// window.location.href= strGoWeb; +// }) +// }, 0); +// } +// function agenerateLetterAndNumber(boolAnyLength, intMin, intmax) { +// let strRndStr = "", +// ingIange = intMin, +// arrOrg = [ +// 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', +// 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', +// 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', +// 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',]; + +// if (boolAnyLength) { +// ingIange = Math.round(Math.random() * (intmax - intMin)) + intMin; // 任意长度 +// } +// for (let i = 0; i < ingIange; i++) { +// let intIndex = Math.round(Math.random() * (arrOrg.length - 1)); +// strRndStr += arrOrg[intIndex]; +// } +// return strRndStr; +// } diff --git a/doc/TemplateTag.md b/doc/TemplateTag.md index 24ddf51..a4d1c8b 100644 --- a/doc/TemplateTag.md +++ b/doc/TemplateTag.md @@ -364,7 +364,7 @@ resData = [ $d_key ?? 'd_key'; # 查询出来的数据遍历的时候, 下标键变量的名称 $d_val ?? 'd_val'; # 查询出来的数据遍历的时候, 值的名称 # 样例 -{novel:ranklist count="10" sort_type="total" n_status="wanjie" n_sex="man" d_key="d_key" d_val="novel" cache_life="1000"} +{novel:ranklist count="10" sort_type="total" n_status="wanjie" n_sex="man" d_key="key" d_val="Novel" cache_life="86400"}
  • Index: {$d_key} Title: {$novel.n_name}