From f362c5ae87042907c2ee18824f6bcedb92f4c18a Mon Sep 17 00:00:00 2001 From: liapples Date: Wed, 8 Sep 2021 16:33:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9extends=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AdminSupplier/Controllers/ProductController.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/AdminSupplier/Controllers/ProductController.php b/app/AdminSupplier/Controllers/ProductController.php index 20d6ab6..d2c9b69 100644 --- a/app/AdminSupplier/Controllers/ProductController.php +++ b/app/AdminSupplier/Controllers/ProductController.php @@ -152,9 +152,9 @@ class ProductController extends AdminController })->value($default); })->when(2, function (Form $form) { //景区 $form->table('extends.field_2.open_time', '开放时间', function (NestedForm $table) { - $table->text('week', '星期')->placeholder('如:周一至周五'); - $table->text('section', '时段')->placeholder('如:上午/下午'); - $table->text('time', '时间')->placeholder('如:08:00~18:00'); + $table->text('node', '节点')->placeholder('如:周一至周五'); + $table->text('summer', '夏季')->placeholder('如:08:00~19:00'); + $table->text('winter', '冬季')->placeholder('如:08:00~18:00'); }); $form->table('extends.field_2.project', '包含项目', function (NestedForm $table) { $table->text('name', '项目名称'); @@ -174,6 +174,8 @@ class ProductController extends AdminController }); }); + $form->map('latitude', 'longitude', '位置'); + if ($form->isEditing()) { $form->confirm('提示', '修改标题、价格、产品图片、旅游须知、产品详情需要重新审核,同时下架所有关联的代理商产品,是否继续?'); }