| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  | @foreach($images as $index => $image) | 
					
						
							|  |  |  | <div> | 
					
						
							|  |  |  |     <div component="event-emit-select" | 
					
						
							|  |  |  |          option:event-emit-select:name="image" | 
					
						
							|  |  |  |          option:event-emit-select:data="{{ json_encode($image) }}" | 
					
						
							| 
									
										
										
										
											2023-01-29 00:06:11 +08:00
										 |  |  |          class="image anim fadeIn text-link" | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  |          style="animation-delay: {{ $index > 26 ? '160ms' : ($index * 25) . 'ms' }};"> | 
					
						
							|  |  |  |         <img src="{{ $image->thumbs['gallery'] }}" | 
					
						
							|  |  |  |              alt="{{ $image->name }}" | 
					
						
							|  |  |  |              width="150" | 
					
						
							|  |  |  |              height="150" | 
					
						
							|  |  |  |              loading="lazy" | 
					
						
							|  |  |  |              title="{{ $image->name }}"> | 
					
						
							|  |  |  |         <div class="image-meta"> | 
					
						
							|  |  |  |             <span class="name">{{ $image->name }}</span> | 
					
						
							|  |  |  |             <span class="date">{{ trans('components.image_uploaded', ['uploadedDate' => $image->created_at->format('Y-m-d H:i:s')]) }}</span> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | @endforeach | 
					
						
							|  |  |  | @if($hasMore) | 
					
						
							| 
									
										
										
										
											2023-04-26 21:23:28 +08:00
										 |  |  |     <div class="load-more"> | 
					
						
							|  |  |  |         <button type="button" class="button small outline">{{ trans('components.image_load_more') }}</button> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2020-07-25 07:20:58 +08:00
										 |  |  | @endif |