newslist.blade.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 style="height: 68px;"></div>
  12. <div id="app">
  13. <!--- 解决方案 --->
  14. <div class="index-about" style="padding-top: 40px;">
  15. <div class="width-1200">
  16. <div class="flex-start">
  17. <div class="about-list">
  18. @foreach ($list as $item)
  19. <div class="about-item">
  20. <div class="i-time">
  21. <a href="{{ url('/news/detail/' . $item->mid) }}">
  22. @if ($item->logo)
  23. <img src="{{ $item->logo }}" class="new-img" />
  24. @else
  25. <img src="/static/images/about-img2.jpg" class="new-img" />
  26. @endif
  27. </a>
  28. </div>
  29. <div class="i-content">
  30. <a href="{{ url('/news/detail/' . $item->mid) }}">
  31. <p class="i-title overflow">{{ $item->title }}</p>
  32. <p class="i-desc more-overflow">{{ $item->introduction }}</p>
  33. </a>
  34. </div>
  35. </div>
  36. @endforeach
  37. </div>
  38. <div class="about-detail">
  39. <div class="about-area">
  40. <div class="about-title">文章分类</div>
  41. @foreach ($category as $item)
  42. <div class="news-item">
  43. <a href="{{ url('/news/category/' . $item->mid) }}"
  44. target="_blank">{{ $item->name }}</a>
  45. </div>
  46. @endforeach
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. @include('home.http.common.footer')
  53. </div>
  54. </body>
  55. </html>