[{$Novel->n_category ?? ''}]
- {$arrGrm[$d_key+20]|raw}
- {$Novel->n_name}
+ {if !empty($arrGrm[$key+20])}
+ {$arrGrm[$key+20]|raw}
+ {/if}
+ {$Novel->n_name}
-
+
{$Novel->n_latest_chapter_name ?? ''}
@@ -141,11 +146,13 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
最新入库
-
- {novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
+ {novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
-
- {$arrGrm[$d_key+20]|raw}
+ {if !empty($arrGrm[$key+20])}
+ {$arrGrm[$key+20]|raw}
+ {/if}
{$Novel->n_name}
{$Novel->n_author}
diff --git a/code/app/home/view/haoZi/pc/getNovelCatalog.html b/code/app/home/view/haoZi/pc/getNovelCatalog.html
index 715367b..15e8449 100644
--- a/code/app/home/view/haoZi/pc/getNovelCatalog.html
+++ b/code/app/home/view/haoZi/pc/getNovelCatalog.html
@@ -136,7 +136,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
{foreach $resData.data as $key=>$Chapter}
- - {$arrGrm[$key]|raw} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} {$Chapter.c_name}
@@ -172,6 +174,23 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
- 《{$arrNovel.n_name}》最新章节 - {chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" + {chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
-
- {$arrGrm[$d_key]|raw}
+ {if !empty($arrGrm[$key])}
+ {$arrGrm[$key]|raw}
+ {/if}
{$Chapter.c_name}
@@ -149,10 +151,12 @@
- 《{$arrNovel.n_name}》正文目录
- {chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" + {chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}- - {$arrGrm[$d_key]|raw} + {if !empty($arrGrm[$key + 12])} + {$arrGrm[$key + 12]|raw} + {/if} {$Chapter.c_name} diff --git a/code/app/home/view/haoZi/pc/getNovelRank.html b/code/app/home/view/haoZi/pc/getNovelRank.html index 8b7420f..5efc7cc 100644 --- a/code/app/home/view/haoZi/pc/getNovelRank.html +++ b/code/app/home/view/haoZi/pc/getNovelRank.html @@ -58,15 +58,17 @@
-
- {novel:ranklist count="50" sort_type="$Request.route.strOrder" d_key="d_key" d_val="Novel" cache_life="86400"}
+ {novel:ranklist count="50" sort_type="$Request.route.strOrder" d_key="key" d_val="Novel" cache_life="86400"}
-
[{$Novel->n_category ?? ''}]
- {$arrGrm[$d_key+20]|raw}
- {$Novel->n_name}
+ {if !empty($arrGrm[$key])}
+ {$arrGrm[$key]|raw}
+ {/if}
+ {$Novel->n_name}
-
+
{$Novel->n_latest_chapter_name ?? ''}
@@ -79,11 +81,13 @@
最新入库
-
- {novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
+ {novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
-
- {$arrGrm[$d_key+20]|raw}
+ {if !empty($arrGrm[$key+50])}
+ {$arrGrm[$key+50]|raw}
+ {/if}
{$Novel->n_name}
{$Novel->n_author}
diff --git a/code/app/home/view/haoZi/pc/index.html b/code/app/home/view/haoZi/pc/index.html
index 9a5a155..92259bb 100644
--- a/code/app/home/view/haoZi/pc/index.html
+++ b/code/app/home/view/haoZi/pc/index.html
@@ -55,10 +55,13 @@
diff --git a/code/app/home/view/shikong/novel/getNovelInfo.html b/code/app/home/view/shikong/novel/getNovelInfo.html index 77401cd..141ea74 100644 --- a/code/app/home/view/shikong/novel/getNovelInfo.html +++ b/code/app/home/view/shikong/novel/getNovelInfo.html @@ -118,6 +118,7 @@ $Novel.n_id{extend name="baseH5" /}- {novel:list count="4" sort_type="tuijian" n_status="lianzai" d_key="d_key" d_val="Novel" p_val="page_data" + {novel:list count="4" sort_type="tuijian" n_status="lianzai" d_key="key" d_val="Novel" p_val="page_data" cache_life="86400"}@@ -182,6 +186,9 @@{/novel:list}+ {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if}{/novel:list}
经典推荐
-
- {novel:list count="9" sort_type="tuijian" n_status="wanjie" d_key="d_key" d_val="Novel"
+ {novel:list count="9" sort_type="tuijian" n_status="wanjie" d_key="key" d_val="Novel"
p_val="page_data" cache_life="86400"}
- - {$arrGrm[$d_key+4]|raw} + {if !empty($arrGrm[$key+4])} + {$arrGrm[$key+4]|raw} + {/if} {$Novel->n_name} {$Novel->n_author} @@ -120,10 +125,12 @@
-
- {novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
+ {novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="key" d_val="Novel"
p_val="page_data" cache_life="86400"}
- - {$arrGrm[$d_key+9+10*$start]|raw} + {if !empty($arrGrm[$key+9+10*$start])} + {$arrGrm[$key+9+10*$start]|raw} + {/if} {$Novel->n_name}/{$Novel->n_author} @@ -160,10 +167,12 @@
-
- {novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
+ {novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="key" d_val="Novel"
p_val="page_data" cache_life="86400"}
-
- {$arrGrm[$d_key+9+10*$start]|raw}
+ {if !empty($arrGrm[$key+9+10*$start])}
+ {$arrGrm[$key+9+10*$start]|raw}
+ {/if}
{$Novel->n_name}/{$Novel->n_author}
@@ -181,16 +190,18 @@
@@ -164,7 +168,7 @@ {php} $showIconStatus = "paixu"; {/php} - {include file="public/novel-list-flex" /} + {include file="public/novel-list-flex" start="45" /} {/novel:ranklist}
最近更新小说列表
-
- {novel:list count="50" sort_type="update" d_key="d_key" d_val="Novel" p_val="page_data"
+ {novel:list count="50" sort_type="update" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
-
[{$Novel->n_category ?? ''}]
- {$arrGrm[$d_key+100]|raw}
- {$Novel->n_name}
+ {if !empty($arrGrm[$key + 100])}
+ {$arrGrm[$key + 100]|raw}
+ {/if}
+ {$Novel->n_name}
- {$Novel->n_latest_chapter_name ?? ''}
+ {$Novel->n_latest_chapter_name ?? ''}
{$Novel->n_author}
{:date('m-d')}
@@ -201,11 +212,13 @@
diff --git a/code/app/home/view/haoZi/public/newsNovelList.html b/code/app/home/view/haoZi/public/newsNovelList.html index 237a138..26db6c5 100644 --- a/code/app/home/view/haoZi/public/newsNovelList.html +++ b/code/app/home/view/haoZi/public/newsNovelList.html @@ -1,4 +1,7 @@
最新入库小说
-
- {novel:list count="50" sort_type="news" d_key="d_key" d_val="Novel" p_val="page_data"
+ {novel:list count="50" sort_type="news" d_key="key" d_val="Novel" p_val="page_data"
cache_life="86400"}
-
- {$arrGrm[$d_key+100]|raw}
+ {if !empty($arrGrm[$key + 100])}
+ {$arrGrm[$key + 100]|raw}
+ {/if}
{$Novel->n_name}
{$Novel->n_author}
diff --git a/code/app/home/view/haoZi/pc/public/footer.html b/code/app/home/view/haoZi/pc/public/footer.html
index 9ee8e5a..0272d7f 100644
--- a/code/app/home/view/haoZi/pc/public/footer.html
+++ b/code/app/home/view/haoZi/pc/public/footer.html
@@ -1,30 +1,28 @@
-
-
-
+
\ No newline at end of file
diff --git a/code/app/home/view/haoZi/pc/user/index.html b/code/app/home/view/haoZi/pc/user/index.html
index 3554ff4..87deaa5 100644
--- a/code/app/home/view/haoZi/pc/user/index.html
+++ b/code/app/home/view/haoZi/pc/user/index.html
@@ -79,7 +79,9 @@
推荐作品
-
{novel:list count="10" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"}
- {$arrGrm[$key]|raw}
+ {if !empty($arrGrm[$key])}
+ {$arrGrm[$key]|raw}
+{/if}
-
diff --git a/code/app/home/view/haoZi/public/allChapterPage.html b/code/app/home/view/haoZi/public/allChapterPage.html
index 7e7a821..340ce7a 100644
--- a/code/app/home/view/haoZi/public/allChapterPage.html
+++ b/code/app/home/view/haoZi/public/allChapterPage.html
@@ -2,7 +2,9 @@
{volist name="$resData.p_data.pager" id="item"} {eq name="item.type" value="prev"} - {$arrGrm[$key]|raw} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} +{/if} {$item.label} @@ -25,7 +27,9 @@ {volist name="$resData.p_data.pager" id="item"} {eq name="item.type" value="next"} - {$arrGrm[$key]|raw} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} +{/if} {$item.label} diff --git a/code/app/home/view/haoZi/public/footer.html b/code/app/home/view/haoZi/public/footer.html index b85d085..4dab4af 100644 --- a/code/app/home/view/haoZi/public/footer.html +++ b/code/app/home/view/haoZi/public/footer.html @@ -16,14 +16,17 @@ {/site:forgelist}-
日排行|周排行|月排行|总排行|日推荐|周推荐|月推荐|总推荐|总收藏|最新入库|最新更新
-本站耗子小说网所有小说为转载作品,所有章节均由网友上传,转载至本站耗子小说网只是为了宣传本书让更多读者欣赏。
-Copyright © 耗子小说网www.hzpxw.net All Rights Reserved.
++ 日排行| + 周排行| + 月排行| + 总排行| + 总推荐| + 最新入库| + 最新更新 +
+本站{$DomainModel->d_name}所有小说为转载作品,所有章节均由网友上传,转载至本站{$DomainModel->d_name}只是为了宣传本书让更多读者欣赏。
+Copyright © {$DomainModel->d_name}{$DomainModel->d_domain} All Rights Reserved.
删除邮箱:{site:cfg code="YOU_XIANG" encode="false"/}
-
diff --git a/code/app/home/view/haoZi/public/allChapterPage.html b/code/app/home/view/haoZi/public/allChapterPage.html
index 7e7a821..340ce7a 100644
--- a/code/app/home/view/haoZi/public/allChapterPage.html
+++ b/code/app/home/view/haoZi/public/allChapterPage.html
@@ -2,7 +2,9 @@
-
- {$arrGrm[$d_key+100]|raw}
+ {if !empty($arrGrm[$key + 100])}
+ {$arrGrm[$key + 100]|raw}
+ {/if}
{$Novel->n_name}
{$Novel->n_author}
diff --git a/code/app/home/view/haoZi/pc/public/footer.html b/code/app/home/view/haoZi/pc/public/footer.html
index 9ee8e5a..0272d7f 100644
--- a/code/app/home/view/haoZi/pc/public/footer.html
+++ b/code/app/home/view/haoZi/pc/public/footer.html
@@ -1,30 +1,28 @@
-
-
-
+
\ No newline at end of file
diff --git a/code/app/home/view/haoZi/pc/user/index.html b/code/app/home/view/haoZi/pc/user/index.html
index 3554ff4..87deaa5 100644
--- a/code/app/home/view/haoZi/pc/user/index.html
+++ b/code/app/home/view/haoZi/pc/user/index.html
@@ -79,7 +79,9 @@
-
+ {if !empty($arrGrm[$key + [start]])}
+ {$arrGrm[$key+[start]]|raw}
+ {/if}
[{:date('m-d')}]
diff --git a/code/app/home/view/haoZi/public/novelListH.html b/code/app/home/view/haoZi/public/novelListH.html
index e2982d4..de71dcb 100644
--- a/code/app/home/view/haoZi/public/novelListH.html
+++ b/code/app/home/view/haoZi/public/novelListH.html
@@ -1,5 +1,8 @@
- + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
+ {if !empty($arrGrm[$key + [start]])}
+ {$arrGrm[$key+[start]]|raw}
+ {/if}
+ {if !empty($arrGrm[$key + [start]])}
+ {$arrGrm[$key+[start]]|raw}
+ {/if}
{$key+=2}
{$Novel.n_name}
diff --git a/code/app/home/view/haoZi/public/topNovelList.html b/code/app/home/view/haoZi/public/topNovelList.html index 9c1027b..fe2b5dd 100644 --- a/code/app/home/view/haoZi/public/topNovelList.html +++ b/code/app/home/view/haoZi/public/topNovelList.html @@ -1,5 +1,8 @@1 + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
-@@ -141,7 +145,7 @@ {php} $showIconStatus = true; {/php} - {include file="public/novel-list" /} + {include file="public/novel-list" start="35" /} {/novel:ranklist}
- 123456
+
+ 默认
- 我的书架 @@ -73,7 +73,7 @@
-
diff --git a/code/app/home/view/kuangYu/novel/getNovelCatalog.html b/code/app/home/view/kuangYu/novel/getNovelCatalog.html
index 87e2d11..8211088 100644
--- a/code/app/home/view/kuangYu/novel/getNovelCatalog.html
+++ b/code/app/home/view/kuangYu/novel/getNovelCatalog.html
@@ -142,7 +142,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
-
{volist name="resData.data" id="Chapter" key="key"}
- - {$arrGrm[$key]|raw} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} {$Chapter.c_name} diff --git a/code/app/home/view/kuangYu/pc/getNovelCatalog.html b/code/app/home/view/kuangYu/pc/getNovelCatalog.html index 0e914c4..914294d 100644 --- a/code/app/home/view/kuangYu/pc/getNovelCatalog.html +++ b/code/app/home/view/kuangYu/pc/getNovelCatalog.html @@ -137,7 +137,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
-
- {$arrGrm[$key]|raw}
+ {if !empty($arrGrm[$key])}
+ {$arrGrm[$key]|raw}
+{/if}
{$Chapter.c_name}
diff --git a/code/app/home/view/kuangYu/pc/getNovelChapter.html b/code/app/home/view/kuangYu/pc/getNovelChapter.html index 38b2bfa..8e87340 100644 --- a/code/app/home/view/kuangYu/pc/getNovelChapter.html +++ b/code/app/home/view/kuangYu/pc/getNovelChapter.html @@ -151,7 +151,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} -
- 123456
+ 默认
{$arrGrm[16]|raw} @@ -206,7 +206,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} {$arrNovel.n_name} - {$arrNovel.n_author} + {$arrNovel.n_author} 2000字 {$arrChapter.created_at ?? ''} diff --git a/code/app/home/view/kuangYu/pc/getNovelInfo.html b/code/app/home/view/kuangYu/pc/getNovelInfo.html index 140093d..4e6f453 100644 --- a/code/app/home/view/kuangYu/pc/getNovelInfo.html +++ b/code/app/home/view/kuangYu/pc/getNovelInfo.html @@ -210,7 +210,9 @@@@ -104,7 +108,7 @@{chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}- {$arrGrm[$key]|raw} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} {$Chapter.c_name} {$Chapter.created_at ?? '1天前'} diff --git a/code/app/home/view/kuangYu/pc/public/endNovelList.html b/code/app/home/view/kuangYu/pc/public/endNovelList.html index 15fc07d..c9f6ce5 100644 --- a/code/app/home/view/kuangYu/pc/public/endNovelList.html +++ b/code/app/home/view/kuangYu/pc/public/endNovelList.html @@ -1,5 +1,7 @@
- - {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
- {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
{$arrGrm[3]|raw} diff --git a/code/app/home/view/shikong/index/index.html b/code/app/home/view/shikong/index/index.html index 236bd0c..a0b3231 100644 --- a/code/app/home/view/shikong/index/index.html +++ b/code/app/home/view/shikong/index/index.html @@ -1,4 +1,8 @@ {extend name="baseH5" /} + +{block name="get-data"} +{site:grm page_code="h5_index" diff="0" num="100" 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} @@ -69,7 +73,7 @@- {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if} 「{$Novel->n_category ?? ''}」 {$Novel.n_name ?? ''} diff --git a/code/app/home/view/kuangYu/pc/public/indexBoyNewsList.html b/code/app/home/view/kuangYu/pc/public/indexBoyNewsList.html index 17ac3aa..e0a78e3 100644 --- a/code/app/home/view/kuangYu/pc/public/indexBoyNewsList.html +++ b/code/app/home/view/kuangYu/pc/public/indexBoyNewsList.html @@ -1,7 +1,9 @@
+ {if !empty($arrGrm[$key + [start]])} {$arrGrm[$key+[start]]|raw} + {/if} {$Novel->n_name ?? ''} diff --git a/code/app/home/view/kuangYu/pc/public/indexBoyNewsOne.html b/code/app/home/view/kuangYu/pc/public/indexBoyNewsOne.html index 93d48ce..97bb8f8 100644 --- a/code/app/home/view/kuangYu/pc/public/indexBoyNewsOne.html +++ b/code/app/home/view/kuangYu/pc/public/indexBoyNewsOne.html @@ -1,7 +1,9 @@
-->+ {if !empty($arrGrm[$key + [start]])} {$arrGrm[$key+[start]]|raw} + {/if} {$Novel.n_name ?? ''}
diff --git a/code/app/home/view/kuangYu/pc/public/indexBoyRankList.html b/code/app/home/view/kuangYu/pc/public/indexBoyRankList.html index 2963c9c..a069975 100644 --- a/code/app/home/view/kuangYu/pc/public/indexBoyRankList.html +++ b/code/app/home/view/kuangYu/pc/public/indexBoyRankList.html @@ -2,7 +2,9 @@ {$key+=1}+ {if !empty($arrGrm[$key + [start]])} {$arrGrm[$key+[start]]|raw} + {/if} {$Novel.n_name ?? ''} diff --git a/code/app/home/view/kuangYu/pc/public/indexBoyRankOne.html b/code/app/home/view/kuangYu/pc/public/indexBoyRankOne.html index 3f02d19..c9591c2 100644 --- a/code/app/home/view/kuangYu/pc/public/indexBoyRankOne.html +++ b/code/app/home/view/kuangYu/pc/public/indexBoyRankOne.html @@ -2,7 +2,9 @@ 1
+ {if !empty($arrGrm[$key + [start]])} {$arrGrm[$key+[start]]|raw} + {/if} {$Novel.n_name ?? ''}
diff --git a/code/app/home/view/kuangYu/pc/public/indexNewsUpdateList.html b/code/app/home/view/kuangYu/pc/public/indexNewsUpdateList.html index 6980311..3809978 100644 --- a/code/app/home/view/kuangYu/pc/public/indexNewsUpdateList.html +++ b/code/app/home/view/kuangYu/pc/public/indexNewsUpdateList.html @@ -5,7 +5,9 @@ {$Novel->n_category ?? ''}- {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if} {$Novel.n_name ?? ''}
diff --git a/code/app/home/view/kuangYu/pc/public/shukuNovelList.html b/code/app/home/view/kuangYu/pc/public/shukuNovelList.html index 7bb36ad..4a6d945 100644 --- a/code/app/home/view/kuangYu/pc/public/shukuNovelList.html +++ b/code/app/home/view/kuangYu/pc/public/shukuNovelList.html @@ -1,5 +1,7 @@- - {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
diff --git a/code/app/home/view/kuangYu/pc/public/swiperListImg.html b/code/app/home/view/kuangYu/pc/public/swiperListImg.html
index 7e2d8b8..7864897 100644
--- a/code/app/home/view/kuangYu/pc/public/swiperListImg.html
+++ b/code/app/home/view/kuangYu/pc/public/swiperListImg.html
@@ -1,5 +1,7 @@
- - {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
推荐作品
-
{novel:list count="10" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"}
- {$arrGrm[$key]|raw}
+ {if !empty($arrGrm[$key])}
+ {$arrGrm[$key]|raw}
+{/if}
-
diff --git a/code/app/home/view/kuangYu/public/allChapterPage.html b/code/app/home/view/kuangYu/public/allChapterPage.html
index f6a5274..5535fd5 100644
--- a/code/app/home/view/kuangYu/public/allChapterPage.html
+++ b/code/app/home/view/kuangYu/public/allChapterPage.html
@@ -1,36 +1,38 @@
{if !empty($resData.p_data.pager)}
- +{/if} \ No newline at end of file diff --git a/code/app/home/view/kuangYu/public/novelListH.html b/code/app/home/view/kuangYu/public/novelListH.html index e563bfd..2bb9039 100644 --- a/code/app/home/view/kuangYu/public/novelListH.html +++ b/code/app/home/view/kuangYu/public/novelListH.html @@ -2,7 +2,9 @@+ {volist name="$resData.p_data.pager" id="item"} + {eq name="item.type" value="prev"} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} + + {$item.label} + + {/eq} + {/volist} + ++ + + {volist name="$resData.p_data.pager" id="item"} + {eq name="item.type" value="next"} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} + + {$item.label} + + {/eq} + {/volist} +
- {$arrGrm[$key+[start]]|raw}
+ {if !empty($arrGrm[$key + [start]])}
+ {$arrGrm[$key+[start]]|raw}
+ {/if}
{$Novel.n_name ?? ''}
diff --git a/code/app/home/view/kuangYu/public/novelListRank.html b/code/app/home/view/kuangYu/public/novelListRank.html index 1c81f8f..112b8f5 100644 --- a/code/app/home/view/kuangYu/public/novelListRank.html +++ b/code/app/home/view/kuangYu/public/novelListRank.html @@ -1,6 +1,8 @@ \ No newline at end of file diff --git a/code/app/home/view/kuangYu/public/novelListS.html b/code/app/home/view/kuangYu/public/novelListS.html index 553f7a8..d37b0c1 100644 --- a/code/app/home/view/kuangYu/public/novelListS.html +++ b/code/app/home/view/kuangYu/public/novelListS.html @@ -1,5 +1,7 @@+ {if !empty($arrGrm[$key + [start]])} {$arrGrm[$key+[start]]|raw} + {/if} {$Novel.n_name ?? ''}
{$key}- - {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
- 123456 + 默认@@ -89,7 +93,7 @@ $showIconStatus = "zhuantai"; {/php} {novel:list count="8" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"} - {include file="public/novel-list-flex" /} + {include file="public/novel-list-flex" start="9" /} {/novel:list}{novel:list count="8" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="86400"} - {include file="public/novel-list" /} + {include file="public/novel-list" start="0" /} {/novel:list}@@ -123,7 +127,7 @@ $showIconStatus = "zhuantai"; {/php} {novel:list count="8" sort_type="news" d_key="key" d_val="Novel" cache_life="86400"} - {include file="public/novel-list-flex" /} + {include file="public/novel-list-flex" start="24" /} {/novel:list}{novel:list count="8" sort_type="update" d_key="key" d_val="Novel" cache_life="86400"} - {include file="public/novel-list" showIconStatus=true/} + {include file="public/novel-list" start="16" showIconStatus=true/} {/novel:list} - - {$arrGrm[$key+[start]]|raw} + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
-
{foreach $resData.data as $key => $Chapter }
-
123456+默认 - + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
-
[{$Novel->n_category ?? ''}]
- {$arrGrm[$d_key+100]|raw}
- {$Novel->n_name}
+ {if !empty($arrGrm[$key + 100])}
+ {$arrGrm[$key + 100]|raw}
+ {/if}
+ {$Novel->n_name}
- {$Novel->n_latest_chapter_name ?? ''}
+ {$Novel->n_latest_chapter_name ?? ''}
{$Novel->n_author}
{:date('m-d')}
@@ -201,11 +212,13 @@
{novel:list count="20" sort_type="update" d_key="key" d_val="Novel" cache_life="86400"} + {if !empty($arrGrm[$key + 55])} + {$arrGrm[$key+55]|raw} + {/if}+ {$arrGrm[2]|raw}@@ -191,6 +192,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /} {/if}{$Novel.n_name}
diff --git a/code/app/home/view/shikong/novel/getLibrary.html b/code/app/home/view/shikong/novel/getLibrary.html index 657b806..1566a4a 100644 --- a/code/app/home/view/shikong/novel/getLibrary.html +++ b/code/app/home/view/shikong/novel/getLibrary.html @@ -160,7 +160,7 @@ button_num="8" cache_life="86400" func="generateCategoryPager" export_name="resD
diff --git a/code/app/home/view/shikong/novel/getNovelCatalog.html b/code/app/home/view/shikong/novel/getNovelCatalog.html index 31b5b33..e137510 100644 --- a/code/app/home/view/shikong/novel/getNovelCatalog.html +++ b/code/app/home/view/shikong/novel/getNovelCatalog.html @@ -5,7 +5,7 @@ $Novel.n_id{extend name="baseH5" /} {novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /} {site:grm page_code="h5_novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /} -{chapter:pagerexp page="$Request.route.intPage" limit="10" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter" +{chapter:pagerexp page="$Request.route.intPage" limit="100" n_id="$Request.route.intNovelId" d_key="d_key" d_val="chapter" cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="generateChapterPager" export_name="resData" /} {/block} @@ -155,29 +155,33 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene{foreach $resData.data as $key=>$Novel} - {include file="public/novel-list" /} + {include file="public/novel-list" start="0" /} {/foreach}- {include file="public/allChapterPage" start="1"/} + {include file="public/allChapterPage" start="1"/}- + {$arrGrm[1]|raw} +-
- {chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
- cache_life="86400"}
+ {volist name="resData.data" id="Chapter" key="key"}
- + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} {$Chapter.c_name} - {/chapter:list} + {/volist}
相关标签: - {volist name='$arrNovel.arrRelateveNovel' id='Novel'} - {$Novel.n_name} + {volist name='$arrNovel.arrRelateveNovel' id='Novel' key="key"} + {if !empty($arrGrm[$key +100])} + {$arrGrm[$key +100]|raw} + {/if} + {$Novel.n_name} {/volist} {volist name='arrNovel.n_forge_novel' id='ForgeNovel'}{$arrChapter.c_name ?? ''}
+ {$arrGrm[1]|raw}{$arrNovel['n_name']}最新章节 - {$arrNovel['n_author']} - {$DomainModel->d_name}
+ {$arrGrm[4]|raw}@@ -170,6 +174,7 @@ $Novel.n_id{extend name="baseH5" /}更新:{$arrNovel.n_update_time}+ {$arrGrm[5]|raw} 最新:{$arrNovel.arrLatestChapter.c_name ?? ""} @@ -188,8 +193,12 @@ $Novel.n_id{extend name="baseH5" /}-
- {chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="86400"}
+ {chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="86400"}
- + {if !empty($arrGrm[$key + 6])} + {$arrGrm[$key+6]|raw} + {/if} + {$Chapter.c_name} {/chapter:list} @@ -220,13 +229,18 @@ $Novel.n_id{extend name="baseH5" /} 相关标签: - {volist name='$arrNovel.arrRelateveNovel' id='Novel'} - {$Novel.n_name} - {/volist} - {volist name='arrNovel.n_forge_novel' id='ForgeNovel'} - {$ForgeNovel.n_forge_title} - {/volist} + {volist name='$arrNovel.arrRelateveNovel' id='Novel' key="key"} + {if !empty($arrGrm[$key + 24])} + {$arrGrm[$key+24]|raw} + {/if} + {$Novel.n_name} + {/volist} + {volist name='arrNovel.n_forge_novel' id='ForgeNovel' key="key"} + {if !empty($arrGrm[$key + 34])} + {$arrGrm[$key+34]|raw} + {/if} + {$ForgeNovel.n_forge_title} + {/volist} @@ -242,7 +256,7 @@ $Novel.n_id{extend name="baseH5" /}
diff --git a/code/app/home/view/shikong/novel/getNovelRank.html b/code/app/home/view/shikong/novel/getNovelRank.html index 85fd23d..c9e7801 100644 --- a/code/app/home/view/shikong/novel/getNovelRank.html +++ b/code/app/home/view/shikong/novel/getNovelRank.html @@ -110,6 +110,9 @@{novel:list count="8" n_category="$arrNovel.n_category_pinyin" sort_type="update" d_key="d_key" d_val="Novel" cache_life="86400"} - {include file="public/novel-list-flex" /} + {include file="public/novel-list-flex" start="16"/} {/novel:list}{novel:ranklist count="10" sort_type="$Request.route.strOrder" n_status="$Request.route.strStatus" d_key="key" d_val="Novel" cache_life="86400"} + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if}{$key +=1}{$Novel.n_name}
diff --git a/code/app/home/view/shikong/public/novel-list-flex.html b/code/app/home/view/shikong/public/novel-list-flex.html index 016da5d..14c77b5 100644 --- a/code/app/home/view/shikong/public/novel-list-flex.html +++ b/code/app/home/view/shikong/public/novel-list-flex.html @@ -1,4 +1,8 @@ + + {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}+ {if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if}
item.n_id === NovelInfo.n_id);
@@ -262,6 +263,8 @@ function addHistoryFun(NovelInfo) {
// 获取本地存储中的历史记录
let arrBookshelf = JSON.parse(localStorage.getItem(strHistoryKey)) || [];
+ arrBookshelf = []
+
// 检查书籍是否已存在
const index = arrBookshelf.findIndex(item => item.n_id == NovelInfo.n_id);
diff --git a/code/public/template/kuangyu/public/js/common.js b/code/public/template/kuangyu/public/js/common.js
index 51d5688..f2b6701 100644
--- a/code/public/template/kuangyu/public/js/common.js
+++ b/code/public/template/kuangyu/public/js/common.js
@@ -225,6 +225,7 @@ function displayBookshelf() {
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)
+ console.log(strSearchUrl);
if (isMobile()) {
const bookElement = document.createElement('li');
bookElement.classList.add('book-shelf'); // 添加类名
@@ -268,7 +269,7 @@ function displayBookshelf() {
${book.c_name}
- ${book.n_author} + ${book.n_author} ${book.n_update_time} @@ -395,7 +396,7 @@ function displayHistory() { ${book.c_name}- ${book.n_author} + ${book.n_author} ${book.n_update_time ?? ''} diff --git a/code/public/template/shikong/css/style.css b/code/public/template/shikong/css/style.css index a69aeee..ed501a6 100644 --- a/code/public/template/shikong/css/style.css +++ b/code/public/template/shikong/css/style.css @@ -162,7 +162,7 @@ body .bg-top-pink-minheight{ align-content: flex-start; } .info-btn .jiarushujia{ - width: 2.2rem; + width: 30%; display: inline-block; text-align: center; diff --git a/doc/tkd.md b/doc/tkd.md index 2ea6ff7..154e260 100644 --- a/doc/tkd.md +++ b/doc/tkd.md @@ -70,7 +70,16 @@ title : '{strNovelSex}{strNovelCategoryName}{strNovelStatus}小说 - {strSiteN keywords: '{strNovelCategoryName}, {strNovelSex}小说, {strNovelStatus}小说, {strSiteName}, 免费阅读' description: '{strSiteName}提供{strNovelSex}{strNovelCategoryName}{strNovelStatus}小说免费阅读,第{intPage}页汇聚热门作品,欢迎体验{strSiteDomain}!' - +{$arrGrm[$key+[start]]|raw} +{if !empty($arrGrm[$key + [start]])} + {$arrGrm[$key+[start]]|raw} + {/if} + + +{$arrGrm[$key]|raw} +{if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} +{/if}
-
- {$arrGrm[$d_key+20]|raw}
+ {if !empty($arrGrm[$key+50])}
+ {$arrGrm[$key+50]|raw}
+ {/if}
{$Novel->n_name}
{$Novel->n_author}
diff --git a/code/app/home/view/haoZi/pc/index.html b/code/app/home/view/haoZi/pc/index.html
index 9a5a155..92259bb 100644
--- a/code/app/home/view/haoZi/pc/index.html
+++ b/code/app/home/view/haoZi/pc/index.html
@@ -55,10 +55,13 @@