help2.blade.php 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. $item['product']->id > 18)
  33. <div class="flex-between qa-item">
  34. <div class="qa-soft flex-start">
  35. <img src="{{ $item['product']->logo }}" class="qa-soft-img" />
  36. <div>
  37. <div class="qa-title">{{ $item['category']->name }}</div>
  38. <a href="{{ '/news/category/' . $item['category']->mid }}">
  39. <div class="qa-more">查看全部</div>
  40. </a>
  41. </div>
  42. </div>
  43. <div class="qa-list flex-between">
  44. @foreach ($item['news'] as $key => $row)
  45. <div class="question-item overflow">
  46. <a
  47. href="{{ '/news/detail/' . $row->mid }}">{{ $key + 1 }}、{{ $row->title }}</a>
  48. </div>
  49. @endforeach
  50. </div>
  51. </div>
  52. @endif
  53. @endforeach
  54. </div>
  55. </div>
  56. </div>
  57. @include('home.http.common.footer')
  58. <script>
  59. new Swiper('.swiper-container', {
  60. loop: true,
  61. // 如果需要分页器
  62. navigation: {
  63. nextEl: ".swiper-button-next",
  64. prevEl: ".swiper-button-prev",
  65. }
  66. })
  67. </script>
  68. </body>
  69. </html>