debug
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<li>
|
<li>
|
||||||
|
{$arrGRM[$key+[start]]|raw}
|
||||||
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" class="book_cov">
|
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}' title="{$Novel->og_novel_book_name ?? ''}" class="book_cov">
|
||||||
<img class="lazyload_book_cover lazyload-img"
|
<img class="lazyload_book_cover lazyload-img"
|
||||||
src="/static/img/default.jpg" data-src="{$Novel->n_cover_path ?? ''}"
|
src="/static/img/default.jpg" data-src="{$Novel->n_cover_path ?? ''}"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<ul id="mod_index_lb_nv_pic">
|
<ul id="mod_index_lb_nv_pic">
|
||||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||||
{if $key < 6}
|
{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" /}
|
{include file="Pc/Public/swiperListImg" /}
|
||||||
{/if}
|
{/if}
|
||||||
{/volist}
|
{/volist}
|
||||||
@@ -51,6 +51,7 @@
|
|||||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||||
{if $key == 1}
|
{if $key == 1}
|
||||||
<h3>
|
<h3>
|
||||||
|
{$arrGRM[1]|raw}
|
||||||
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}'
|
<a href='/pc{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}'
|
||||||
title="{$Novel.og_novel_book_name ?? ''}"
|
title="{$Novel.og_novel_book_name ?? ''}"
|
||||||
class="zdz">
|
class="zdz">
|
||||||
@@ -65,11 +66,13 @@
|
|||||||
<div class="md">
|
<div class="md">
|
||||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||||
{if $key > 5 && $key < 10}
|
{if $key > 5 && $key < 10}
|
||||||
|
{$arrGRM[$key+5]|raw}
|
||||||
{include file="Pc/Public/hostListImg" /}
|
{include file="Pc/Public/hostListImg" /}
|
||||||
{/if}
|
{/if}
|
||||||
{/volist}
|
{/volist}
|
||||||
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
|
||||||
{if $key > 9 }
|
{if $key > 9 }
|
||||||
|
{$arrGRM[$key+9]|raw}
|
||||||
{include file="Pc/Public/hostListText" /}
|
{include file="Pc/Public/hostListText" /}
|
||||||
{/if}
|
{/if}
|
||||||
{/volist}
|
{/volist}
|
||||||
@@ -85,10 +88,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul class="f2_list" mod="hot_tj">
|
<ul class="f2_list" mod="hot_tj">
|
||||||
{volist name="arrRecommendEndNovel" id="Novel" key="key"}
|
{volist name="arrRecommendEndNovel" id="Novel" key="key"}
|
||||||
{include file="Pc/Public/endNovelList" /}
|
{include file="Pc/Public/endNovelList" start="13" /}
|
||||||
|
|
||||||
{/volist}
|
{/volist}
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
{site:grm domain="$DomainModel->d_domain" code="kuangyu-index" line="31" diff="0" start="10" end="30" type="2" /}
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
{block name="logo-html"}{/block}
|
{block name="logo-html"}{/block}
|
||||||
|
|
||||||
@@ -119,7 +118,6 @@
|
|||||||
<!-- 站点统计 -->
|
<!-- 站点统计 -->
|
||||||
{$DomainModel->d_statis|raw}
|
{$DomainModel->d_statis|raw}
|
||||||
|
|
||||||
{site:grm domain="$DomainModel->d_domain" code="kuangyu-index" line="122" diff="0" start="10" end="30" type="2" /}
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -24,7 +24,6 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
{site:grm domain="$DomainModel->d_domain" code="kuangyu-pc-index" line="27" diff="0" start="10" end="30" index="1" type="2" /}
|
|
||||||
<!--公共头部 开始-->
|
<!--公共头部 开始-->
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="headWrap">
|
<div class="headWrap">
|
||||||
@@ -94,7 +93,6 @@
|
|||||||
{$DomainModel->d_statis|raw}
|
{$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" /}
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -214,7 +214,8 @@ class GanRaoMaModel extends MongoModel
|
|||||||
|
|
||||||
$arrGrmCode = [];
|
$arrGrmCode = [];
|
||||||
while ($intNum-- > 0) {
|
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;
|
$arrData = $arrFilter;
|
||||||
|
|||||||
Reference in New Issue
Block a user