久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

Discuz! 官方交流社區

標題: 如何讓電腦版不顯示首頁四格,手機版顯示首頁四格 [打印本頁]

作者: celover    時間: 2023-5-20 17:25
標題: 如何讓電腦版不顯示首頁四格,手機版顯示首頁四格
如何讓電腦版不顯示首頁四格,手機版顯示首頁四格?

如何把電腦版的首頁四格給刪掉,在哪個文件哪段代碼?

作者: celover    時間: 2023-5-20 17:39
已解決,找到了
作者: ink    時間: 2023-5-20 22:47
celover 發表于 2023-5-20 17:39
已解決,找到了

如何解決的,能否告知啊,感謝感謝!!!
作者: celover    時間: 2023-5-22 08:17
ink 發表于 2023-5-20 22:47
如何解決的,能否告知啊,感謝感謝!!!

\template\xxx\forum\discuz.html
刪除這個文件里面的

<div class="mn">
                <!--{if !empty($_G['setting']['grid']['showgrid'])}-->
                <!-- index four grid -->
                <div class="fl bm">
                        <div class="bm bmw cl">
                                <div id="category_grid" class="bm_c" >
                                        <table cellspacing="0" cellpadding="0"><tr>
                                        <!--{if !$_G['setting']['grid']['gridtype']}-->
                                                <td valign="top" class="category_l1">
                                                        <div class="newimgbox">
                                                                <h4><span class="tit_newimg"></span>{lang latest_images}</h4>
                                                                <div class="module cl slidebox_grid" style="width:218px">
                                                                        <script type="text/javascript">
                                                                        var slideSpeed = 5000;
                                                                        var slideImgsize = [218,200];
                                                                        var slideBorderColor = '{$_G['style']['specialborder']}';
                                                                        var slideBgColor = '{$_G['style']['commonbg']}';
                                                                        var slideImgs = new Array();
                                                                        var slideImgLinks = new Array();
                                                                        var slideImgTexts = new Array();
                                                                        var slideSwitchColor = '{$_G['style']['tabletext']}';
                                                                        var slideSwitchbgColor = '{$_G['style']['commonbg']}';
                                                                        var slideSwitchHiColor = '{$_G['style']['specialborder']}';
                                                                        {eval $k = 1;}
                                                                        <!--{loop $grids['slide'] $stid $svalue}-->
                                                                                slideImgs[<!--{echo $k}-->] = '$svalue[image]';
                                                                                slideImgLinks[<!--{echo $k}-->] = '{$svalue[url]}';
                                                                                slideImgTexts[<!--{echo $k}-->] = '$svalue[subject]';
                                                                                {eval $k++;}
                                                                        <!--{/loop}-->
                                                                        </script>
                                                                        <script language="javascript" type="text/javascript" src="{$_G[setting][jspath]}forum_slide.js?{VERHASH}"></script>
                                                                </div>
                                                        </div>
                                                </td>
                                        <!--{/if}-->
                                        <td valign="top" class="category_l2">
                                                <div class="subjectbox">
                                                        <h4><span class="tit_subject"></span>{lang collection_lastthread}</h4>
                                                        <ul class="category_newlist">
                                                                <!--{loop $grids['newthread'] $thread}-->
                                                                <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
                                                                        <!--{eval $thread[tid]=$thread[closed];}-->
                                                                <!--{/if}-->
                                                                <li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
                                                                <!--{/loop}-->
                                                         </ul>
                                                 </div>
                                        </td>
                                        <td valign="top" class="category_l3">
                                                <div class="replaybox">
                                                        <h4><span class="tit_replay"></span>{lang show_newthreads}</h4>
                                                        <ul class="category_newlist">
                                                                <!--{loop $grids['newreply'] $thread}-->
                                                                <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
                                                                        <!--{eval $thread[tid]=$thread[closed];}-->
                                                                <!--{/if}-->
                                                                <li><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']}tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
                                                                <!--{/loop}-->
                                                         </ul>
                                                 </div>
                                        </td>
                                        <td valign="top" class="category_l3">
                                                <div class="hottiebox">
                                                        <h4><span class="tit_hottie"></span>{lang hot_thread}</h4>
                                                        <ul class="category_newlist">
                                                                <!--{loop $grids['hot'] $thread}-->
                                                                <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
                                                                        <!--{eval $thread[tid]=$thread[closed];}-->
                                                                <!--{/if}-->
                                                                <li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
                                                                <!--{/loop}-->
                                                         </ul>
                                                 </div>
                                        </td>
                                        <!--{if $_G['setting']['grid']['gridtype']}-->
                                                <td valign="top" class="category_l4">
                                                        <div class="goodtiebox">
                                                                <h4><span class="tit_goodtie"></span>{lang post_digest_thread}</h4>
                                                                <ul class="category_newlist">
                                                                        <!--{loop $grids['digest'] $thread}-->
                                                                                <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
                                                                                        <!--{eval $thread[tid]=$thread[closed];}-->
                                                                                <!--{/if}-->
                                                                                <li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
                                                                        <!--{/loop}-->
                                                                 </ul>
                                                        </div>
                                                </td>
                                        <!--{/if}-->
                                        </table>
                                </div>
                        </div>
                </div>
                <!-- index four grid end -->
                <!--{/if}-->

作者: ink    時間: 2023-5-22 17:15
celover 發表于 2023-5-22 08:17
\template\xxx\forum\discuz.html
刪除這個文件里面的

好的,謝謝啊,晚點就試試,再次感謝




歡迎光臨 Discuz! 官方交流社區 (http://www.9999xn.com/) Powered by Discuz! W1.0