Bläddra i källkod

视频适应手机

moshaorui 6 dagar sedan
förälder
incheckning
510a576688
2 ändrade filer med 5 tillägg och 4 borttagningar
  1. 4 3
      public/static/css/main.css
  2. 1 1
      resources/views/gallery-detail.blade.php

+ 4 - 3
public/static/css/main.css

@@ -1739,7 +1739,7 @@ table.album_table td {
   color: #555;
 }
 table.album_table img {
-    max-height: 200px;
+    /*max-height: 200px;*/
   border-radius: 5px;
 }
 table.album_table button {
@@ -2121,7 +2121,7 @@ video {
         padding: 10px 10px;
     }
 
-    .album_table .void-img{width: 100px;}
+    /*.album_table .void-img{width: 100px;}*/
 
     .grid-album .grid-sizer,
     .grid-album .grid-item {
@@ -2193,7 +2193,8 @@ video {
         float: left;
         min-width:auto;
     }
-    .album_table .void-img{width: 100px;}
+    /*.album_table .void-img{width: 100px;}*/
+
 
     .grid-album .grid-sizer,
     .grid-album .grid-item {

+ 1 - 1
resources/views/gallery-detail.blade.php

@@ -126,7 +126,7 @@
                                 @foreach($content as $item)
                                 <tr>
                                     <td class="video-hover-container">
-                                        <a href="{{ossUrl($item['cover'])}}" target="_blank">
+                                        <a href="javascript:void(0)" style="display: inline-block;">
                                             <img src="{{ossUrl($item['cover'])}}?x-oss-process=image/resize,w_260" class="void-img" data-index="{{$loop->index}}" data-preview="{{ossUrl($item['preview_url'])}}" data-poster="{{ossUrl($item['cover'])}}?x-oss-process=image/resize,w_260">
                                         </a>
                                     </td>