master
wangxinglong 2022-02-08 17:27:48 +08:00
parent f84ecb5b90
commit eb2a8145f6
3 changed files with 8 additions and 8 deletions

View File

@ -226,7 +226,7 @@ class Business extends Base
'state|审核状态' => 'require|in:0,1,2',
'enable|启用状态' => 'require|in:0,1',
'type|分类' => 'require|number',
'characteristic|特色' => 'max:100',
//'characteristic|特色' => 'max:100',
'intro|介绍' => 'require',
'business_circle_id|商圈' => 'require',
'background|背景图' => 'require',

View File

@ -21,7 +21,7 @@ class BusinessValidate extends Validate
'county|所属区县' => 'require',
'business_address|商家地址' => 'require|length:1,250',
'characteristic|商家特色' => 'length:0,250',
//'characteristic|商家特色' => 'length:0,250',
'background|商家背景图' => 'require|length:0,250',
'business_circle_id|所属商圈' => 'egt:0',

View File

@ -134,12 +134,12 @@
</div>
<div class="layui-form-item">
<label class="layui-form-label required">特色</label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="characteristic">{$item['characteristic']}</textarea>
</div>
</div>
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label required">特 色</label>-->
<!-- <div class="layui-input-block">-->
<!-- <textarea class="layui-textarea" name="characteristic">{ $item['characteristic']}</textarea>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-item">
<label class="layui-form-label required">介绍</label>
<div class="layui-input-block">