Skip to content

Commit

Permalink
按照0810要求修改
Browse files Browse the repository at this point in the history
  • Loading branch information
chwdy committed Aug 10, 2016
1 parent deb7402 commit bb8d961
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 34 deletions.
24 changes: 14 additions & 10 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ a { color: #000; text-decoration: none; }

.slideshow { clear: both; }
.slideshow li { position: relative; overflow: hidden; }
.slideshow span.title { position: absolute; bottom: 0; left: 0; margin-bottom: 0; width: 100%; height: 35px; line-height: 35px; font-size: 14px; text-indent: 10px; }
.slideshow span.title { position: absolute; bottom: 0; left: 0; margin-bottom: 0;padding-top: 12px; width: 100%; height: 23px; line-height: 14px; font-size: 14px; text-indent: 10px; }
.slideshow span.title, .slidebar li { background: rgba(0,0,0,0.3); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #30000000,endColorstr = #30000000); color: #FFF; overflow: hidden; }
.slidebar li { float: left; margin-right: 1px; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 14px; cursor: pointer; }
.slidebar li.on { background: rgba(255,255,255,0.5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #50FFFFFF,endColorstr = #50FFFFFF); color: #000; font-weight: 700; }
Expand All @@ -52,7 +52,7 @@ a:hover { text-decoration: underline; color: #a50001; }
.comiis_wrapad { overflow: hidden; }
.comiis_wrapad img { float: left; margin-top: 0px; }

#slidesImgs li { width: 300px; height: 200px; display: none; }
#slidesImgs li { width: 300px; height: 240px; display: none; }
/*焦点图结束*/


Expand Down Expand Up @@ -81,14 +81,14 @@ a:hover { text-decoration: underline; color: #a50001; }



.tabqh2{height:365px;margin:0px auto;position:relative;width:300px;}
.tabqh2 .menu{height:35px;width:300px;}
.tabqh2{height:270px;margin:0px auto;position:relative;width:300px;}
.tabqh2 .menu{height:30px;width:300px;}
.tabqh2 .menu ul{margin:0px;padding:0px;height:26px;list-style:none;text-align:center;}
.tabqh2 .menu li{display:block;float:left;height:25px;line-height:25px;margin-left:30px;font-family:"Microsoft YaHei";margin-top:5px;width:100px;}
.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 .menu li a{color:#000000;font:16px/normal "Microsoft YaHei"; font-weight:bold;text-decoration:none;display:block; }
.tabqh2 .menu li a.tabactive{color:#fff;font:16px/normal "Microsoft YaHei"; font-weight:bold;height:25px;background-color:#DE0023}
.tabqh2 .tabdiv ul{list-style:none;padding-top:10px;}
.tabqh2 .tabdiv ul li{height:30px;line-height:24px;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 Down Expand Up @@ -157,14 +157,16 @@ a{ color:#6cf;}
.white12{
font-size: 13px;
color: #fff;
line-height:24px;
line-height:20px;
padding-bottom: 2px;
font-family:"Microsoft YaHei";
}
.black14{
font-size: 14px;
color: #000000;
line-height:30px;
padding-left:1px;
padding-bottom: 2px;
overflow:hidden;


Expand Down Expand Up @@ -225,6 +227,8 @@ float:right;
font-family:"Microsoft YaHei";
}
.blue20{
margin-left: 2px;
margin-right: 2px;
font-size: 20px;
color: #003399;
font-weight: bold;
Expand Down Expand Up @@ -271,7 +275,7 @@ float:right;
width: 48px;
height: 22px;
margin: 0;
padding-top: 2px;
padding-top: 1px;
font-size: 14px;
background-color: #da9c01;
font-family:"Microsoft YaHei";
Expand Down
14 changes: 7 additions & 7 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,23 @@
<li class="mainlevel" id="mainlevel_02"><a href="#" target="_blank">东大共青团</a>
<ul id="sub_02">
<li><a href="#" target="_blank">团委简介</a></li>
<li><a href="#" target="_blank">机构设置</a></li>
<li><a href="#" target="_blank">工作职责</a></li>
<li><a href="#" target="_blank">学校团委</a></li>
<li><a href="#" target="_blank">组织架构</a></li>
<li><a href="#" target="_blank">人员概况</a></li>
<li><a href="#" target="_blank">职能部门</a></li>
</ul>
</li>
<li class="mainlevel" id="mainlevel_03"><a href="#" target="_blank">学生组织</a>
<ul id="sub_03">
<li><a href="#" target="_blank">学生会</a></li>
<li><a href="#" target="_blank">研究生会</a></li>
<li><a href="#" target="_blank">社团联合会</a></li>
<li><a href="#" target="_blank">思想教育中心</a></li>
<li><a href="#" target="_blank">青年新媒体中心</a></li>
<li><a href="#" target="_blank">素质拓展中心</a></li>
<li><a href="#" target="_blank">先锋网络中心</a></li>
<li><a href="#" target="_blank">社会实践中心</a></li>
<li><a href="#" target="_blank">思想教育中心</a></li>
<li><a href="#" target="_blank">“践行”志愿者协会</a></li>
<li><a href="#" target="_blank">素质拓展中心</a></li>
<li><a href="#" target="_blank">文化艺术中心</a></li>
<li><a href="#" target="_blank">先锋网络中心</a></li>
</ul>
</li>
<li class="mainlevel" id="mainlevel_04"><a href="#" target="_blank">网上团支部</a></li>
Expand All @@ -104,7 +104,7 @@
<input type="text" class="box" name="s" id="s" placeholder="" >
</td>
<td>
<button class="btn" title="SEARCH" type="submit">搜索</button>
<button class="btn" title="SEARCH" type="submit" >搜索</button>
</td>

</tr>
Expand Down
Binary file modified images/rankbg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 20 additions & 17 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<!--左一表格 -->
<!--焦点图开始 -->
<td width="300" valign="top">
<table width="300" height="180" border="0" align="center" cellpadding="0" cellspacing="0">
<table width="300" height="240" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="300"><div class="comiis_wrapad" id="slideContainer">
<div id="frameHlicAe" class="frame cl">
Expand All @@ -32,13 +32,13 @@
<ul class="slideshow" id="slidesImgs" >
<!-- 焦点图数据循环开始 -->
<li><a href="<?php echo $pictures['top_left_url1']; ?>" target="_blank">
<img src="<?php echo $pictures['top_left_picture1']; ?>" width="300" height="200" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content1"], 0, 28,"","UTF-8"); ?></span></li>
<img src="<?php echo $pictures['top_left_picture1']; ?>" width="300" height="240" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content1"], 0, 23,"","UTF-8"); ?></span></li>
<li><a href="<?php echo $pictures['top_left_url2']; ?>" target="_blank">
<img src="<?php echo $pictures['top_left_picture2']; ?>" width="300" height="200" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content2"], 0, 28,"","UTF-8"); ?></span></li>
<img src="<?php echo $pictures['top_left_picture2']; ?>" width="300" height="240" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content2"], 0, 23,"","UTF-8"); ?></span></li>
<li><a href="<?php echo $pictures['top_left_url3']; ?>" target="_blank">
<img src="<?php echo $pictures['top_left_picture3']; ?>" width="300" height="200" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content3"], 0, 28,"","UTF-8"); ?></span></li>
<img src="<?php echo $pictures['top_left_picture3']; ?>" width="300" height="240" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content3"], 0, 23,"","UTF-8"); ?></span></li>
<li><a href="<?php echo $pictures['top_left_url4']; ?>" target="_blank">
<img src="<?php echo $pictures['top_left_picture4']; ?>" width="300" height="200" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content4"], 0, 28,"","UTF-8"); ?></span></li>
<img src="<?php echo $pictures['top_left_picture4']; ?>" width="300" height="240" alt="" /></a><span class="title"><?php echo mb_strimwidth($pictures["top_left_content4"], 0, 23,"","UTF-8"); ?></span></li>
<!-- 焦点图数据循环结束 -->
</ul>
</div>
Expand Down Expand Up @@ -79,7 +79,7 @@
</div>
<table width="300" border="0" cellspacing="0" cellpadding="0" style="padding-top:4px; ">
<tr>
<td height="2" bgcolor="#D2691E"></td>
<td height="2" bgcolor="#C74E00"></td>
</tr>
</table> <div id="tabContenth1" name="divNumberh" class="tabdiv">
<ul><table width="300" height="176" border="0" cellpadding="0" cellspacing="0">
Expand Down Expand Up @@ -188,7 +188,7 @@
while($query->have_posts()): $query->the_post();
?>
<tr>
<td width="320" height="24" align="center"><a href="<?php the_permalink();?>" class="blue20"><?php echo mb_strimwidth(get_the_title(), 0, 29,"...","UTF-8"); ?></a></td>
<td width="320" height="60" align="center"><a href="<?php the_permalink();?>" class="blue20"><?php echo mb_strimwidth(get_the_title(), 0, 58,"...","UTF-8"); ?></a></td>
</tr>
<tr>
<td style="padding:5px;"><font class="grey12-more"><?php echo get_the_excerpt();?><a href="<?php the_permalink() ?>" class="grey10bg">更多>></a></td>
Expand All @@ -205,7 +205,7 @@
<td height="8" background="<?php bloginfo('template_url'); ?>/images/dotlinebg.jpg"></td>
</tr>
<tr>
<td style="padding:6px;">
<td style="padding:7px;">
<!-- 头题文字循环开始 -->
<ul>
<?php
Expand Down Expand Up @@ -242,7 +242,7 @@
<td style="padding:5px;padding-bottom: 2px"><ul>
<?php
$cat_name = "学院团训";
$query = new WP_Query("posts_per_page=6&category_name=".$cat_name);
$query = new WP_Query("posts_per_page=7&category_name=".$cat_name);
while($query->have_posts()): $query->the_post();
?>
<li class="li"><a href="<?php the_permalink(); ?>" class="black14"><?php echo mb_strimwidth(get_the_title(), 0, 36,"...","UTF-8"); ?></a><font class="grey10"><?php the_time("m-d"); ?></font></li>
Expand Down Expand Up @@ -413,12 +413,12 @@
</tr>
<tr><td width="100%" height="2px" bgcolor="#c74e00"></td></tr>
<tr>
<td style="padding:5px;">
<td style="padding:5px;padding-bottom: 12px;">
<!--通知公告开始-->
<ul>
<?php
$cat_name = "通知公告";
$query = new WP_Query("posts_per_page=6&category_name=".$cat_name);
$query = new WP_Query("posts_per_page=7&category_name=".$cat_name);
while($query->have_posts()): $query->the_post();
?>
<li class="li"><a href="<?php the_permalink(); ?>" class="black14"><?php echo mb_strimwidth(get_the_title(), 0, 36,"...","UTF-8"); ?></a><font class="grey10"><?php the_time("m-d"); ?></font></li>
Expand All @@ -439,7 +439,7 @@
</div>
<table width="317" border="0" cellspacing="0" cellpadding="0" style="padding-top:3px; ">
<tr>
<td height="2" bgcolor="#D2691E"></td>
<td height="2" bgcolor="#C74E00"></td>
</tr>
</table>
<div id="tabContenta1" name="divNumbera" class="tabdiv">
Expand All @@ -458,11 +458,14 @@
</table>
<table width="317" height="73" border="0" cellpadding="0" cellspacing="0" background="<?php bloginfo('template_url'); ?>/images/dotlinebg2.jpg">

<tr>
<td width="70"><table width="54" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td background="<?php bloginfo('template_url'); ?>/images/calbg.jpg" align="center"><font class="white12"><?php echo $monthes[substr($time2, 5, 2)] ?></font><br />
<font class="black14"><strong><?php if(substr($time2, 8, 2) < 10) echo substr($time2, 9, 1); else echo substr($time2, 8, 2); ?></strong></font></td>
<tr >
<td width="70" height="50">
<table width="54" height="50" border="0" align="center" cellpadding="0" cellspacing="0" style="position: relative">
<tr >
<td background="<?php bloginfo('template_url'); ?>/images/calbg.jpg" align="center">
<font class="white12"><?php echo $monthes[substr($time2, 5, 2)] ?></font><br />
<font class="black14"><strong><?php if(substr($time2, 8, 2) < 10) echo substr($time2, 9, 1); else echo substr($time2, 8, 2); ?></strong></font>
</td>
</tr>
</table></td>
<td><div align="right"><a href="#" class="pink12"><?php echo($title2)?><br />
Expand Down

0 comments on commit bb8d961

Please sign in to comment.