惧愁人 发表于 2024-3-18 22:10:21

x3.5 默认模板手机首页四格,帖子右侧如何调试显示版块名称或者主题分类名称 New

x3.5 默认模板手机首页四格,帖子右侧如何调试显示版块名称或者主题分类名称

右侧默认显示用户名+回复数+人气数,占用5-8个字,宽度比例百分10-30都吃了
我替换$thread['author']这里纳入点只显示数字
我的主题分类名称就两字比例刚刚好,有没有哥哥姐姐知道如调,好人一生平安
</div>                <div id="tabs-box" class="swiper-container listbox cl">                        <div class="swiper-wrapper">                              <div class="swiper-slide">                                        <ul>                                        <!--{loop $grids['newthread'] $thread}-->                                        <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->                                                <!--{eval $thread['tid']=$thread['closed'];}-->                                        <!--{/if}-->                                        <!--{eval $i++;}-->                                        <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if}><span class="mybk">$thread['author']</span><span class="mnum">$i</span>{$thread['oldsubject']}</a></li>                                        <!--{/loop}-->                                        </ul>                              </div>                              <div class="swiper-slide">                                        <ul>                                        <!--{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=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if}><span class="mybk">$thread['replies'] {lang reply}</span><span class="mico"></span>{$thread['oldsubject']}</a></li>                                        <!--{/loop}-->                                        </ul>                              </div>                              <div class="swiper-slide">                                        <ul>                                        <!--{loop $grids['hot'] $thread}-->                                        <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->                                                <!--{eval $thread['tid']=$thread['closed'];}-->                                        <!--{/if}-->                                        <!--{eval $i++;}-->                                        <li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if}><span class="mybk">$thread['views'] {lang mobrenqi}</span><span class="mico"></span>{$thread['oldsubject']}</a></li>                                        <!--{/loop}-->                                        </ul>                              </div>                              <div class="swiper-slide">                                        <ul>                                        <!--{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']"{if $thread['highlight']} $thread['highlight']{/if}><span class="mybk">$thread['views']{lang mobrenqi}</span><span class="mico"></span>{$thread['oldsubject']}</a></li>                                        <!--{/loop}-->                                        </ul>                              </div>                        </div>                </div>

我知道答案 回答被采纳将会获得1 贡献 已有3人回答

浅生 发表于 2024-3-18 22:10:39

用户名用手机号或者qq号,一半宽度都吃了,真烦,有哥哥姐姐知道如何调吗

TyCoding 发表于 2024-3-18 22:11:28

我折腾过,在这里改没用的,要改php文件,所以只能尝试买插件解决

TyCoding 发表于 2024-3-18 22:12:00

那个插件
页: [1]
查看完整版本: x3.5 默认模板手机首页四格,帖子右侧如何调试显示版块名称或者主题分类名称 New