:::

5-1-6 resources\views\product\show.blade.php

@extends('layouts.app') 
@section('title', $product->title) 
@section('content')
    <div class="card">
        <div class="card-body product-info">
            <div class="row">
                <div class="col-sm-5">
                    <img class="img-fluid" src="{{ $product->image_url }}" alt="{{ $product->title }}">
                </div>
                <div class="col-sm-7">
                    <div class="h2">{{ $product->title }}</div>
                    <div class="h3">特價 {{ $product->price }}元</div>
                    <div class="input-group mb-3">
                        <div class="input-group-prepend">
                            <span class="input-group-text">數量</span>
                        </div>
                        <input type="text" class="form-control input-sm" value="1">
                        <div class="input-group-append">
                            <span class="input-group-text">件</span>
                        </div>
                        <div class="input-group-append">
                            <button class="btn btn-primary btn-add-to-cart">加入購物車</button>
                        </div>
                    </div>                        
                    {!! $product->description !!}
                </div>
            </div>
        </div>
    </div>
@endsection

 


:::

書籍目錄

展開 | 闔起

https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D44%26tbdsn%3D1488

計數器

今天: 359359359
昨天: 2359235923592359
總計: 7977457797745779774577977457797745779774577977457