Merge branch 'dev' of ssh://git.bgbg.live:18150/root/SEONexus into dev
This commit is contained in:
@@ -393,8 +393,9 @@ class Novel extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
// 分品拼音
|
||||
// 分类拼音
|
||||
$arrNovel['category_pinyin'] = CategoryModel::getPinYinByZh($arrNovel['og_novel_category']);
|
||||
$arrNovel['category_sex'] = $arrNovel['category_sex'] ?? 'man';
|
||||
|
||||
// 最后章节
|
||||
$ChapterModel = ChapterModel::getInstance();
|
||||
@@ -496,8 +497,9 @@ class Novel extends BaseController
|
||||
// 小说详情
|
||||
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
||||
|
||||
// 分品拼音
|
||||
// 分类拼音
|
||||
$arrNovel['category_pinyin'] = CategoryModel::getPinYinByZh($arrNovel['og_novel_category']);
|
||||
$arrNovel['category_sex'] = $arrNovel['category_sex'] ?? 'man';
|
||||
|
||||
// 最后章节
|
||||
$ChapterModel = ChapterModel::getInstance();
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<link rel="stylesheet" href="//at.alicdn.com/t/font_934628_byagqjb6vae.css" type="text/css">
|
||||
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
||||
<!-- <script src="/public/jquery/jquery-3.7.1.min.js"></script> -->
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="skin-default">
|
||||
|
||||
@@ -159,12 +159,13 @@
|
||||
<div class="crumbs-nav">
|
||||
<a href="{$strPcPath}/">首页</a>
|
||||
<em class="iconfont"></em>
|
||||
{if $arrNovel.category_sex == 'man'}
|
||||
{if $arrNovel.category_sex && $arrNovel.category_sex == 'man'}
|
||||
{$arrGRM[15]|raw}
|
||||
|
||||
<a href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="all" status="all" page="1"/}'>男生</a>
|
||||
<em class="iconfont"></em>
|
||||
{$arrGRM[14]|raw}
|
||||
<?php $arrNovel['category_pinyin'] ?? $arrNovel['category_pinyin'] = 'all'?>
|
||||
<a
|
||||
|
||||
href='{$strPcPath}{site:nflurl gender="$strNanUrlTemp" category="$arrNovel[category_pinyin]" status="all" page="1"/}'>{$arrNovel.og_novel_category}</a>
|
||||
|
||||
Reference in New Issue
Block a user