diff --git a/code/app/home/view/kuangyu/Pc/Public/endNovelList.html b/code/app/home/view/kuangyu/Pc/Public/endNovelList.html index 04da43b..0a0a676 100644 --- a/code/app/home/view/kuangyu/Pc/Public/endNovelList.html +++ b/code/app/home/view/kuangyu/Pc/Public/endNovelList.html @@ -1,4 +1,5 @@
  • + {$arrGRM[$key+[start]]|raw} {volist name="arrRecommendSerializationNovel" id="Novel" key="key"} {if $key < 6} - {site:grm domain="$DomainModel->d_domain" code="kuangyu-pc-index" line="37" diff="$key" start="1" end="1" index="$key+10" type="2" /} + {$arrGRM[$key]|raw} {include file="Pc/Public/swiperListImg" /} {/if} {/volist} @@ -51,6 +51,7 @@ {volist name="arrRecommendSerializationNovel" id="Novel" key="key"} {if $key == 1}

    + {$arrGRM[1]|raw} @@ -65,11 +66,13 @@
    {volist name="arrRecommendSerializationNovel" id="Novel" key="key"} {if $key > 5 && $key < 10} + {$arrGRM[$key+5]|raw} {include file="Pc/Public/hostListImg" /} {/if} {/volist} {volist name="arrRecommendSerializationNovel" id="Novel" key="key"} {if $key > 9 } + {$arrGRM[$key+9]|raw} {include file="Pc/Public/hostListText" /} {/if} {/volist} @@ -85,10 +88,8 @@
      {volist name="arrRecommendEndNovel" id="Novel" key="key"} - {include file="Pc/Public/endNovelList" /} - - {/volist} - + {include file="Pc/Public/endNovelList" start="13" /} + {/volist}
    diff --git a/code/app/home/view/kuangyu/baseH5.html b/code/app/home/view/kuangyu/baseH5.html index d0f9149..5a4eae2 100644 --- a/code/app/home/view/kuangyu/baseH5.html +++ b/code/app/home/view/kuangyu/baseH5.html @@ -28,7 +28,6 @@ - {site:grm domain="$DomainModel->d_domain" code="kuangyu-index" line="31" diff="0" start="10" end="30" type="2" /}
    {block name="logo-html"}{/block} @@ -119,7 +118,6 @@ {$DomainModel->d_statis|raw} - {site:grm domain="$DomainModel->d_domain" code="kuangyu-index" line="122" diff="0" start="10" end="30" type="2" /} \ No newline at end of file diff --git a/code/app/home/view/kuangyu/basePc.html b/code/app/home/view/kuangyu/basePc.html index 162f814..8c56301 100644 --- a/code/app/home/view/kuangyu/basePc.html +++ b/code/app/home/view/kuangyu/basePc.html @@ -24,7 +24,6 @@ - {site:grm domain="$DomainModel->d_domain" code="kuangyu-pc-index" line="27" diff="0" start="10" end="30" index="1" type="2" /}
    @@ -94,7 +93,6 @@ {$DomainModel->d_statis|raw} - {site:grm domain="$DomainModel->d_domain" code="kuangyu-pc-index" line="27" diff="0" start="10" end="30" index="1" type="2" /} diff --git a/code/app/model/GanRaoMaModel.php b/code/app/model/GanRaoMaModel.php index 5857788..c4b629f 100644 --- a/code/app/model/GanRaoMaModel.php +++ b/code/app/model/GanRaoMaModel.php @@ -214,7 +214,8 @@ class GanRaoMaModel extends MongoModel $arrGrmCode = []; while ($intNum-- > 0) { - $arrGrmCode[] = self::generateRandomCustomizeHtml(mt_rand(1, 3), mt_rand(4, 10)); + // $arrGrmCode[] = self::generateRandomCustomizeHtml(mt_rand(1, 3), mt_rand(3, 6)); + $arrGrmCode[] = self::generateRandomCustomizeHtml(1, 1); } $arrData = $arrFilter;