时间:2021-07-21人气:-
<div id="ct" class="wp cl{if $_G['forum']['allowside']} ct2{/if}"{if $leftside} style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}> <!--{if $leftside}--> <div id="sd_bdl" class="bdl" onmouseover="showMenu({'ctrlid':this.id, 'pos':'dz'});" style="width:{$_G['setting']['leftsidewidth']}px;margin-left:-{$_G['leftsidewidth_mwidth']}px"> <!--{hook/forumdisplay_leftside_top}--> <!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--[/diy]--> <div class="tbn" id="forumleftside"> <!--{subtemplate forum/forumdisplay_leftside}--> </div> <!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom" class="area"></div><!--[/diy]--> <!--{hook/forumdisplay_leftside_bottom}--> </div> <!--{/if}-->④保存,后台更新下缓存!二、支持宽屏的修改方法:①首先找到 /template/qing/common/header.htm 文件;②在12行下面加上以下代码:<!--{if widthauto()}--> <link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" /> <script type="text/javascript">HTMLNODE.className += ' widthauto'</script> <!--{/if}-->③保存,后台更新下缓存!+++++++++++++++++++++++++++++++++++++++++PS.以上是手动修改的方法,需要修改forumdisplay.htm和header.htm两个文件,自适应显示器,支持宽窄屏切换,边栏显示