迅睿CMS框架是一款PHP8高性能·簡(jiǎn)單易用的CMS開(kāi)源開(kāi)發(fā)框架,基于MIT開(kāi)源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開(kāi)源的產(chǎn)品,以萬(wàn)端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
就創(chuàng)建了一個(gè)專題目錄更新靜態(tài)內(nèi)容頁(yè)彈出這個(gè)怎么回事?類文件:App/Comment/Models/Comment.php不存在
手動(dòng)刪除show模板的comment的代碼
回復(fù)@迅??蚣芗夹g(shù)-李波 沒(méi)有comment代碼,所以才摸不著頭腦
仔細(xì)找找,肯定有comment,去掉他,我前天遇到過(guò)一次
<body>
{template "header.html"}
<div class="catpos">
<div class="left"><span class="jiantou"></span>位置:<a href="{SITE_URL}">首頁(yè)</a> > {dr_catpos($catid, '', true, '<a href="[url]">[name]</a> > ')}</div>
</div>
<div class="personbox wrapper1200 cl">
<h1>{$title}</h1>
<div class="ztms">{$content}</div>
{if $ztarc}
<ul class="cl">
{module module=zl IN_id=$ztarc return=r}
<li>
<a href="{$r.url}" title="{$r.title}">
<div class="hero_list_pic">
<img src="{dr_thumb($r.thumb, 130, 130)}" width="130" height="130" alt="{$r.title}圖片" />
{if $r.sx}<i>{$r.sx}</i>{else}{/if}
<div class="hero_list_name"><p>{$r.title}</p></div>
</a>
</li>
{/module}
</ul>
{else}{/if}
{template "footer.html"}
</body>
移動(dòng)端show.html
移動(dòng)端沒(méi)配置有模板,它是不是走默認(rèn)模版所以導(dǎo)致錯(cuò)誤啊
沒(méi)有模板會(huì)自動(dòng)加載default目錄
手動(dòng)刪除show模板的comment的代碼
回復(fù)@迅??蚣芗夹g(shù)-李波 沒(méi)有comment代碼,所以才摸不著頭腦
仔細(xì)找找,肯定有comment,去掉他,我前天遇到過(guò)一次
<body>
{template "header.html"}
<div class="catpos">
<div class="left"><span class="jiantou"></span>位置:<a href="{SITE_URL}">首頁(yè)</a> > {dr_catpos($catid, '', true, '<a href="[url]">[name]</a> > ')}</div>
</div>
<div class="personbox wrapper1200 cl">
<h1>{$title}</h1>
<div class="ztms">{$content}</div>
{if $ztarc}
<ul class="cl">
{module module=zl IN_id=$ztarc return=r}
<li>
<a href="{$r.url}" title="{$r.title}">
<div class="hero_list_pic">
<img src="{dr_thumb($r.thumb, 130, 130)}" width="130" height="130" alt="{$r.title}圖片" />
{if $r.sx}<i>{$r.sx}</i>{else}{/if}
</div>
<div class="hero_list_name"><p>{$r.title}</p></div>
</a>
</li>
{/module}
</ul>
{else}{/if}
</div>
{template "footer.html"}
</body>
移動(dòng)端show.html
移動(dòng)端沒(méi)配置有模板,它是不是走默認(rèn)模版所以導(dǎo)致錯(cuò)誤啊
沒(méi)有模板會(huì)自動(dòng)加載default目錄