熊好看书馆 | Ted Bookstore
@if(isset($hottestItem->first()->product_uid))

全书库最畅销书籍

{{ $hottestItem->first()->title }} @else

全书库最畅销书籍

@endif
@if(isset($hottestItem->first()->product_uid)) img @endif

最多点评书籍

{{ $mostReview->first()->getOneDetail->first()->title }}
img

@if(isset($saleBook->product_uid)) 优惠书籍 @else 优惠书籍 @endif

@if(isset($saleBook->title)) {{ $saleBook->title }} @else 暂无优惠书籍 @endif
@if(isset($saleBook->product_uid)) img @endif

@if(isset($newBook->product_uid)) 新书上架 @else 新书上架 @endif

@if(isset($newBook->title)) {{ $newBook->title }} @else 暂无新书上架 @endif
@if(isset($newBook->product_uid)) img @endif

@if(isset($recommendBook->product_uid)) 店长推荐书籍 @else 店长推荐书籍 @endif

@if(isset($recommendBook->title)) {{ $recommendBook->title }} @else 暂无推荐书籍 @endif
@if(isset($recommendBook->title)) img @endif
@for($i = 0; $i < sizeof($category); $i++) @if($i == 0)
@else
@endif
    @php $count = 0; @endphp @foreach($product->where('category', $category[$i]->uid) as $row) @if($count < 8)
  • @auth @if($wishlist->where('product_id', $row->product_uid)->count() == 0) @else @endif @else @endauth polo shirt img
    @if($row->getOneDetail->first()->in_stock == 0 && $row->getOneDetail->first()->rental_instock == 0)
    没货了
    @elseif($row->getOneDetail->first()->rental_instock == 0)
    购买
    @elseif($row->getOneDetail->first()->in_stock == 0)
    租借
    @else
    租借
    购买
    @endif

    {{ $row->title }}

    @money($row->ori_price) @if($row->price != '') @money($row->price) @endif
    @if($row->badge == 1) HOT! @elseif($row->badge == 2) SALE! @elseif($row->badge == 3) Sold Out! @endif
  • @include('interface.quickview') @php $count++; @endphp @endif @endforeach
查看这类型所有书籍
@endfor
fashion banner img
fashion banner img

推荐书籍列表

@for($i = 0; $i < 10; $i++) @if($i%2 == 0 && isset($recommendProduct[$i]))
Responsive image
{!! $recommendProduct[$i]->title !!} 作者 : {{ $recommendProduct[$i]->getOneDetail()->first()->author }}

{{ Str::limit($recommendProduct[$i]->getOneDetail()->first()->description) }}

Responsive image
{!! $recommendProduct[$i+1]->title !!} 作者 : {{ $recommendProduct[$i+1]->getOneDetail()->first()->author }}

{{ Str::limit($recommendProduct[$i+1]->getOneDetail()->first()->description) }}

@endif @endfor