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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 搜城随州圈二级代码不是导航是版块介绍绝对漂亮(见演示站点)

[复制链接]
cgen8 发表于 2010-11-7 03:05:34 | 显示全部楼层 |阅读模式
Discuz!模板
适用版本: Discuz! X1.5
语言编码: GBK简体 
风格转换者: 原创
本帖最后由 cgen8 于 2010-11-7 03:07 编辑


搜城随州圈二级代码不是导航是版块介绍绝对漂亮(见演示站点)
其实就是全部html代码
没什么其他的
就这段代码放进去就可以了
  1. <div id="pw_content" class=""><!--关闭侧栏使用样式 sideClose-->

  2. <div id="sidebar" class="f_tree cc">

  3. <div class="content_thread cc">
  4. <div class="content_ie">

  5. <div>

  6. <style type="text/css">
  7. #un_body{
  8. width:960px;
  9. overflow: hidden;
  10. position: relative;
  11. margin-bottom: 6px;
  12. }

  13. .un_child{
  14. width:960px;
  15. position: absolute;
  16. z-index: 90;
  17. top:0px;
  18. left: 0px;
  19. }

  20. .un_child .list{
  21. border-bottom: 4px solid #F26520;
  22. background-image: url(diy/quanquan/child_bg.jpg);
  23. background-position: left bottom;
  24. background-repeat: repeat-x;
  25. overflow: hidden;
  26. margin-top: -75px;
  27. float: left;
  28. width:960px;
  29. }

  30. .un_child .item{
  31. padding-left: 43px;
  32. float: left;
  33. width:273px!important;
  34. height:62px!important;
  35. }

  36. .un_child .split{
  37. background-image: url(diy/quanquan/child_item_bg.jpg);
  38. background-position: right bottom;
  39. background-repeat: no-repeat;
  40. height:75px;
  41. width:5px;
  42. float: left;
  43. }
  44. .un_child .item h3{
  45. font-weight: bold;
  46. font-size: 14px;
  47. height: 22px;
  48. line-height: 22px;
  49. width:250px;
  50. }

  51. .un_child .item h3 a{
  52. color:#F06520;
  53. }

  54. .un_child .item p{
  55. line-height: 18px;
  56. color:#626262;
  57. width:250px;
  58. height:36px;
  59. overflow: hidden;
  60. margin-top: 3px;
  61. }

  62. .pd_btn{
  63. text-align: right;
  64. height:33px;
  65. }

  66. .pd_btn .span1{
  67. background: url(diy/quanquan/food_child_btn.gif);
  68. background-position: 1px top;
  69. cursor: pointer;
  70. width:123px;
  71. height:33px;
  72. display: block;
  73. float: right;
  74. }

  75. .pd_btn .span2{
  76. background: url(diy/quanquan/food_child_btn2.gif);
  77. background-position: 1px top;
  78. cursor: pointer;
  79. width:123px;
  80. height:33px;
  81. display: block;
  82. float: right;
  83. }

  84. .un_content{
  85. background-image: url(diy/quanquan/food_bg.jpg);
  86. background-position: left 4px;
  87. background-repeat: no-repeat;
  88. width: 960px;
  89. height:467px;
  90. position: relative;
  91. z-index: 0;
  92. top:0px;
  93. left:0px;
  94. }

  95. .forum_info{
  96. width:550px;
  97. height:67px;
  98. background-image: url(diy/quanquan/food_desc_bg.gif);
  99. background-position: left bottom;
  100. background-repeat: no-repeat;
  101. position: absolute;
  102. top: 19px;
  103. left: 231px;
  104. display: inline;
  105. }

  106. .ban_topicC{
  107. padding-left: 17px;
  108. height:20px;
  109. color:#636363;
  110. line-height: 20px;
  111. }

  112. .ban_topicC a{
  113. color:#636363;
  114. }

  115. .forum_des{
  116. padding-left: 17px;
  117. color:#252525;
  118. }

  119. .hot_topics{
  120. position: absolute;
  121. top: 86px;
  122. left: 374px;
  123. display: inline;
  124. width:330px;
  125. }

  126. .hot_topics a{
  127. color:#757575;
  128. }

  129. .hot_topics .topic_item{
  130. height:24px;
  131. line-height: 24px;
  132. background-repeat: no-repeat;
  133. padding-left: 30px;
  134. font-size: 14px;
  135. background-position: 10px 5px;
  136. overflow: hidden;
  137. }

  138. .hot_topics .sort1{
  139. background-image: url(diy/quanquan/sort_num_1.jpg);
  140. }

  141. .hot_topics .sort2{
  142. background-image: url(diy/quanquan/sort_num_2.jpg);
  143. }

  144. .hot_topics .sort3{
  145. background-image: url(diy/quanquan/sort_num_3.jpg);
  146. }

  147. .hot_topics .sort4{
  148. background-image: url(diy/quanquan/sort_num_4.jpg);
  149. }

  150. .hot_topics .sort5{
  151. background-image: url(diy/quanquan/sort_num_5.jpg);
  152. }

  153. .hot_topics .sort6{
  154. background-image: url(diy/quanquan/sort_num_6.jpg);
  155. }

  156. .hot_topics .logo img{
  157. _behavior: url("u/images/iepngfix.htc");
  158. width:129px;
  159. height:40px;
  160. }

  161. .hot_topics .logo{
  162. height:56px;
  163. }

  164. .un_active{
  165. background-image: url(diy/quanquan/unarea_food_bot_bg.jpg);
  166. background-position: left bottom;
  167. background-repeat: repeat-x;
  168. position: absolute;
  169. display: inline;
  170. bottom: 0px;
  171. height:110px;
  172. width:960px;
  173. z-index: 0;
  174. }

  175. .hot_topics .logo2 img{
  176. _behavior: url("u/images/iepngfix.htc");
  177. width:173px;
  178. height:40px;
  179. }


  180. .hot_topics .logo2{
  181. text-align: left;
  182. margin-top: 14px;
  183. }

  184. .active_item{
  185. width:300px;
  186. height:90px;
  187. float: right;
  188. display: inline;
  189. }

  190. .active_item div{
  191. float: left;
  192. display: inline;
  193. overflow: hidden;
  194. }

  195. .active_item img{
  196. border:4px solid #E1E1E1;
  197. width:280px;
  198. height:70px;
  199. }

  200. .active_item .img{
  201. width:290px;
  202. height:80px;
  203. margin-right: 10px;
  204. border: none;
  205. padding: 0px;
  206. }

  207. .active_item .title{
  208. height:22px;
  209. line-height: 28px;
  210. font-size: 14px;
  211. font-weight: bold;
  212. width:190px;
  213. }

  214. .active_item .title a{
  215. color:#F26520;
  216. }

  217. .active_item .desc{
  218. margin-top: 14px;
  219. color:#464646;
  220. width:190px;
  221. height:54px;
  222. float: left;
  223. display: inline;
  224. }

  225. #food_hot{
  226. background-image: url(diy/quanquan/food_hot_bg.jpg);
  227. background-position: left bottom;
  228. background-repeat: repeat-x;
  229. padding:0 12px;
  230. padding:0 8px;
  231. width:200px;
  232. position: absolute;
  233. top:86px;
  234. right: 30px;
  235. }

  236. #food_hot span {
  237. color:#F26520;
  238. display:inline;
  239. float:left;
  240. font-size:14px;
  241. font-weight:bold;
  242. overflow:hidden;
  243. width:200px;
  244. }

  245. #food_hot ul{
  246. display:inline;
  247. float:left;
  248. margin-left:0;
  249. margin-top:4px;
  250. overflow:hidden;
  251. width:200px;
  252. margin-bottom: 4px;
  253. }

  254. #food_hot li {
  255. display:inline;
  256. float:none;
  257. height:18px;
  258. line-height:18px;
  259. padding-left:0;
  260. padding-right:5px;
  261. width:auto;
  262. }

  263. .un_flash{
  264. position: absolute;
  265. top:92px;
  266. width:324px;
  267. height:317px;
  268. }

  269. .flash_btn{
  270. background-image: url(diy/quanquan/food_flash_btn_bg.gif);

  271. height: 15px;
  272. width: 15px;
  273. color:#F36324;
  274. text-align: center;
  275. line-height: 15px;
  276. position: absolute;
  277. font-weight: bold;
  278. z-index: 5;
  279. cursor: pointer;
  280. }

  281. .flash_btn_current{
  282. background-image: url(diy/quanquan/food_flash_btn_h_bg.gif);

  283. color:#fff;
  284. }

  285. .fbtn1 {
  286. left:128px;
  287. top:410px;
  288. }
  289. .fbtn2 {
  290. left:149px;
  291. top:415px;
  292. }
  293. .fbtn3 {
  294. left:170px;
  295. top:417px;
  296. }
  297. .fbtn4 {
  298. left:191px;
  299. top:416px;
  300. }
  301. .fbtn5 {
  302. left:212px;
  303. top:412px;
  304. }

  305. .flash_img{
  306. width:288px;
  307. height:282px;
  308. position:absolute;
  309. top:127px;
  310. left:36px;
  311. z-index: 2;
  312. }

  313. .a_img{
  314. width:288px;
  315. height:282px;
  316. z-index: 3;
  317. position: absolute;
  318. top:127px;
  319. left:36px;
  320. }
  321. </style>
  322. <script type="text/javascript" src="diy/quanquan/jquery-1.3.2.min.js"></script>
  323. <script type="text/javascript">
  324. jQuery.noConflict();
  325. </script>
  326. <div id="un_body">
  327. <div class="un_child">
  328. <div class="list">

  329. <div class="item">
  330. <h3><a href="#">同城食品</a></h3>
  331. <p>都为零食狂</p>
  332. </div>

  333. <div class="split"></div>

  334. <div class="item">
  335. <h3><a href="#">美食商家自荐</a></h3>
  336. <p>商家发布餐厅、菜品、食材食器信息专区</p>
  337. </div>

  338. <div class="split"></div>

  339. <div class="item">
  340. <h3><a href="#">随州美食打折专区</a></h3>
  341. <p>分享随州美食餐饮打折优惠信息。</p>
  342. </div>

  343. <div style="clear:both;"></div>
  344. </div>
  345. <div class="pd_btn">
  346. <span class="span1"></span>
  347. </div>
  348. </div>
  349. <div class="un_content">
  350. <div class="forum_info">
  351. <div class="ban_topicC">
  352. 版主:

  353. <a class="username" href="#">林夕</a>

  354. 商务合作电话:15897649850
  355. </div>
  356. <div class="forum_des">
  357. 每次享受美食的同时要记得先拍照哦,那样就方便参加“吃了就来秀”活动了!如果你觉得活动不错,别忘了提醒你身边的朋友们,享受美食,分享美食,有机会得大奖哦!
  358. </div>
  359. </div>
  360. <div class="hot_topics">
  361. <div class="logo">
  362. <img alt="美食热门推荐" src="diy/quanquan/food_hot_logo.png"/>
  363. </div>

  364. <div class="topic_item sort1">
  365. <a href="#" target="_blank">生日蛋糕 哈根达斯淘宝购物切记~</a>
  366. </div>

  367. <div class="topic_item sort2">
  368. <a href="#" target="_blank">郊外觅食FB小记 泽园别有一番洞天</a>
  369. </div>

  370. <div class="topic_item sort3">
  371. <a href="#" target="_blank">港丽茶餐厅,这里的柠檬水淡的像白开水</a>
  372. </div>

  373. <div class="topic_item sort4">
  374. <a href="#" target="_blank">海派风情老克勒不是李克勤,上海菜餐厅尝鲜</a>
  375. </div>

  376. <div class="topic_item sort5">
  377. <a href="#" target="_blank">小房子,橘色顶。来自街有食情。</a>
  378. </div>

  379. <div class="topic_item sort6">
  380. <a href="#" target="_blank">吃喝版主又一大贴,福利加腐败的一天</a>
  381. </div>

  382. <div class="logo2">
  383. <img alt="美食精彩活动" src="diy/quanquan/food_active_logo.png"/>
  384. </div>
  385. </div>
  386. <div id="food_hot">
  387. <span>[热门菜]</span>
  388. <ul>

  389. <li><a target="_blank" href="#">自助餐</a></li>

  390. <li><a target="_blank" href="#">西餐</a></li>

  391. <li><a target="_blank" href="#">韩国菜</a></li>

  392. <li><a target="_blank" href="#">泰国菜</a></li>

  393. <li><a target="_blank" href="#">川菜</a></li>

  394. <li><a target="_blank" href="#">日本料理</a></li>

  395. <li><a target="_blank" href="#">龙虾</a></li>

  396. </ul>
  397. <span>[热门商圈]</span>
  398. <ul>

  399. <li><a target="_blank" href="#">新天地</a></li>

  400. <li><a target="_blank" href="#">随州</a></li>

  401. <li><a target="_blank" href="#">曾都区</a></li>

  402. <li><a target="_blank" href="#">百盛</a></li>

  403. </ul>
  404. <span>[热门街区]</span>
  405. <ul>

  406. <li><a target="_blank" href="#">丁公路</a></li>

  407. <li><a target="_blank" href="#">福州路</a></li>

  408. <li><a target="_blank" href="#">二七北路</a></li>

  409. <li><a target="_blank" href="#">民德路</a></li>

  410. <li><a target="_blank" href="#">子固路</a></li>

  411. <li><a target="_blank" href="#">沿江路</a></li>

  412. <li><a target="_blank" href="#">建德观街</a></li>

  413. </ul>
  414. <span>[热门分类]</span>
  415. <ul>

  416. <li><a target="_blank" href="#">近郊觅食</a></li>

  417. <li><a target="_blank" href="#">随州老字号</a></li>

  418. <li><a target="_blank" href="#">西餐</a></li>

  419. <li><a target="_blank" href="#">火锅</a></li>

  420. <li><a target="_blank" href="#">咖啡馆</a></li>

  421. <li><a target="_blank" href="#">夜宵</a></li>

  422. <li><a target="_blank" href="#">喝粥</a></li>

  423. </ul>
  424. </div>

  425. <img class="flash_img" src="diy/quanquan/hdp_17.jpg" style="display: list-item;"/>
  426. <a target="_blank" href="#"><img class="a_img" style="display: list-item;" src="diy/quanquan/tm.gif"/></a>

  427. <img class="flash_img" src="diy/quanquan/hdp_18.jpg" style="display: none;"/>
  428. <a target="_blank" href="#"><img class="a_img" style="display: none;" src="diy/quanquan/tm.gif"/></a>

  429. <img class="flash_img" src="diy/quanquan/hdp_19.jpg" style="display: none;"/>
  430. <a target="_blank" href="#"><img class="a_img" style="display: none;" src="diy/quanquan/tm.gif"/></a>

  431. <img class="flash_img" src="diy/quanquan/hdp_20.jpg" style="display: none;"/>
  432. <a target="_blank" href="#"><img class="a_img" style="display: none;" src="diy/quanquan/tm.gif"/></a>

  433. <img class="flash_img" src="diy/quanquan/hdp_21.jpg" style="display: none;"/>
  434. <a target="_blank" href="#"><img class="a_img" style="display: none;" src="diy/quanquan/tm.gif"/></a>

  435. <div style="z-index: 2; background-image: url(diy/quanquan/food_flash_bg.png);_behavior: url(u/images/iepngfix.htc); height: 375px; width: 356px; position: absolute; top: 92px;"></div>

  436. <div class="flash_btn flash_btn_current fbtn1" current="1" num="1">1</div>

  437. <div class="flash_btn fbtn2" current="0" num="2">2</div>

  438. <div class="flash_btn fbtn3" current="0" num="3">3</div>

  439. <div class="flash_btn fbtn4" current="0" num="4">4</div>

  440. <div class="flash_btn fbtn5" current="0" num="5">5</div>

  441. <script language="JavaScript">
  442. var autoplay = setInterval(function(){flash_play(-1)},2*1000);

  443. jQuery(".a_img,.flash_btn").mouseover(function(){
  444. clearInterval(autoplay);
  445. });
  446. jQuery(".a_img,.flash_btn").mouseout(function(){
  447. autoplay = setInterval(function(){flash_play(-1)},2*1000);
  448. });
  449. jQuery(".flash_btn").mouseover(function(){
  450. flash_play(parseInt(jQuery(this).attr("num"))-1);
  451. });
  452. function flash_play(i){
  453. if(i==-1){
  454. i = parseInt(jQuery(".flash_btn[current=1]").attr("num"));
  455. }

  456. jQuery(".flash_btn_current").attr("current","0");
  457. jQuery(".flash_btn_current").removeClass("flash_btn_current");
  458. jQuery(".flash_img,.a_img").css("display","none");

  459. var count = jQuery(".flash_btn").length;
  460. if(i==count){
  461. i=1;
  462. }else{
  463. i++;
  464. }
  465. jQuery(".flash_btn[num="+i+"]").addClass("flash_btn_current");
  466. jQuery(".flash_btn[num="+i+"]").attr("current","1");
  467. jQuery(".flash_img").eq(i-1).css({"display":"list-item","opacity":"0"});
  468. jQuery(".flash_img").eq(i-1).animate({"opacity":"1"},{queue:false},600);
  469. jQuery(".a_img").eq(i-1).css({"display":"list-item","opacity":"0"});
  470. jQuery(".a_img").eq(i-1).animate({"opacity":"1"},{queue:false},600);
  471. }
  472. </script>
  473. <div class="un_active">

  474. <div class="active_item">
  475. <div class="img"><a href="#" target="_blank"><img src="diy/quanquan/hd_6.jpg"/></a></div>
  476. <div class="title"><a href="#" target="_blank">【吃了就来秀12】新一期的活动</a></div>
  477. </div>

  478. <div class="active_item">
  479. <div class="img"><a href="#" target="_blank"><img src="diy/quanquan/hd_5.jpg"/></a></div>
  480. <div class="title"><a href="#" target="_blank">Office零食大作战</a></div>
  481. </div>

  482. <div style="clear:both"></div>
  483. </div>
  484. </div>
  485. </div>
  486. <script type="text/javascript">
  487. jQuery(".pd_btn span").click(function(){
  488. if(jQuery(this).attr("class")=='span1'){
  489. jQuery(this).attr("class","span2");
  490. jQuery(".un_child .list").animate({marginTop:"0px"},200);
  491. }else{
  492. jQuery(this).attr("class","span1");
  493. jQuery(".un_child .list").animate({marginTop:"-75px"},200);
  494. }
  495. });
  496. </script>

  497. </div>
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| cgen8 发表于 2010-11-7 03:06:30 | 显示全部楼层
素材大家可以自己下载
回复

使用道具 举报

lxp922 发表于 2010-11-7 09:35:54 | 显示全部楼层

www.xosyy.com
新欧尚社区
来支持哦。相当的不错。。
回复

使用道具 举报

ilei365 发表于 2010-11-7 09:41:17 | 显示全部楼层
很不错的说。。
回复

使用道具 举报

 楼主| cgen8 发表于 2010-11-7 17:52:55 | 显示全部楼层
大家一起分享撒
呵呵
www.230722.com
回复

使用道具 举报

无效楼层,该帖已经被删除
咕噜村 发表于 2010-11-7 19:14:18 | 显示全部楼层
代码放在 板块简介里?
回复

使用道具 举报

woweinh 发表于 2010-11-7 19:24:47 | 显示全部楼层
很好啊
回复

使用道具 举报

sunhai520 发表于 2010-11-7 19:26:37 | 显示全部楼层
很漂亮  但代码好多哦··
回复

使用道具 举报

 楼主| cgen8 发表于 2010-11-8 13:03:19 | 显示全部楼层
呵呵
谢谢支持
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-28 15:33 , Processed in 0.573098 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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