diff --git a/resources/beike/admin/views/pages/design/builder/index.blade.php b/resources/beike/admin/views/pages/design/builder/index.blade.php index 058294d2..a1298af7 100644 --- a/resources/beike/admin/views/pages/design/builder/index.blade.php +++ b/resources/beike/admin/views/pages/design/builder/index.blade.php @@ -168,8 +168,7 @@ } $http.post('design/builder/preview?design=1', _data, {hload: true}).then((res) => { - console.log(res) - // $(previewWindow.document).find('#module-' + data.module_id).replaceWith(res); + $(previewWindow.document).find('.modules-box').append(res); }) }, diff --git a/themes/default/design/image401.blade.php b/themes/default/design/image401.blade.php index 73759482..e282e581 100644 --- a/themes/default/design/image401.blade.php +++ b/themes/default/design/image401.blade.php @@ -1,28 +1,27 @@ -
-
-
+
+ @if ($design) +
+
+
+
+
+
+
+
+ @endif + +
+
- - - - -
-
+
\ No newline at end of file diff --git a/themes/default/design/slideshow.blade.php b/themes/default/design/slideshow.blade.php index f4b2dc90..8de59c9c 100644 --- a/themes/default/design/slideshow.blade.php +++ b/themes/default/design/slideshow.blade.php @@ -14,7 +14,7 @@
@endif -
+
@foreach($content['images'] as $image) diff --git a/themes/default/home.blade.php b/themes/default/home.blade.php index df177d09..51c175e4 100644 --- a/themes/default/home.blade.php +++ b/themes/default/home.blade.php @@ -2,10 +2,10 @@ @section('body-class', 'page-home') @section('content') - - @foreach($modules as $module) - @include($module['view_path'], $module) - @endforeach - +
+ @foreach($modules as $module) + @include($module['view_path'], $module) + @endforeach +
@endsection diff --git a/themes/default/layout/header.blade.php b/themes/default/layout/header.blade.php index d63ee03e..a018db76 100644 --- a/themes/default/layout/header.blade.php +++ b/themes/default/layout/header.blade.php @@ -87,38 +87,38 @@
- - -
-
-
您的购物车
- -
-
-
-{{-- @for ($i = 0; $i < 20; $i++) -
-
-
-
测试商品名称事实上
-
22.22
-
- @include('shared.quantity', ['quantity' => '1']) - 删除 +
+
+
您的购物车
+ +
+
+
+ {{-- @for ($i = 0; $i < 20; $i++) +
+
+
+
测试商品名称事实上
+
22.22
+
+ @include('shared.quantity', ['quantity' => '1']) + 删除 +
-
- @endfor --}} + @endfor --}} +
+
+
- -
+ +