Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] 贴子楼层之间加分隔线怎么做?

[复制链接]
jiaqi 发表于 2011-10-6 11:25:12 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2
浏览器: IE6 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://bbs.shuyunxin.com/forum.php?mod=viewthread&tid=99937&extra=page%3D1
楼层之间分隔不明显,想用分隔线间开,如下图左右边线条加一条。 贴子楼层之间加分隔线怎么做?  


 楼主| jiaqi 发表于 2011-10-7 08:21:13 | 显示全部楼层
這個並沒答案。
回复

使用道具 举报

cr180 发表于 2011-10-7 22:30:17 | 显示全部楼层
文件:template/default/forum/viewthread_node.htm

查找:

  1. <tr class="ad">
  2.     <td class="pls"></td>
  3.     <td class="plc">
  4.         <!--{if $post['first'] && $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p}--><!--{/if}-->
  5.         <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  6.             <ul class="ttp cl">
  7.                 <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  8.                 <li{if !isset($_G['gp_stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]" hidefocus="true">{lang all}</a></li>
  9.                 <li{if $_G['gp_stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  10.                 <li{if $_G['gp_stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  11.                 <li{if isset($_G['gp_stand']) && $_G['gp_stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  12.             </ul>
  13.         <!--{/if}-->
  14.     </td>
  15. </tr>
复制代码




替换成:

  1. <tr class="ad">
  2.     <td class="pls"></td>
  3.     <td class="plc" style=" background:#000">
  4.         <!--{if $post['first'] && $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p}--><!--{/if}-->
  5.         <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  6.             <ul class="ttp cl">
  7.                 <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  8.                 <li{if !isset($_G['gp_stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]" hidefocus="true">{lang all}</a></li>
  9.                 <li{if $_G['gp_stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  10.                 <li{if $_G['gp_stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  11.                 <li{if isset($_G['gp_stand']) && $_G['gp_stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  12.             </ul>
  13.         <!--{/if}-->
  14.     </td>
  15. </tr>
复制代码



上面替换代码中的#000记得改成自己合适的颜色代码,

回复

使用道具 举报

 楼主| jiaqi 发表于 2011-10-23 15:41:56 | 显示全部楼层
谢谢你:)  
回复

使用道具 举报

dzcdiy 发表于 2012-4-7 00:09:27 | 显示全部楼层


很好的美化。多谢分享。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-3 01:45 , Processed in 1.011286 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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