page builder
This commit is contained in:
parent
5b30a4b4ab
commit
4db5fe57ec
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Beike\Shop\Http\Controllers;
|
||||||
|
|
||||||
|
use Beike\Models\Category;
|
||||||
|
use Beike\Repositories\CategoryRepo;
|
||||||
|
use Beike\Repositories\ProductRepo;
|
||||||
|
use Beike\Shop\Http\Resources\ProductList;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class DesignController extends Controller
|
||||||
|
{
|
||||||
|
public function index(Request $request)
|
||||||
|
{
|
||||||
|
|
||||||
|
$data = [];
|
||||||
|
return view('design.builder.index', $data);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -17,6 +17,8 @@ use Beike\Shop\Http\Controllers\Account\LogoutController;
|
||||||
use Beike\Shop\Http\Controllers\Account\AccountController;
|
use Beike\Shop\Http\Controllers\Account\AccountController;
|
||||||
use Beike\Shop\Http\Controllers\Account\RegisterController;
|
use Beike\Shop\Http\Controllers\Account\RegisterController;
|
||||||
|
|
||||||
|
use Beike\Shop\Http\Controllers\DesignController;
|
||||||
|
|
||||||
|
|
||||||
Route::prefix('/')
|
Route::prefix('/')
|
||||||
->name('shop.')
|
->name('shop.')
|
||||||
|
|
@ -69,4 +71,5 @@ Route::prefix('/')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Route::get('design/builder', [DesignController::class, 'index'])->name('design.index');
|
||||||
Route::get('/{url_key}', [PagesController::class, 'show'])->name('pages.show');
|
Route::get('/{url_key}', [PagesController::class, 'show'])->name('pages.show');
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@
|
||||||
form: {
|
form: {
|
||||||
name: '',
|
name: '',
|
||||||
phone: '',
|
phone: '',
|
||||||
country_id: @json(setting('country_id')) * 1,
|
country_id: @json((int)setting('system.country_id')),
|
||||||
zipcode: '',
|
zipcode: '',
|
||||||
zone_id: '',
|
zone_id: '',
|
||||||
city_id: '',
|
city_id: '',
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
11111
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
显示 text
|
||||||
Loading…
Reference in New Issue