小程序售后
parent
707df0335f
commit
a4981b7bf6
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
// 数据
|
||||
|
|
|
|||
|
|
@ -377,6 +377,9 @@ button[disabled].bg-primary {
|
|||
/**
|
||||
* 表单图片上传
|
||||
*/
|
||||
form-container-upload {
|
||||
overflow: hidden;
|
||||
}
|
||||
.form-container-upload .form-upload-data .item {
|
||||
padding: 10rpx;
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Reference in New Issue