|
@@ -6,7 +6,7 @@
|
|
|
@include('home.http.common.head')
|
|
@include('home.http.common.head')
|
|
|
<link href="/static/ebook/ebook.css" rel="stylesheet" type="text/css">
|
|
<link href="/static/ebook/ebook.css" rel="stylesheet" type="text/css">
|
|
|
<style>
|
|
<style>
|
|
|
- .head{
|
|
|
|
|
|
|
+ .head {
|
|
|
background: none;
|
|
background: none;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
@@ -28,26 +28,30 @@
|
|
|
<div class="name">常见问题-使用技巧</div>
|
|
<div class="name">常见问题-使用技巧</div>
|
|
|
</div>
|
|
</div>
|
|
|
@foreach ($data as $item)
|
|
@foreach ($data as $item)
|
|
|
- @if($item['product'] ->id !== 12 && $item['product'] ->id !== 13 && $item['product'] ->id !== 17)
|
|
|
|
|
- <div class="flex-between qa-item">
|
|
|
|
|
- <div class="qa-soft flex-start">
|
|
|
|
|
- <img src="{{ $item['product']->logo }}" class="qa-soft-img" />
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="qa-title">{{ $item['category']->name }}</div>
|
|
|
|
|
- <a href="{{ '/news/category/' . $item['category']->mid }}">
|
|
|
|
|
- <div class="qa-more">查看全部</div>
|
|
|
|
|
- </a>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="qa-list flex-between">
|
|
|
|
|
- @foreach ($item['news'] as $key => $row)
|
|
|
|
|
- <div class="question-item overflow">
|
|
|
|
|
- <a
|
|
|
|
|
- href="{{ '/news/detail/' . $row->mid }}">{{ $key + 1 }}、{{ $row->title }}</a>
|
|
|
|
|
|
|
+ @if (
|
|
|
|
|
+ $item['product']->id !== 12 &&
|
|
|
|
|
+ $item['product']->id !== 13 &&
|
|
|
|
|
+ $item['product']->id !== 17 &&
|
|
|
|
|
+ $item['product']->id !== 18)
|
|
|
|
|
+ <div class="flex-between qa-item">
|
|
|
|
|
+ <div class="qa-soft flex-start">
|
|
|
|
|
+ <img src="{{ $item['product']->logo }}" class="qa-soft-img" />
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div class="qa-title">{{ $item['category']->name }}</div>
|
|
|
|
|
+ <a href="{{ '/news/category/' . $item['category']->mid }}">
|
|
|
|
|
+ <div class="qa-more">查看全部</div>
|
|
|
|
|
+ </a>
|
|
|
</div>
|
|
</div>
|
|
|
- @endforeach
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="qa-list flex-between">
|
|
|
|
|
+ @foreach ($item['news'] as $key => $row)
|
|
|
|
|
+ <div class="question-item overflow">
|
|
|
|
|
+ <a
|
|
|
|
|
+ href="{{ '/news/detail/' . $row->mid }}">{{ $key + 1 }}、{{ $row->title }}</a>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ @endforeach
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
@endif
|
|
@endif
|
|
|
@endforeach
|
|
@endforeach
|
|
|
</div>
|
|
</div>
|
|
@@ -55,16 +59,16 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
@include('home.http.common.footer')
|
|
@include('home.http.common.footer')
|
|
|
-<script>
|
|
|
|
|
- new Swiper('.swiper-container', {
|
|
|
|
|
- loop: true,
|
|
|
|
|
- // 如果需要分页器
|
|
|
|
|
- navigation: {
|
|
|
|
|
- nextEl: ".swiper-button-next",
|
|
|
|
|
- prevEl: ".swiper-button-prev",
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
-</script>
|
|
|
|
|
|
|
+ <script>
|
|
|
|
|
+ new Swiper('.swiper-container', {
|
|
|
|
|
+ loop: true,
|
|
|
|
|
+ // 如果需要分页器
|
|
|
|
|
+ navigation: {
|
|
|
|
|
+ nextEl: ".swiper-button-next",
|
|
|
|
|
+ prevEl: ".swiper-button-prev",
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ </script>
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
</html>
|