diff --git a/application/service/OrderAftersaleService.php b/application/service/OrderAftersaleService.php index 967e515abb0aa27accdc2440b2f8bb5c316dae45..ef6ac76a8ac0dd2b5532e121ad1f9d0371475e3a 100644 --- a/application/service/OrderAftersaleService.php +++ b/application/service/OrderAftersaleService.php @@ -121,14 +121,6 @@ class OrderAftersaleService 'checked_data' => '200', 'error_msg' => '退款说明最多 200 个字符', ], - [ - 'checked_type' => 'length', - 'key_name' => 'images', - 'data_type' => 'array', - 'is_checked' => 1, - 'checked_data' => '3', - 'error_msg' => '凭证图片不能超过3张', - ], [ 'checked_type' => 'empty', 'key_name' => 'user', @@ -204,6 +196,10 @@ class OrderAftersaleService { $images[] = ResourcesService::AttachmentPathHandle($v); } + if(count($images) > 3) + { + return DataReturn('凭证图片不能超过3张', -1); + } } // 数据 diff --git a/public/appmini/old/weixin/app.wxss b/public/appmini/old/weixin/app.wxss index 8ade396955944af58c615829493ecae29125055e..32c0205d628968d62648433a6ef3fbd9633bf41b 100755 --- a/public/appmini/old/weixin/app.wxss +++ b/public/appmini/old/weixin/app.wxss @@ -377,6 +377,9 @@ button[disabled].bg-primary { /** * 表单图片上传 */ + form-container-upload { + overflow: hidden; + } .form-container-upload .form-upload-data .item { padding: 10rpx; position: relative;