本站公收录50年前的影片
 找回密码
 立即注册
快捷导航
搜索
回复: 0

手机触屏版四格幻灯片+3格删除精华选项

[复制链接]
发表于 2025-4-14 18:08:28 | 显示全部楼层 |阅读模式
图文并茂显示幻灯片+3格,不显示精华TAB;选择简洁文字不显示幻灯,显示带精华四格

搜索
  1. <div class="tabs flex-box mt10 cl">.....到
  2. <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['author']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
  3.                                         <!--{/loop}-->
  4.                                         </ul>
  5.                                 </div>
  6. <font color="#ff0000">                                <!--{/if}--></font>
  7.                         </div>
  8.                 </div>
复制代码
搜索这一段,整体替换为下面代码
  1.                 <div id="tabs-box" class="swiper-container listbox cl">
  2.                         <div class="swiper-wrapper">
  3.                                 <div class="swiper-slide">
  4.                                         <ul>
  5.                                         <!--{loop $grids['newthread'] $thread}-->
  6.                                         <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  7.                                                 <!--{eval $thread['tid']=$thread['closed'];}-->
  8.                                         <!--{/if}-->
  9.                                         <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['dateline']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
  10.                                         <!--{/loop}-->
  11.                                         </ul>
  12.                                 </div>
  13.                                 <div class="swiper-slide">
  14.                                         <ul>
  15.                                         <!--{loop $grids['newreply'] $thread}-->
  16.                                         <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  17.                                                 <!--{eval $thread['tid']=$thread['closed'];}-->
  18.                                         <!--{/if}-->                                
  19.                                         <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['replies'] {lang reply}</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
  20.                                         <!--{/loop}-->
  21.                                         </ul>
  22.                                 </div>
  23.                                 <div class="swiper-slide">
  24.                                         <ul>
  25.                                         <!--{loop $grids['hot'] $thread}-->
  26.                                         <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  27.                                                 <!--{eval $thread['tid']=$thread['closed'];}-->
  28.                                         <!--{/if}-->
  29.                                         <!--{eval $i++;}-->
  30.                                         <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['views'] {lang mobrenqi}</span><span class="mnum">$i</span>{$thread['oldsubject']}</a></li>
  31.                                         <!--{/loop}-->
  32.                                         </ul>
  33.                                 </div>
  34. <!--{if $_G['setting']['grid']['gridtype']}-->
  35.                                 <div class="swiper-slide">
  36.                                         <ul>
  37.                                         <!--{loop $grids['digest'] $thread}-->
  38.                                         <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  39.                                                 <!--{eval $thread['tid']=$thread['closed'];}-->
  40.                                         <!--{/if}-->
  41.                                         <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['author']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
  42.                                         <!--{/loop}-->
  43.                                         </ul>
  44.                                 </div>
  45. <!--{/if}-->
  46.                         </div>
  47.                 </div>
复制代码

效果图
效果图.webp 效果图.webp




您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|联系管理|老影迷

GMT+8, 2025-9-21 05:25 , Processed in 0.101562 second(s), 27 queries .

Powered by Discuz! X3.5

快速回复 返回顶部 返回列表