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

返回列表 發帖
查看: 1370|回復: 4

[求助] 如何讓電腦版不顯示首頁四格,手機版顯示首頁四格

37

主題

135

回帖

214

積分

爐火純青

貢獻
1 點
金幣
14 個
樓主
發表于 2023-5-20 17:25:29 | 只看樓主 |倒序瀏覽 |閱讀模式
如何讓電腦版不顯示首頁四格,手機版顯示首頁四格?

如何把電腦版的首頁四格給刪掉,在哪個文件哪段代碼?
我知道答案 回答被采納將會獲得1 貢獻 + 1 金幣 已有4人回答
回復

使用道具 舉報

37

主題

135

回帖

214

積分

爐火純青

貢獻
1 點
金幣
14 個
沙發
 樓主| 發表于 2023-5-20 17:39:28 | 只看Ta
已解決,找到了
回復

使用道具 舉報

ink

24

主題

164

回帖

215

積分

爐火純青

貢獻
2 點
金幣
1 個
板凳
發表于 2023-5-20 22:47:41 | 只看Ta
celover 發表于 2023-5-20 17:39
已解決,找到了

如何解決的,能否告知啊,感謝感謝?。。?/td>
回復

使用道具 舉報

37

主題

135

回帖

214

積分

爐火純青

貢獻
1 點
金幣
14 個
地板
 樓主| 發表于 2023-5-22 08:17:35 | 只看Ta
ink 發表于 2023-5-20 22:47
如何解決的,能否告知啊,感謝感謝?。。?/blockquote>

\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

24

主題

164

回帖

215

積分

爐火純青

貢獻
2 點
金幣
1 個
5#
發表于 2023-5-22 17:15:11 | 只看Ta
celover 發表于 2023-5-22 08:17
\template\xxx\forum\discuz.html
刪除這個文件里面的

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

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

  • 關注公眾號
  • 有償服務微信
  • 有償服務QQ

手機版|小黑屋|Discuz! 官方交流社區 ( 皖ICP備16010102號 |皖公網安備34010302002376號 )|網站地圖|star

GMT+8, 2025-7-1 19:36 , Processed in 0.051152 second(s), 12 queries , Redis On.

Powered by Discuz! W1.0 Licensed

Cpoyright © 2001-2025 Discuz! Team.

關燈 在本版發帖
有償服務QQ
有償服務微信
返回頂部
快速回復 返回頂部 返回列表