bianjiang hace 5 meses
padre
commit
b593184a61
Se han modificado 3 ficheros con 15 adiciones y 5 borrados
  1. 6 3
      xihuaTemplate/css/media.css
  2. 8 1
      xihuaTemplate/css/style.css
  3. 1 1
      xihuaTemplate/listteacher2.htm

+ 6 - 3
xihuaTemplate/css/media.css

@@ -163,9 +163,6 @@
   .news_lay_box .news_lay_item .list_item .cover {
     height: 210px;
   }
-  .news_lay_box .news_lay_item .list_item img {
-    height: 210px;
-  }
   .news_lay_box .news_lay_item .list_item.news_1 {
     font-size: 18px;
     line-height: 28px;
@@ -222,12 +219,18 @@
   .tab_list .list_item .list_img {
     height: 200px;
   }
+  .tab_list .list_item img {
+    height: 200px;
+  }
   .tab_list.research_list .list_item .item .list_img {
     height: 300px;
   }
   .tab_list.research_list .list_item img {
     height: 300px;
   }
+  .works_tab .tab_list .list_item {
+    height: 300px;
+  }
   .research_bg {
     background-size: cover;
   }

+ 8 - 1
xihuaTemplate/css/style.css

@@ -259,6 +259,7 @@
 }
 .news_lay_box .news_lay_item .list_item img {
   width: 100%;
+  object-fit: cover;
 }
 .news_lay_box .news_lay_item .list_item .cover {
   display: none;
@@ -301,6 +302,7 @@
 .news_lay_box .news_lay_item .list_item .item_date {
   display: block;
   color: #848484;
+  font-size: 12px;
 }
 .news_lay_box .news_lay_item .list_item.news_1 {
   padding-top: 0;
@@ -341,7 +343,6 @@
   color: #848484;
 }
 .news_lay_box .news_lay_item .s_item img {
-  height: 210px;
   width: 100%;
   object-fit: cover;
 }
@@ -792,6 +793,7 @@
   flex: 1;
   height: 160px;
   padding: 16px;
+  overflow: hidden;
 }
 .page_article_list .item_tit {
   width: 100%;
@@ -1135,6 +1137,7 @@
 .content_wrapper {
   flex: 1;
   padding-left: 40px;
+  overflow: hidden;
 }
 .content_wrapper .page_article_box {
   padding: 20px 28px;
@@ -1371,8 +1374,12 @@
 }
 
 .page_teacher_list .item .info_box .more {
+  display: none;
   text-align: right;
 }
+.page_teacher_list .item:hover .info_box .more {
+  display: block;
+}
 .page_teacher_list .item .info_box .more_text {
   color: var(--vt-c-primary);
   cursor: pointer;

+ 1 - 1
xihuaTemplate/listteacher2.htm

@@ -192,7 +192,7 @@
               <ul class="page_teacher_name_list">
                 <!--[InfoCycleBegin]-->
                 <li class="item">
-                  <div class="item_tit"><a>{标题}</a></div>
+                  <div class="item_tit">{标题}</div>
                 </li>
                 <!--[InfoCycleEnd]-->
               </ul>