diff --git a/config/view.php b/config/view.php index b5f587a2..d2021f23 100644 --- a/config/view.php +++ b/config/view.php @@ -14,8 +14,7 @@ return [ */ 'paths' => [ - base_path('themes/acme-child'), - base_path('themes/acme'), + base_path('themes/default'), resource_path('views'), ], diff --git a/resources/beike/shop/default/app.scss b/resources/beike/shop/default/app.scss new file mode 100644 index 00000000..e69de29b diff --git a/themes/acme-child/header.blade.php b/themes/acme-child/header.blade.php deleted file mode 100644 index d3d602e6..00000000 --- a/themes/acme-child/header.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -
- Home -
diff --git a/themes/acme/layout/header.blade.php b/themes/acme/layout/header.blade.php deleted file mode 100644 index 4944c8fa..00000000 --- a/themes/acme/layout/header.blade.php +++ /dev/null @@ -1 +0,0 @@ -

parent

diff --git a/themes/acme/category.blade.php b/themes/default/category.blade.php similarity index 100% rename from themes/acme/category.blade.php rename to themes/default/category.blade.php diff --git a/themes/acme/home.blade.php b/themes/default/home.blade.php similarity index 100% rename from themes/acme/home.blade.php rename to themes/default/home.blade.php diff --git a/themes/default/layout/header.blade.php b/themes/default/layout/header.blade.php new file mode 100644 index 00000000..501e51ef --- /dev/null +++ b/themes/default/layout/header.blade.php @@ -0,0 +1,5 @@ +
+
+
+
+
\ No newline at end of file diff --git a/themes/acme/layout/master.blade.php b/themes/default/layout/master.blade.php similarity index 71% rename from themes/acme/layout/master.blade.php rename to themes/default/layout/master.blade.php index 95f3368e..4937efae 100644 --- a/themes/acme/layout/master.blade.php +++ b/themes/default/layout/master.blade.php @@ -4,12 +4,12 @@ - Document - + 首页 + @stack('header') - @include('header') + @include('layout.header') @yield('content') @stack('footer') diff --git a/themes/acme/product.blade.php b/themes/default/product.blade.php similarity index 100% rename from themes/acme/product.blade.php rename to themes/default/product.blade.php