help.blade.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>帮助中心-星优办公软件</title>
  5. @include('home.http.common.head')
  6. <link href="/static/ebook/ebook.css" rel="stylesheet" type="text/css">
  7. <style>
  8. .head {
  9. background: none;
  10. }
  11. </style>
  12. </head>
  13. <body>
  14. <div class="header">
  15. @include('home.http.common.header')
  16. </div>
  17. <div style="height: 68px;"></div>
  18. @include('home.http.common.banner')
  19. <div class="container">
  20. <!--- 解决方案 --->
  21. <div class="index-about">
  22. <div class="width-1200">
  23. <div class="index-title">
  24. <div class="name">常见问题-使用技巧</div>
  25. </div>
  26. @foreach ($data as $item)
  27. @if (
  28. $item['product']->id !== 12 &&
  29. $item['product']->id !== 13 &&
  30. $item['product']->id !== 17 &&
  31. $item['product']->id !== 18)
  32. <div class="flex-between qa-item">
  33. <div class="qa-soft flex-start">
  34. <img src="{{ $item['product']->logo }}" class="qa-soft-img" />
  35. <div>
  36. <div class="qa-title">{{ $item['category']->name }}</div>
  37. <a href="{{ '/news/category/' . $item['category']->mid }}">
  38. <div class="qa-more">查看全部</div>
  39. </a>
  40. </div>
  41. </div>
  42. <div class="qa-list flex-between">
  43. @foreach ($item['news'] as $key => $row)
  44. <div class="question-item overflow">
  45. <a
  46. href="{{ '/news/detail/' . $row->mid }}">{{ $key + 1 }}、{{ $row->title }}</a>
  47. </div>
  48. @endforeach
  49. </div>
  50. </div>
  51. @endif
  52. @endforeach
  53. </div>
  54. </div>
  55. </div>
  56. @include('home.http.common.footer')
  57. <script>
  58. new Swiper('.swiper-container', {
  59. loop: true,
  60. // 如果需要分页器
  61. navigation: {
  62. nextEl: ".swiper-button-next",
  63. prevEl: ".swiper-button-prev",
  64. }
  65. })
  66. </script>
  67. </body>
  68. </html>