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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

使用分类信息,也能做出漂亮的房产信息!(代码已提供)

[复制链接]
soolu 发表于 2010-7-2 10:53:13 | 显示全部楼层 |阅读模式
本帖最后由 soolu 于 2010-7-2 11:27 编辑

发布时:


发布后:




但是还存在这样的问题,官方在新的补丁中,可能会把这些问题解决!
https://discuz.dismall.com/forum. ... ead&tid=1789994


这是lansfb的提供的代码,我只是在他的基础上,做了一些改动
发布时的代码:
  1. 代码
  2. <style type="text/css">
  3. .ts {font-size:12px;}
  4. .xinren_0471_la dl {margin-top:10px; font-size:14px; color:#333;}
  5. .xinren_0471_la dt {height:23px; line-height:23px; color:#6D8F3A;}
  6. .xinren_0471_la dd {line-height:22px;}
  7. .xinren_0471_la table {border-collapse:collapse; font-size:14px; table-layout: fixed; width:560px;margin-bottom: 10px; }
  8. .xinren_0471_la th, .xinren_0471_la td {padding:0; height:27px; line-height:27px; border:1px solid #DBE7BE; background:#FFFFFF;}
  9. .xinren_0471_la td {width:450px; padding:0 10px; overflow:hidden;}
  10. .xinren_0471_la th {width:110px; color:#334F67; text-align:right; font-size:14px;background:#E9F4D2;padding-right: 10px;}
  11. .xinren_0471_la .number{font:bold 16px "Arial"; color:#fc6d02; }
  12. .xinren_0471_la .HintMsg{padding-left:5px; font-size:12px; color:#666; font-weight:normal;}
  13. </style>

  14. <div class="xinren_0471_la">
  15. <dl>
  16. <dd>
  17. <table><tbody>

  18. <tr>
  19. <th><strong class="rq">[gqrequired]</strong> {gq} </th>
  20. <td> [gqvalue] [gqunit][gqtips]  [gqdescription]</td>
  21. </tr>

  22. <tr>
  23. <th><strong class="rq">[xjrequired]</strong> {xj} </th>
  24. <td> [xjvalue] [xjunit][xjtips] [xjdescription]</td>
  25. </tr>

  26. <tr>
  27. <th><strong class="rq">[jgrequired]</strong> {jg} </th>
  28. <td>[jgvalue] [jgunit]<span class="ts">[jgtips] [jgdescription]</span></td>
  29. </tr>

  30. <tr>
  31. <th><strong class="rq">[lxdhrequired]</strong> {lxdh} </th>
  32. <td> [lxdhvalue] [lxdhunit] <span class="ts">[lxdhtips] [lxdhdescription]</span></td>
  33. </tr>

  34. </tbody></table>
  35. </dd>
  36. </dl>
  37. </div>
  38. 根据自己的表格行列数,进行更改,变量替换!
复制代码
发布后的代码:
  1. <style type="text/css">
  2. .xinren_0471_la dl {margin-top:10px; font-size:14px; color:#333;}
  3. .xinren_0471_la dt {height:23px; line-height:23px; color:#6D8F3A;}
  4. .xinren_0471_la dd {line-height:22px;}
  5. .xinren_0471_la table {border-collapse:collapse; font-size:14px; table-layout: fixed; width:560px;margin-bottom: 10px; }
  6. .xinren_0471_la th, .xinren_0471_la td {padding:0; height:27px; line-height:27px; border:1px solid #DBE7BE; background:#FFFFFF;}
  7. .xinren_0471_la td {width:450px; padding:0 10px; overflow:hidden;}
  8. .xinren_0471_la th {width:110px; color:#334F67; text-align:right; font-size:14px;background:#E9F4D2;padding-right: 10px;}
  9. .xinren_0471_la .number{font:bold 16px "Arial"; color:#fc6d02; }
  10. .xinren_0471_la .HintMsg{padding-left:5px; font-size:12px; color:#666; font-weight:normal;}

  11. </style>


  12. <div class="xinren_0471_la">
  13. <dl>
  14. <dd>

  15. <table><tbody>

  16. <tr>
  17. <th>{gq}:</th>
  18. <td> [gqvalue] [gqunit]</td>
  19. </tr>

  20. <tr>
  21. <th>{xj}:</th>
  22. <td> [xjvalue] [xjunit]</td>
  23. </tr>

  24. <tr>
  25. <th>{jg}:</th>
  26. <td> [jgvalue] [jgunit]</td>
  27. </tr>

  28. <tr>
  29. <th>{lxdh}:</th>
  30. <td> [lxdhvalue] [lxdhunit]</td>
  31. </tr>

  32. </tbody></table>

  33. </dd>
  34. </dl>
  35. </div>
复制代码

评分

1

查看全部评分

一文天 发表于 2010-7-2 10:53:57 | 显示全部楼层
不错
回复

使用道具 举报

台灣玩透透 发表于 2010-7-2 10:54:05 | 显示全部楼层
回复

使用道具 举报

artsharp 发表于 2010-7-2 10:54:45 | 显示全部楼层
很不错啊
回复

使用道具 举报

oaHgniD 发表于 2010-7-2 11:00:07 | 显示全部楼层
分享一下不?
回复

使用道具 举报

tzxiaolang 发表于 2010-7-2 11:01:55 | 显示全部楼层
怎么弄出来的啊?有代码或者插件吗?
回复

使用道具 举报

wgmking 发表于 2010-7-2 11:16:29 | 显示全部楼层
回复 tzxiaolang 的帖子


    不用插件
就是分类信息的代码
回复

使用道具 举报

 楼主| soolu 发表于 2010-7-2 11:28:39 | 显示全部楼层
花点心思吧,我也是菜鸟,都是靠摸索
回复

使用道具 举报

yxfwz 发表于 2010-7-8 17:19:03 | 显示全部楼层
先做记号
回复

使用道具 举报

fla126 发表于 2010-7-8 17:23:41 | 显示全部楼层
哈哈,没我的漂亮哈~~~
福城网,房产分类信息模板
http://www.51czw.net/thread-421-1-1.html

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 20:19 , Processed in 0.162645 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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