newslist.blade.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>文章教程-帮助中心-星优办公软件</title>
  5. @include('home.http.common.head')
  6. </head>
  7. <body>
  8. <div class="header">
  9. @include('home.http.common.header')
  10. </div>
  11. <div id="app">
  12. <!--- 解决方案 --->
  13. <div class="index-about" style="padding-top: 40px;">
  14. <div class="width-1200">
  15. <div class="flex-start">
  16. <div class="about-list">
  17. @foreach ($list as $item)
  18. <div class="about-item">
  19. <div class="i-time">
  20. <a href="{{ url('/news/detail/' . $item->mid) }}">
  21. @if ($item->logo)
  22. <img src="{{ $item->logo }}" class="new-img" />
  23. @else
  24. <img src="/static/images/30.png" class="new-img" />
  25. @endif
  26. </a>
  27. </div>
  28. <div class="i-content">
  29. <a href="{{ url('/news/detail/' . $item->mid) }}">
  30. <p class="i-title overflow">{{ $item->title }}</p>
  31. <p class="i-desc more-overflow">{{ $item->introduction }}</p>
  32. </a>
  33. </div>
  34. </div>
  35. @endforeach
  36. </div>
  37. <div class="about-detail">
  38. <div class="about-area">
  39. <div class="about-title">栏目分类</div>
  40. @foreach ($category as $item)
  41. <div class="news-item">
  42. <a href="{{ url('/news/category/' . $item->mid) }}"
  43. target="_blank">{{ $item->name }}</a>
  44. </div>
  45. @endforeach
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. @include('home.http.common.footer')
  52. </div>
  53. </body>
  54. </html>