Jelajahi Sumber

招考详情

linwu 2 hari lalu
induk
melakukan
b9a23af78c
1 mengubah file dengan 5 tambahan dan 6 penghapusan
  1. 5 6
      public/themes/default/views/app/recruit/show.blade.php

+ 5 - 6
public/themes/default/views/app/recruit/show.blade.php

@@ -103,7 +103,7 @@
                 @endif
                 @if($recruit->show_report)
                     <a href="{{ route('recruit.sign_up_count',array('id'=>$recruit->id)) }}" >
-                        <li style="background:#7e6740;float: left;margin-bottom:10px;">报名人数统计</li>
+                        <li style="background:#dd4250;float: left;margin-bottom:10px;">报名人数统计</li>
                     </a>
                 @endif
                 @if($recruit->id == 19)
@@ -137,7 +137,7 @@
                 <!--标题-->
                     <div class="right_notice_title">
                         <b></b>
-                        <span class="tit">最新公告</span>
+                        <span class="tit">考生必看</span>
                     </div>
                     <!--内容-->
                     <div class="right_notice_con">
@@ -145,16 +145,15 @@
                             &nbsp;&nbsp;暂无相关公告
                         @else
                             @foreach($list as $item)
-                                <a href="{{ route('recruit.index.show',array('id'=>$recruit->id,'notice' => $item->id)) }}" target="_blank" rel="nofollow noopener noreferrer">
+                                <a style="display: flex;" href="{{ route('recruit.index.show',array('id'=>$recruit->id,'notice' => $item->id)) }}" target="_blank" rel="nofollow noopener noreferrer">
                                     <div class="ico" style="display:inline-block;vertical-align: middle;height: 30px;">
                                         <b class="yuan"></b>
                                     </div>
                                     <div class="notice_con_right" style="display:inline-block;">
-                                        <span style="display:inline-block;width:156px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;">{{$item->title}}</span>
-                                        <span style="display:inline-block;"
-                                              class="notice_con_right_time">{{substr($item->created_at,0,10) }}</span>
+                                        <span style="display:-webkit-box;width:100%;overflow: hidden;text-overflow:ellipsis;-webkit-box-orient: vertical; -webkit-line-clamp: 2;">{{$item->title}}</span>
                                     </div>
                                 </a>
+                                <div style="text-align: right;">{{substr($item->created_at,0,10) }}</div>
                             @endforeach
                         @endif
                     </div>