|
@@ -387,7 +387,12 @@ class Input
|
|
|
$html = '';
|
|
|
if (isset($param['editor'])) {
|
|
|
$width = '70%';
|
|
|
- $html .= '<div class="layui-col-lg6" style="display:inline;position: absolute;left: 740px;"><div><label style="font-size:14px;font-weight:bold;" class="">'.$param['editor']['name'].'</label></div><div>';
|
|
|
+ if (layadmin()) {
|
|
|
+ $left = '740px';
|
|
|
+ } else {
|
|
|
+ $left = '766px';
|
|
|
+ }
|
|
|
+ $html .= '<div class="layui-col-lg6" style="display:inline;position: absolute;left: '.$left.';"><div><label style="font-size:14px;font-weight:bold;" class="">'.$param['editor']['name'].'</label></div><div>';
|
|
|
|
|
|
foreach ($param['editor']['button'] as $k => $v) {
|
|
|
if (isset($v['type'])) {
|