img.blade.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <div class="row">
  2. <div class="col12 img_gallery">
  3. <ul class="row">
  4. @forelse($postPage['Page'] ?? [] as $i => $post)
  5. <li class="w-100 {{ $post['PcGalleryClass'] }} {{ $post['MoGalleryClass'] }}">
  6. <div class="num">{{ $i + 1 }}</div>
  7. <div class="w-100">
  8. <div class="conts_wrap d-flex justify-content-between">
  9. <div class="conts_box">
  10. <a href="{{ route('dbrbbs.details', [$postCode, $post['C10']]) }}" class="blog-title">
  11. {{ $post['Title'] }}
  12. </a>
  13. <ul class="info">
  14. <li>{{ $post['C9'] }}</li>
  15. <li>{{ $post['C4'] }}</li>
  16. </ul>
  17. <div class="blog-desc" style="cursor: pointer;" onclick="location.href = '{{ route('dbrbbs.details', [$postCode, $post['C10']]) }}'">
  18. {{ $post['C7'] }}
  19. </div>
  20. </div>
  21. <div class="img_box">
  22. <a href="{{ route('dbrbbs.details', [$postCode, $post['C10']]) }}">
  23. <img src="{{ msset($post['C1']) }}" :width="this.galleryWidth" :height="this.galleryHeight"
  24. class="w-md-50" alt="blog">
  25. </a>
  26. </div>
  27. </div>
  28. </div>
  29. </li>
  30. @empty
  31. <li class="pricing_box1 full_width">
  32. 데이터가 존재하지 않습니다
  33. </li>
  34. @endforelse
  35. </ul>
  36. </div>
  37. </div>