Skip to content

Commit

Permalink
修改主页细节
Browse files Browse the repository at this point in the history
  • Loading branch information
chwdy committed Aug 2, 2016
1 parent 772d7c8 commit 3090928
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 47 deletions.
25 changes: 15 additions & 10 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ a:hover { text-decoration: underline; color: #a50001; }

.slideshow SPAN.title { text-indent: 0px; }
.block { margin: 0;position: relative; }
#frameHlicAe { margin: 0px !important; border: 0px z-index:-1;}
#frameHlicAe { margin: 0px !important; border: 0px;z-index:-1;}
.comiis_wrap960, .comiis_wrapad { margin: 0 auto; width: 300px;}
.comiis_wrapad { margin-top: 0px;}
.comiis_wrapad { overflow: hidden; }
Expand All @@ -65,7 +65,7 @@ a:hover { text-decoration: underline; color: #a50001; }
.tabqh .menu li a{color:#000000;font:16px/normal 微软雅黑; font-weight:bold;text-decoration:none;display:block; }
.tabqh .menu li a.tabactive{color:#fff;font:16px/normal 微软雅黑; font-weight:bold;height:25px;background-color:#DE0023}
.tabqh .tabdiv ul{list-style:none;padding-top:10px;}
.tabqh .tabdiv ul li{height:24px;line-height:24px;overflow:hidden; no-repeat left center;text-indent:0px;}
.tabqh .tabdiv ul li{height:24px;line-height:24px;overflow:hidden; no-repeat:left center;text-indent:0px;}
.tabqh .tabdiv ul li a{text-decoration:none;color:#000000;}
.tabqh .tabdiv ul li a:hover{color:#DE0023;}
.tabqh .tabfirstli{margin-left:0px;}
Expand All @@ -88,7 +88,7 @@ a:hover { text-decoration: underline; color: #a50001; }
.tabqh2 .menu li a{color:#000000;font:16px/normal 微软雅黑; font-weight:bold;text-decoration:none;display:block; }
.tabqh2 .menu li a.tabactive{color:#fff;font:16px/normal 微软雅黑; font-weight:bold;height:25px;background-color:#DE0023}
.tabqh2 .tabdiv ul{list-style:none;}
.tabqh2 .tabdiv ul li{height:30px;line-height:30px;overflow:hidden; no-repeat left center;text-indent:0px;}
.tabqh2 .tabdiv ul li{height:30px;line-height:30px;overflow:hidden; no-repeat:left center;text-indent:0px;}
.tabqh2 .tabdiv ul li a{text-decoration:none;color:#000000;}
.tabqh2 .tabdiv ul li a:hover{color:#DE0023;}
.tabqh2 .tabfirstli{margin-left:0px;}
Expand All @@ -111,7 +111,7 @@ a:hover { text-decoration: underline; color: #a50001; }
.tabqh3 .menu li a{color:#000000;font:16px/normal 微软雅黑; font-weight:bold;text-decoration:none;display:block; }
.tabqh3 .menu li a.tabactive{color:#fff;font:16px/normal 微软雅黑; font-weight:bold;height:25px;background-color:#DE0023}
.tabqh3 .tabdiv ul{padding-top:10px;}
.tabqh3 .tabdiv ul li{height:24px;line-height:24px;overflow:hidden; no-repeat left center;text-indent:0px;}
.tabqh3 .tabdiv ul li{height:24px;line-height:24px;overflow:hidden; no-repeat:left center;text-indent:0px;}
.tabqh3 .tabdiv ul li a{text-decoration:none;color:#000000;}
.tabqh3 .tabdiv ul li a:hover{color:#DE0023;}
.tabqh3 .tabfirstli{margin-left:0px;}
Expand Down Expand Up @@ -179,21 +179,26 @@ a{ color:#6cf;}
.grey10{
font-size: 10px;
color: #cccccc;
line-height:30px;
float:right;
line-height:30px;
float:right;
font-family:"Microsoft YaHei";
}
.grey12-more{
font-size: 12px;
color: #cccccc;
line-height:20px;
float:right;
line-height:20px;
padding-bottom:0;
margin-bottom:0;
vertical-align:bottom;
float:right;
font-family:"Microsoft YaHei";
}
.pink12{
font-size: 12px;
color: #F05A57;
line-height:20px;
float:right;
font-family: 微软雅黑;
font-family:"Microsoft YaHei";
}
.grey10-1{
font-size: 10px;
Expand All @@ -220,7 +225,7 @@ font-family: 微软雅黑;
font-size: 20px;
color: #003399;
font-weight: bold;
font-family: 微软雅黑;
font-family:"Microsoft YaHei";
}


Expand Down
Binary file added images/dot3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/temp/dd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 102 additions & 36 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
</tr>
<?php endwhile; }else {?>
<tr>
<td width="332" height="24"><a href="#" class="blue20"></a></td>
<td width="315" height="24"><a href="#" class="blue20"></a></td>
</tr>
<tr>
<td style="padding:5px;"><font class="grey12-more"><a href="#" class="grey10bg">更多>></a></td>
Expand Down Expand Up @@ -242,10 +242,18 @@
</td>
<!-- 学院团训开始 -->

<td width="304" valign="top"><table width="304" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="304" height="26" background="<?php bloginfo('template_url'); ?>/images/banner0.jpg"><div align="right"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></div></td>
</tr>
<td width="320" valign="top"><table width="304" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="320" height="26" >

<table width="320">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">学院团训</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>

</td>
</tr>
<tr><td width="100%" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td style="padding:5px;"><ul>
<?php
Expand All @@ -262,16 +270,29 @@
</table>
<!-- 学院团训结束 -->
<table width="643" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td height="38" colspan="2" style="padding:0"><!-- background="images/banner1.jpg"-->
<table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td >
<table width="315">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">思想引领行动</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>
</td>
<td >
<table width="320">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">素质拓展行动</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>
</td>
</tr>
</table></td>
</tr>
<tr><td width="100%" colspan="2" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td height="40" colspan="2" background="<?php bloginfo('template_url'); ?>/images/banner1.jpg"><table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="336"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
<td width="307"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</tr>
</table></td>
</tr>
<tr>
<td width="310" style="padding-left:10px; "><!-- 思想引领行动 -->
<td width="315" style="padding-left:10px; "><!-- 思想引领行动 -->
<ul>
<?php
$cat_name = "思想引领行动";
Expand All @@ -283,7 +304,7 @@
</ul>
</td>
<!-- 素质拓展行动 -->
<td width="290" style="padding-left:10px; "><ul>
<td width="325" style="padding-left:10px; "><ul>
<?php
$cat_name = "素质拓展行动";
$query = new WP_Query("posts_per_page=5&category_name=".$cat_name);
Expand All @@ -295,16 +316,28 @@
</tr>
</table>
<table width="643" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="38" colspan="2" style="padding:0"><!-- background="images/banner1.jpg"-->
<table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td >
<table width="315">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">权益服务行动</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>
</td>
<td >
<table width="320">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">组织提升行动</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>
</td>
</tr>
</table></td>
</tr>
<tr><td width="100%" colspan="2" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td height="42" colspan="2" background="<?php bloginfo('template_url'); ?>/images/banner2.jpg"><table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="336"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
<td width="307"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</tr>
</table></td>
</tr>
<tr>
<td width="310" style="padding-left:10px; ">
<td width="315" style="padding-left:10px; ">
<!-- 权益服务行动 -->
<ul>
<?php
Expand All @@ -315,7 +348,7 @@
<li class="li"><a href="<?php the_permalink(); ?>" class="black14"><?php the_title(); ?></a><font class="grey10"><?php the_time("m-d"); ?></font></li>
<?php endwhile; wp_reset_query(); ?>
</ul></td>
<td width="290" style="padding-left:10px; ">
<td width="325" style="padding-left:10px; ">
<!-- 组织提升行动 -->
<ul>
<?php
Expand All @@ -329,11 +362,28 @@
</tr>
</table>
<table width="643" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="38" colspan="2" style="padding:0"><!-- background="images/banner1.jpg"-->
<table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td >
<table width="315">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">东大青年</li></ul></td>

</table>
</td>
<td >
<table width="320">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">特别专题</li></ul></td>

</table>
</td>
</tr>
</table></td>
</tr>
<tr><td width="100%" colspan="2" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td height="38" colspan="2"><img src="<?php bloginfo('template_url'); ?>/images/banner3.jpg" width="643" height="40" /></td>
</tr>
<tr>
<td width="310" style="padding-top:10px; "><!-- 杂志翻页 -->
<td width="315" style="padding-top:10px; "><!-- 杂志翻页 -->
<div class="box">
<div class="picbox">
<ul class="piclist mainlist">
Expand All @@ -349,16 +399,24 @@
<div class="og_next"></div>
</div></td><!-- 杂志结束 -->
<!-- 特别专题开始 -->
<td width="290"><img src="<?php bloginfo('template_url'); ?>/images/temp/specialsub.jpg" width="300" height="143" /></td>
<td width="320"><img src="<?php bloginfo('template_url'); ?>/images/temp/specialsub.jpg" width="300" height="143" /></td>
<!-- 特别专题结束 -->
</tr>
</table></td>

<!--右一表格开始-->
<td width="317" valign="top"><table width="317" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="317" height="26" background="<?php bloginfo('template_url'); ?>/images/banner4.jpg"><div align="right"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></div></td>
</tr>
<tr>
<td width="317" height="26" >

<table width="320">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">通知公告</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>

</td>
</tr>
<tr><td width="100%" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td style="padding:5px;">
<!--通知公告开始-->
Expand Down Expand Up @@ -522,9 +580,17 @@
<!--专题结束 -->
<!--友情连接开始 -->
<table width="317" border="0" cellspacing="0" cellpadding="0" style="padding-top:16px;">
<tr>
<td width="317" height="26" background="<?php bloginfo('template_url'); ?>/images/banner6.jpg"><div align="right"><a href="more.php" class="grey12-more">更多&gt;&gt;</a></div></td>
</tr>
<tr>
<td width="317" height="26" >

<table width="320">
<td><ul ><li style="list-style:square inside url('images/dot3.jpg');color:#D4000D;margin:auto;font-size:17px;font-weight:bolder">友情链接</li></ul></td>
<td><a href="more.php" class="grey12-more">更多&gt;&gt;</a></td>
</table>

</td>
</tr>
<tr><td width="100%" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion js/slideshow.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function SlideShow(c) {
var a = document.getElementById("slideContainer"), f = document.getElementById("slidesImgs").getElementsByTagName("li"), h = document.getElementById("slideBar"), n = h.getElementsByTagName("li"), d = f.length, c = c || 3000, e = lastI = 0, j, m;
var a = document.getElementById("slideContainer"), f = document.getElementById("slidesImgs").getElementsByTagName("li"), h = document.getElementById("slideBar"), n = h.getElementsByTagName("li"), d = f.length, c = 3000, e = lastI = 0, j, m;
function b() {
m = setInterval(function () {
e = e + 1 >= d ? e + 1 - d : e + 1;
Expand Down

0 comments on commit 3090928

Please sign in to comment.