@@ -210,7 +210,7 @@ public function input(string $name = '', string $type = 'text',array $options =
210
210
$ disorread = $ this ->readonlyOrdisabled ($ options );
211
211
if ($ type == 'hidden ' ) {
212
212
return <<<EOF
213
- <input type=" {$ type }" {$ this ->getDataPropAttr ($ name ,$ value ,$ options )} autocomplete="off" class="layui-input { $ this ->getClass ( $ options)} {$ disorread }/>;
213
+ <input type=" {$ type }" {$ this ->getDataPropAttr ($ name ,$ value ,$ options )} autocomplete="off" class="layui-input { $ this ->getClass ( $ options)} {$ disorread }/>
214
214
EOF ;
215
215
}
216
216
$ str = <<<EOF
@@ -1055,7 +1055,7 @@ public function upload($name = 'avatar', $options = [], $value = '')
1055
1055
break ;
1056
1056
case 'images ' :
1057
1057
$ li .= <<<EOF
1058
- <li><img lay-event="photos" class="layui-upload-img fl" width="150" src=" {$ v }"></img> <i class="layui-icon layui-icon-close" lay-event="filedelete" data-fileurl=" {$ v }"></i></li>;
1058
+ <li><img lay-event="photos" class="layui-upload-img fl" width="150" src=" {$ v }"></img> <i class="layui-icon layui-icon-close" lay-event="filedelete" data-fileurl=" {$ v }"></i></li>
1059
1059
EOF ;
1060
1060
break ;
1061
1061
case 'image ' :
@@ -1070,7 +1070,7 @@ public function upload($name = 'avatar', $options = [], $value = '')
1070
1070
break ;
1071
1071
case 'office ' :
1072
1072
$ li .= <<<EOF
1073
- <li><img lay-event="" class="layui-upload-img fl" width="150" src="/static/backend/images/filetype/office.jpg"></img> <i class="layui-icon layui-icon-close" lay-event="filedelete" data-fileurl=" {$ v }"></i></li>;
1073
+ <li><img lay-event="" class="layui-upload-img fl" width="150" src="/static/backend/images/filetype/office.jpg"></img> <i class="layui-icon layui-icon-close" lay-event="filedelete" data-fileurl=" {$ v }"></i></li>
1074
1074
EOF ;
1075
1075
break ;
1076
1076
default :
@@ -1103,7 +1103,7 @@ public function upload($name = 'avatar', $options = [], $value = '')
1103
1103
$ options ['select ' ] = $ options ['select ' ] ?? 'upload-select ' ; //可选upload-choose
1104
1104
$ css .= 'width:53%!important; ' ;
1105
1105
$ select_container = <<<EOF
1106
- <button id="select- {$ id }" type="button" class="layui-btn layui-btn-danger {$ options ['select ' ]}" lay-filter=" {$ options ['select ' ]}"><i class="layui-icon layui-icon-radio"></i> {$ this ->__ ('Choose ' )}</button>;
1106
+ <button id="select- {$ id }" type="button" class="layui-btn layui-btn-danger {$ options ['select ' ]}" lay-filter=" {$ options ['select ' ]}"><i class="layui-icon layui-icon-radio"></i> {$ this ->__ ('Choose ' )}</button>
1107
1107
EOF ;
1108
1108
}
1109
1109
$ label = $ this ->label ($ name ,$ options ) ;
@@ -1244,7 +1244,6 @@ protected function tips($options = [])
1244
1244
$ tips = <<<EOF
1245
1245
<div class="layui-form-mid layui-word-aux"> {$ this ->__ ($ options ['tips ' ])} </div>
1246
1246
EOF ;
1247
- ;
1248
1247
}
1249
1248
return $ tips ;
1250
1249
}
0 commit comments