diff --git a/public/build/beike/shop/default/css/app.css b/public/build/beike/shop/default/css/app.css index 46a1d81a..6c20b694 100644 --- a/public/build/beike/shop/default/css/app.css +++ b/public/build/beike/shop/default/css/app.css @@ -208,6 +208,17 @@ header .header-content .right-btn .nav-link i { font-size: 1.1rem; } +#offcanvas-right-cart .offcanvas-right-products .product-list { + padding: 1rem 0; + border-top: 1px solid #eee; +} +#offcanvas-right-cart .offcanvas-right-products .product-list .left { + width: 100px; + margin-right: 10px; +} +#offcanvas-right-cart .offcanvas-right-products .product-list .left img { + max-height: 100px; +} footer { background: #fafafa; margin-top: 5rem; diff --git a/resources/beike/shop/default/css/header.scss b/resources/beike/shop/default/css/header.scss index b131b5e5..d88a85f8 100644 --- a/resources/beike/shop/default/css/header.scss +++ b/resources/beike/shop/default/css/header.scss @@ -72,4 +72,28 @@ header { } } } +} + +#offcanvas-right-cart { + .offcanvas-right-products { + .product-list { + padding: 1rem 0; + border-top: 1px solid #eee; + + .left { + width: 100px; + margin-right: 10px; + + img { + max-height: 100px; + } + } + + .right { + .name { + + } + } + } + } } \ No newline at end of file diff --git a/themes/default/layout/header.blade.php b/themes/default/layout/header.blade.php index 6b0594bf..1b1513e1 100644 --- a/themes/default/layout/header.blade.php +++ b/themes/default/layout/header.blade.php @@ -77,10 +77,47 @@ + +
+
+
您的购物车
+ +
+
+
+ @for ($i = 0; $i < 20; $i++) +
+
+
+
测试商品名称事实上
+
22.22
+
+ @include('shared.quantity', ['quantity' => '1']) + 删除 +
+
+
+ @endfor +
+
+ +
\ No newline at end of file diff --git a/themes/default/layout/master.blade.php b/themes/default/layout/master.blade.php index de9c708f..67ea432e 100644 --- a/themes/default/layout/master.blade.php +++ b/themes/default/layout/master.blade.php @@ -9,7 +9,7 @@ - + {{-- --}}