fixed product description https://guangdagit.com/beike/beikeshop/issues/89
This commit is contained in:
parent
a9e2d920f1
commit
a91e403350
|
|
@ -24,7 +24,7 @@ class ProductDetail extends JsonResource
|
|||
return [
|
||||
'id' => $this->id,
|
||||
'name' => $this->description->name ?? '',
|
||||
'description' => $this->description->description ?? '',
|
||||
'description' => $this->description->content ?? '',
|
||||
'images' => array_map(function ($image) {
|
||||
return [
|
||||
'preview' => image_resize($image, 500, 500),
|
||||
|
|
|
|||
|
|
@ -115,7 +115,9 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="product-description" role="tabpanel" aria-labelledby="pills-home-tab">111</div>
|
||||
<div class="tab-pane fade show active" id="product-description" role="tabpanel" aria-labelledby="pills-home-tab">
|
||||
{!! $product['description'] !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue